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

add_executable(nihil.ucl.test
	emit.cc
	parse.cc

	object.cc
	array.cc
	boolean.cc
	integer.cc
	map.cc
	real.cc
	string.cc
)

target_link_libraries(nihil.ucl.test PRIVATE nihil.ucl Catch2::Catch2WithMain)

find_package(Catch2 REQUIRED)

include(CTest)
include(Catch)
catch_discover_tests(nihil.ucl.test)