CMakeLists.txt 824 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
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 )


18
add_executable( VAMatlab FunctionMappings.h MatlabHelpers.h MatlabHelpers.cpp VAMatlabConnection.cpp VAMatlabConnection.h VAMatlabExecutable.cpp VAMatlabTracking.h VAMatlabTracking.cpp )
19 20 21 22 23 24 25
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" )