summaryrefslogtreecommitdiff
path: root/app/wlib/mswlib/unittest/CMakeLists.txt
blob: 9bebe2b4e84458c4111ebce5845ccdf8b92db75d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# build unit tests for the xtrkcad Windows library

add_executable(utf8test
	"")

target_sources(utf8test
	PRIVATE	
  		utf8test.c
		../utf8conv.c
)

target_link_libraries(utf8test
	PRIVATE
		xtrkcad-wlib
		${CMOCKA_LIBRARIES}
)

add_test(UTF8ConversionTest utf8test)

set_target_properties(
	utf8test 
 	PROPERTIES FOLDER UnitTests
 )