mirror of
https://github.com/Tilo-K/sea-flags.git
synced 2026-01-10 07:51:01 +00:00
inital
This commit is contained in:
23
CMakeLists.txt
Normal file
23
CMakeLists.txt
Normal file
@@ -0,0 +1,23 @@
|
||||
cmake_minimum_required(VERSION 3.16)
|
||||
project(SeaFlags LANGUAGES CXX C)
|
||||
|
||||
enable_testing()
|
||||
add_subdirectory(tests)
|
||||
|
||||
add_library(SeaFlags STATIC
|
||||
src/seaflags.c
|
||||
)
|
||||
|
||||
target_include_directories(SeaFlags
|
||||
PUBLIC
|
||||
"$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>"
|
||||
"$<INSTALL_INTERFACE:include>"
|
||||
)
|
||||
|
||||
install(TARGETS SeaFlags
|
||||
ARCHIVE DESTINATION lib
|
||||
)
|
||||
|
||||
install(DIRECTORY include/
|
||||
DESTINATION include
|
||||
)
|
||||
Reference in New Issue
Block a user