aboutsummaryrefslogtreecommitdiffstats
path: root/nihil.config/CMakeLists.txt
blob: fb2c1db805740354de24f08734ea722312217a6c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# This source code is released into the public domain.

add_library(nihil.config STATIC)
target_link_libraries(nihil.config PUBLIC nihil nihil.ucl)
target_sources(nihil.config
	PUBLIC FILE_SET modules TYPE CXX_MODULES FILES
	nihil.config.ccm
	read.ccm
	store.ccm
	write.ccm

	option.ccm
	string.ccm

	PRIVATE
	option.cc
	read.cc
	store.cc
	string.cc
	write.cc
)

if(NIHIL_TESTS)
	add_subdirectory(tests)
	enable_testing()
endif()