aboutsummaryrefslogtreecommitdiffstats
path: root/nihil.ucl/tests/CMakeLists.txt
blob: 2c4ec5d3b8de19f569ee02504f9ab5dbfa7bf888 (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
# 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
	real.cc
	string.cc
)

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

find_package(Catch2 REQUIRED)

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