2023-05-22 20:19:21 +03:00
|
|
|
set(BAN_SOURCES
|
2024-03-04 11:41:54 +02:00
|
|
|
BAN/Assert.cpp
|
2023-05-22 20:19:21 +03:00
|
|
|
BAN/New.cpp
|
|
|
|
BAN/StringView.cpp
|
|
|
|
BAN/Time.cpp
|
|
|
|
)
|
|
|
|
|
|
|
|
add_library(ban ${BAN_SOURCES})
|
2024-09-05 12:52:25 +03:00
|
|
|
target_link_options(ban PRIVATE -nolibc)
|
2024-06-19 04:20:23 +03:00
|
|
|
banan_link_library(ban libc)
|
2023-05-22 20:19:21 +03:00
|
|
|
|
2024-09-05 12:52:25 +03:00
|
|
|
set_target_properties(ban PROPERTIES OUTPUT_NAME libban)
|
|
|
|
|
2024-06-19 04:20:23 +03:00
|
|
|
banan_install_headers(ban)
|
2024-06-20 14:32:05 +03:00
|
|
|
install(TARGETS ban OPTIONAL)
|