CMakeLists.txt 740 Bytes
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 ITAFFT_COMMON_BUILD )

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

vista_use_package( ITAFFT REQUIRED FIND_DEPENDENCIES )

13
if( ITA_CORE_LIBS_BUILD_STATIC AND DEFINED ITA_CORE_LIBS_BUILD_STATIC )
14
	add_definitions( -DITA_BASE_STATIC -DITA_FFT_STATIC )
15
endif( ITA_CORE_LIBS_BUILD_STATIC AND DEFINED ITA_CORE_LIBS_BUILD_STATIC  )
Jonas Stienen's avatar
Jonas Stienen committed
16 17 18 19 20 21 22 23

add_executable( ITAFFTTest test.cpp )
target_link_libraries( ITAFFTTest ${VISTA_USE_PACKAGE_LIBRARIES} )

vista_configure_app( ITAFFTTest )
vista_install( ITAFFTTest )
vista_create_default_info_file( ITAFFTTest )

24
set_property( TARGET ITAFFTTest PROPERTY FOLDER "ITACoreLibs/Tests/ITAFFT" )