Thanks, that worked like a charm :).

Kind regards,

Geert


2014-03-19 11:48 GMT+01:00 Nils Gladitz <nilsglad...@gmail.com>:

> On 19.03.2014 10:56, Geert Litjens wrote:
>
>>
>> Since this week I have been using BundleUtilities to automatically copy
>> third-party dependencies to the install directory. However, I have one
>> issue: when we make debug builds we use DEBUG_POSTFIX to append _d to our
>> executables and libraries (so we can package both). However, as far as I
>> know, because there is no CONFIGURATION signature for the INSTALL(CODE...
>> command, it is not possible to specify different fixup_bundle commands for
>> different configurations in Visual Studio. If anyone has any suggestions,
>> that would be great.
>>
>>
> Take a look at the generated cmake_install.cmake in your build directory.
>
> Configuration specific target installations generate code that uses e.g.:
>     IF("${CMAKE_INSTALL_CONFIG_NAME}" MATCHES "^([Dd][Ee][Bb][Uu][Gg])$")
>
> You should be able to use the same or similar patterns with install(CODE).
>
> Nils
>
-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to