CMakeLists.txt 677 Bytes
Newer Older
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
cmake_minimum_required( VERSION 2.8 )

if( NOT VA_COMMON_BUILD )

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

vista_use_package( VABase REQUIRED FIND_DEPENDENCIES )
vista_use_package( VACore REQUIRED FIND_DEPENDENCIES )
vista_use_package( VANet REQUIRED FIND_DEPENDENCIES )

add_definitions( -DVABASE_DLL -DVANET_DLL -DVACORE_DLL )


add_executable( VAMatlab VAServer.cpp )
target_link_libraries( VAMatlab ${VISTA_USE_PACKAGE_LIBRARIES} )

vista_configure_app( VAMatlab )
vista_install( VAMatlab )
vista_create_default_info_file( VAMatlab )

set_property( TARGET VAMatlab PROPERTY FOLDER "ITABindings" )