Hi Again,

FWIW here's how I managed to have mangled names in the output *and* in the right folder instead of $(OutDir).

project(FOO)

add_library(FOO foo.cpp)

set_target_properties( FOO PROPERTIES DEBUG_OUTPUT_NAME "foo-debug" RELEASE_OUTPUT_NAME "foo-release")

add_custom_command(TARGET FOO POST_BUILD COMMAND copy $(TargetPath) $(ProjectDir) )

Best


--
Fernando Cacciola
SciSoft
http://fcacciola.50webs.com


_______________________________________________
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to