diff options
author | Loek Le Blansch <loek@pipeframe.xyz> | 2024-06-05 16:32:46 +0200 |
---|---|---|
committer | Loek Le Blansch <loek@pipeframe.xyz> | 2024-06-05 16:32:46 +0200 |
commit | d9093e3245f9619850cea391adcad1a12164d38e (patch) | |
tree | a28c8acd5735de423ee142afe29d218df23b873e /lib/i2ctcp/CMakeLists.txt | |
parent | 36a8f66aeee73e82f28b040ca304e55034f05644 (diff) |
the large library cleanup
Diffstat (limited to 'lib/i2ctcp/CMakeLists.txt')
-rw-r--r-- | lib/i2ctcp/CMakeLists.txt | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/lib/i2ctcp/CMakeLists.txt b/lib/i2ctcp/CMakeLists.txt new file mode 100644 index 0000000..b47b1d7 --- /dev/null +++ b/lib/i2ctcp/CMakeLists.txt @@ -0,0 +1,14 @@ +cmake_minimum_required(VERSION 3.29) + +set(CMAKE_C_STANDARD 11) +set(CMAKE_CXX_STANDARD 17) +set(CMAKE_EXPORT_COMPILE_COMMANDS 1) + +project(i2ctcp C CXX) + +add_subdirectory(../mpack ${CMAKE_CURRENT_BINARY_DIR}/mpack) + +add_library(i2ctcp STATIC ./i2ctcpv1.c) +target_link_libraries(i2ctcp mpack) +target_include_directories(i2ctcp SYSTEM INTERFACE .) + |