Improving cmake configuration if installed files and scripts

parent 4417ce1a
......@@ -80,6 +80,7 @@ if( ITA_VASERVER_DEPLOY_WITH_COMMON_SCRIPTS )
configure_file( "run_VAServer.bat.proto" "${CMAKE_CURRENT_SOURCE_DIR}/run_VAServer_experimental.bat" @ONLY )
install( FILES "run_VAServer_experimental.bat" DESTINATION "." )
set( ITA_VA_SERVER_START_SCRIPT_INI VACore.recording.ini )
set( ITA_VA_SERVER_START_SCRIPT_RC "allow_remote_control_shutdown" )
configure_file( "run_VAServer.bat.proto" "${CMAKE_CURRENT_SOURCE_DIR}/run_VAServer_recording.bat" @ONLY )
install( FILES "run_VAServer_recording.bat" DESTINATION "." )
else( )
......@@ -89,6 +90,10 @@ if( ITA_VASERVER_DEPLOY_WITH_COMMON_SCRIPTS )
set( ITA_VA_SERVER_START_SCRIPT_INI VACore.experimental.ini )
configure_file( "run_VAServer.sh.proto" "${CMAKE_CURRENT_SOURCE_DIR}/run_VAServer_experimental.sh" @ONLY )
install( FILES "run_VAServer_experimental.sh" DESTINATION "." )
set( ITA_VA_SERVER_START_SCRIPT_INI VACore.recording.ini )
set( ITA_VA_SERVER_START_SCRIPT_RC "allow_remote_control_shutdown" )
configure_file( "run_VAServer.sh.proto" "${CMAKE_CURRENT_SOURCE_DIR}/run_VAServer_recording.sh" @ONLY )
install( FILES "run_VAServer_recording.sh" DESTINATION "." )
endif( )
endif( )
......
bin\VAServer.exe @ITA_VA_SERVER_START_SCRIPT_ADDRESS@:@ITA_VA_SERVER_START_SCRIPT_PORT@ conf\@ITA_VA_SERVER_START_SCRIPT_INI@
\ No newline at end of file
bin\VAServer.exe @ITA_VA_SERVER_START_SCRIPT_ADDRESS@:@ITA_VA_SERVER_START_SCRIPT_PORT@ conf\@ITA_VA_SERVER_START_SCRIPT_INI@ @ITA_VA_SERVER_START_SCRIPT_RC@
\ No newline at end of file
./bin/VAServer @ITA_VA_SERVER_START_SCRIPT_ADDRESS@:@ITA_VA_SERVER_START_SCRIPT_PORT@ conf/@ITA_VA_SERVER_START_SCRIPT_INI@
\ No newline at end of file
./bin/VAServer @ITA_VA_SERVER_START_SCRIPT_ADDRESS@:@ITA_VA_SERVER_START_SCRIPT_PORT@ conf/@ITA_VA_SERVER_START_SCRIPT_INI@ @ITA_VA_SERVER_START_SCRIPT_RC@
\ No newline at end of file
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