CMakeLists.txt 1.07 KB
Newer Older
Jonas Stienen's avatar
Jonas Stienen committed
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
27
28
29
30
31
32
33
34
35
36
37
38
39
cmake_minimum_required( VERSION 2.8 )

if( NOT ITACTC_COMMON_BUILD )

	project( ITACTCTest )
	list( APPEND CMAKE_MODULE_PATH "$ENV{VISTA_CMAKE_COMMON}" )
	include( VistaCommon )
	
endif()

vista_use_package( ITABase REQUIRED FIND_DEPENDENCIES )
vista_use_package( ITACTC REQUIRED FIND_DEPENDENCIES )


add_definitions( -DITA_BASE_DLL -DITA_CTC_DLL )

if( ITA_CTC_WITH_N_CTC )

	add_executable( NCTC_CTCFilterTest NCTC_CTCFilterTest.cpp )
	target_link_libraries( NCTC_CTCFilterTest ${VISTA_USE_PACKAGE_LIBRARIES} )

	vista_configure_app( NCTC_CTCFilterTest )
	vista_install( NCTC_CTCFilterTest )
	vista_create_default_info_file( NCTC_CTCFilterTest )

	set_property( TARGET NCTC_CTCFilterTest PROPERTY FOLDER "ITATests/ITACTC" )
	

	#add_executable( NCTC_OnlineTest NCTC_OnlineTest.cpp )
	#target_link_libraries( NCTC_OnlineTest ${VISTA_USE_PACKAGE_LIBRARIES} )

	#vista_configure_app( NCTC_OnlineTest )
	#vista_install( NCTC_OnlineTest )
	#vista_create_default_info_file( NCTC_OnlineTest )

	#set_property( TARGET NCTC_OnlineTest PROPERTY FOLDER "ITATests/ITACTC" )

endif( ITA_CTC_WITH_N_CTC )