aboutsummaryrefslogtreecommitdiffstats
path: root/nihil.ucl/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'nihil.ucl/CMakeLists.txt')
-rw-r--r--nihil.ucl/CMakeLists.txt17
1 files changed, 15 insertions, 2 deletions
diff --git a/nihil.ucl/CMakeLists.txt b/nihil.ucl/CMakeLists.txt
index cb051a3..0ee024c 100644
--- a/nihil.ucl/CMakeLists.txt
+++ b/nihil.ucl/CMakeLists.txt
@@ -4,8 +4,9 @@ pkg_check_modules(LIBUCL REQUIRED libucl)
add_library(nihil.ucl STATIC)
target_link_libraries(nihil.ucl PUBLIC nihil)
-target_sources(nihil.ucl PUBLIC
- FILE_SET modules TYPE CXX_MODULES FILES
+
+target_sources(nihil.ucl
+ PUBLIC FILE_SET modules TYPE CXX_MODULES FILES
nihil.ucl.ccm
emit.ccm
error.ccm
@@ -20,6 +21,18 @@ target_sources(nihil.ucl PUBLIC
map.ccm
real.ccm
string.ccm
+
+ PRIVATE
+ emit.cc
+ error.cc
+ parser.cc
+ type.cc
+
+ object.cc
+ boolean.cc
+ integer.cc
+ real.cc
+ string.cc
)
target_compile_options(nihil.ucl PUBLIC ${LIBUCL_CFLAGS_OTHER})