CMakeLists.txt 1.35 KB
Newer Older
Jonas Stienen's avatar
Jonas Stienen committed
1
2
3
4
5
6
7
8
9
10
11
12
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 )
13
vista_use_package( OpenDAFF REQUIRED FIND_DEPENDENCIES )
Jonas Stienen's avatar
Jonas Stienen committed
14
15


16
17
if( ITA_CORE_LIBS_BUILD_STATIC AND DEFINED ITA_CORE_LIBS_BUILD_STATIC )
	add_definitions( -DITA_BASE_STATIC -DITA_CTC_STATIC )
18
	message( "static" )
19
endif( ITA_CORE_LIBS_BUILD_STATIC AND DEFINED ITA_CORE_LIBS_BUILD_STATIC  )
Jonas Stienen's avatar
Jonas Stienen committed
20

21
22
message( "static: ${ITA_CORE_LIBS_BUILD_STATIC}" )

Jonas Stienen's avatar
Jonas Stienen committed
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
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 )