Forcing dll copy of VA libs into bin folder during deploy

parent 5a5da34d
......@@ -124,6 +124,20 @@ if( ITA_VA_INSTALL_WITH_DLLS OR ITA_REDSTART_INSTALL_WITH_DLLS )
endif( )
# install by copying DLL/SO next to Redstart binary
set( SHARED_LIBRARY_EXTENSION "dll" )
if( NOT WIN32 )
set( SHARED_LIBRARY_EXTENSION "so" )
endif( )
if( BUILD_SHARED_LIBS )
# VA shared libs
install( FILES "${VABASE_LIBRARY_DIRS}/VABase.${SHARED_LIBRARY_EXTENSION}" DESTINATION "bin" )
install( FILES "${VANET_LIBRARY_DIRS}/VANet.${SHARED_LIBRARY_EXTENSION}" DESTINATION "bin" )
install( FILES "${VANET_LIBRARY_DIRS}/VACore.${SHARED_LIBRARY_EXTENSION}" DESTINATION "bin" )
endif( )
# dev
if( MSVC )
set( ITA_REDSTART_INCLUDE_EXTERNAL_MSVC_PROJECTS ON CACHE BOOL "If enabled, msvc projects of external vista packages will be included in the solution" )
......
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