Hi,
I am including a thirdparty msproject with the include_external_msproject()
command. But this project has different configurations than the standard cmake
configs.
The mapping is like this:
CMake External Ms proj
----- ----------------
Debug -> Debug
RelWithDebInfo -> Release
Release -> Retail
I have tried using the MAP_IMPORTED_CONFIG_<CONFIG> target property, but it has
no effect (although the documentation says exactly what I want to accomplish,
it mentions references to IMPORTED targets).
Here is my code:
include_external_msproject(externalms <pathToproject>)
set_target_properties(externalms PROPERTIES
MAP_IMPORTED_CONFIG_RELEASE "Retail"
MAP_IMPORTED_CONFIG_RELWITHDEBINFO "Release")
Is there a way to have the configuration mapping done correctly with the
include_external_msproject() command?
Thanks,
David.
_______________________________________________
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake