diff options
author | Loek Le Blansch <loek@pipeframe.xyz> | 2024-06-09 10:05:07 +0200 |
---|---|---|
committer | Loek Le Blansch <loek@pipeframe.xyz> | 2024-06-09 10:05:07 +0200 |
commit | 228f50b8cb0e2bbd579cc8ae4f0a08e6d34af66e (patch) | |
tree | 1873be08f551dab1251331865d2754b28c43978f /lib | |
parent | feaa43f37c01cf832fed17572d915e5709231893 (diff) |
mini cleanup
Diffstat (limited to 'lib')
-rw-r--r-- | lib/i2ctcp/CMakeLists.txt | 4 | ||||
l--------- | lib/i2ctcp/lib | 1 | ||||
-rw-r--r-- | lib/pbdrv/CMakeLists.txt | 2 | ||||
l--------- | lib/pbdrv/lib | 1 |
4 files changed, 5 insertions, 3 deletions
diff --git a/lib/i2ctcp/CMakeLists.txt b/lib/i2ctcp/CMakeLists.txt index b47b1d7..956dcf7 100644 --- a/lib/i2ctcp/CMakeLists.txt +++ b/lib/i2ctcp/CMakeLists.txt @@ -6,9 +6,9 @@ set(CMAKE_EXPORT_COMPILE_COMMANDS 1) project(i2ctcp C CXX) -add_subdirectory(../mpack ${CMAKE_CURRENT_BINARY_DIR}/mpack) +add_subdirectory(lib/mpack) -add_library(i2ctcp STATIC ./i2ctcpv1.c) +add_library(i2ctcp STATIC i2ctcpv1.c) target_link_libraries(i2ctcp mpack) target_include_directories(i2ctcp SYSTEM INTERFACE .) diff --git a/lib/i2ctcp/lib b/lib/i2ctcp/lib new file mode 120000 index 0000000..58677dd --- /dev/null +++ b/lib/i2ctcp/lib @@ -0,0 +1 @@ +../../lib
\ No newline at end of file diff --git a/lib/pbdrv/CMakeLists.txt b/lib/pbdrv/CMakeLists.txt index e70cb5b..ca85b2b 100644 --- a/lib/pbdrv/CMakeLists.txt +++ b/lib/pbdrv/CMakeLists.txt @@ -10,7 +10,7 @@ add_compile_definitions(DEBUG) project(pbdrv C CXX) -add_subdirectory(../mpack ${CMAKE_CURRENT_BINARY_DIR}/mpack) +add_subdirectory(lib/mpack) # generic puzzle bus (de)serializer library add_library(pbdrv STATIC pb-read.c pb-write.c) diff --git a/lib/pbdrv/lib b/lib/pbdrv/lib new file mode 120000 index 0000000..58677dd --- /dev/null +++ b/lib/pbdrv/lib @@ -0,0 +1 @@ +../../lib
\ No newline at end of file |