summaryrefslogtreecommitdiff
path: root/src/CMakeLists.txt
diff options
context:
space:
mode:
authorsanine <sanine.not@pm.me>2022-12-10 19:12:31 -0600
committersanine <sanine.not@pm.me>2022-12-10 19:12:31 -0600
commit7c47f23ee92afa07c748700f1de22fd8b8ccf967 (patch)
tree4387add23b932b74c237128c579c4c2c9005262a /src/CMakeLists.txt
parent8bc49efb970ac44f17f6076bb16f1d0e712bd750 (diff)
refactor: remove node.* and util.* and move 3rdparty libs into separate directory
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r--src/CMakeLists.txt16
1 files changed, 3 insertions, 13 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index a82103b..f5055b1 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -1,24 +1,14 @@
project(kalmia)
-target_sources(
- kalmia PUBLIC
- transform.c
- node.c
- util.c
-)
-target_include_directories(kalmia PUBLIC ezxml)
+target_include_directories(kalmia PUBLIC ${CMAKE_CURRENT_LIST_DIR})
target_link_libraries(kalmia ezxml)
-add_subdirectory(${CMAKE_CURRENT_LIST_DIR}/ezxml)
-
if (KALMIA_BUILD_TESTS)
target_sources(
kalmia-tests PUBLIC
test/lily-test.c
test/test.c
-
- transform.test.c
- node.test.c
- util.test.c
)
endif()
+
+add_subdirectory(${CMAKE_CURRENT_LIST_DIR}/transform)