Copy all plugin files to bin dir (including symbols) #4168

This commit is contained in:
Nick Bolton 2015-03-04 12:03:38 +00:00
parent a2524d9f57
commit 55de0746dc
1 changed files with 6 additions and 6 deletions

View File

@ -62,21 +62,21 @@ if (WIN32)
TARGET ns TARGET ns
POST_BUILD POST_BUILD
COMMAND xcopy /Y /Q COMMAND xcopy /Y /Q
..\\..\\..\\..\\..\\lib\\${CMAKE_CFG_INTDIR}\\ns.dll ..\\..\\..\\..\\..\\lib\\${CMAKE_CFG_INTDIR}\\ns.*
..\\..\\..\\..\\..\\bin\\${CMAKE_CFG_INTDIR}\\plugins\\ ..\\..\\..\\..\\..\\bin\\${CMAKE_CFG_INTDIR}\\plugins\\
) )
add_custom_command( add_custom_command(
TARGET ns TARGET ns
POST_BUILD POST_BUILD
COMMAND xcopy /Y /Q COMMAND xcopy /Y /Q
..\\..\\..\\..\\..\\ext\\openssl\\out32dll\\libeay32.dll ..\\..\\..\\..\\..\\ext\\openssl\\out32dll\\libeay32.*
..\\..\\..\\..\\..\\bin\\${CMAKE_CFG_INTDIR} ..\\..\\..\\..\\..\\bin\\${CMAKE_CFG_INTDIR}
) )
add_custom_command( add_custom_command(
TARGET ns TARGET ns
POST_BUILD POST_BUILD
COMMAND xcopy /Y /Q COMMAND xcopy /Y /Q
..\\..\\..\\..\\..\\ext\\openssl\\out32dll\\ssleay32.dll ..\\..\\..\\..\\..\\ext\\openssl\\out32dll\\ssleay32.*
..\\..\\..\\..\\..\\bin\\${CMAKE_CFG_INTDIR} ..\\..\\..\\..\\..\\bin\\${CMAKE_CFG_INTDIR}
) )
else() else()
@ -89,7 +89,7 @@ else()
${CMAKE_SOURCE_DIR}/bin/plugins ${CMAKE_SOURCE_DIR}/bin/plugins
&& &&
cp cp
${CMAKE_SOURCE_DIR}/lib/${CMAKE_CFG_INTDIR}/libns.dylib ${CMAKE_SOURCE_DIR}/lib/${CMAKE_CFG_INTDIR}/libns.*
${CMAKE_SOURCE_DIR}/bin/plugins/ ${CMAKE_SOURCE_DIR}/bin/plugins/
) )
else() else()
@ -101,7 +101,7 @@ else()
${CMAKE_SOURCE_DIR}/bin/plugins ${CMAKE_SOURCE_DIR}/bin/plugins
&& &&
cp cp
${CMAKE_SOURCE_DIR}/lib/debug/libns.so ${CMAKE_SOURCE_DIR}/lib/debug/libns.*
${CMAKE_SOURCE_DIR}/bin/plugins/ ${CMAKE_SOURCE_DIR}/bin/plugins/
) )
else() else()
@ -112,7 +112,7 @@ else()
${CMAKE_SOURCE_DIR}/bin/plugins ${CMAKE_SOURCE_DIR}/bin/plugins
&& &&
cp cp
${CMAKE_SOURCE_DIR}/lib/libns.so ${CMAKE_SOURCE_DIR}/lib/libns.*
${CMAKE_SOURCE_DIR}/bin/plugins/ ${CMAKE_SOURCE_DIR}/bin/plugins/
) )
endif() endif()