Copy ns plugin to debug dir when in debug mode #4704

This commit is contained in:
Nick Bolton 2015-05-25 13:08:47 +01:00
parent f322a79760
commit 18344e6b52

View File

@ -106,11 +106,11 @@ if (UNIX)
TARGET ns
POST_BUILD
COMMAND mkdir -p
${CMAKE_SOURCE_DIR}/bin/plugins
${CMAKE_SOURCE_DIR}/bin/debug/plugins
&&
cp
${CMAKE_SOURCE_DIR}/lib/debug/libns.*
${CMAKE_SOURCE_DIR}/bin/plugins/
${CMAKE_SOURCE_DIR}/bin/debug/plugins/
)
else()
add_custom_command(