Commit ded12185 authored by Dipl.-Ing. Jonas Stienen's avatar Dipl.-Ing. Jonas Stienen
Browse files

upd: CMake switch for installing DLLs

parent 1ba1bee8
...@@ -7,6 +7,12 @@ list( APPEND CMAKE_MODULE_PATH "$ENV{VISTA_CMAKE_COMMON}" ) ...@@ -7,6 +7,12 @@ list( APPEND CMAKE_MODULE_PATH "$ENV{VISTA_CMAKE_COMMON}" )
include( VistaCommon ) include( VistaCommon )
if( NOT DEFINED ITA_VABASE_INSTALL_WITH_DLLS )
set( ITA_VABASE_INSTALL_WITH_DLLS ON CACHE BOOL "Install VABase with depending DLLs (use this switch with care)" )
endif( NOT DEFINED ITA_VABASE_INSTALL_WITH_DLLS )
vista_use_package( VistaCoreLibs REQUIRED COMPONENTS VistaInterProcComm ) vista_use_package( VistaCoreLibs REQUIRED COMPONENTS VistaInterProcComm )
...@@ -31,6 +37,10 @@ vista_create_default_info_file( VABase ) ...@@ -31,6 +37,10 @@ vista_create_default_info_file( VABase )
set_property( TARGET VABase PROPERTY FOLDER "VA" ) set_property( TARGET VABase PROPERTY FOLDER "VA" )
if( ITA_VABASE_INSTALL_WITH_DLLS OR ITA_VA_INSTALL_WITH_DLLS )
vista_install_all_dlls( bin )
endif()
# tests # tests
set( VABASE_COMMON_BUILD TRUE ) set( VABASE_COMMON_BUILD TRUE )
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment