Is there an equivalent command to link_directories that support generator
expressions?
link_directories(
$<$<CONFIG:Debug>:${PROG_LIBRARY_DIRS_RELWITHDEBCRT}> )
link_directories( $<NOT:$<CONFIG:Debug>>:${PROG_LIBRARY_DIRS}> )
Basically I want to use PROG_LIBRARY_DIRS_RELWITHDEBCRT for Debug builds
and PROG_LIBRARY_DIRS for everything else.
I'm sure I can go and use set_target_properties or something like that, but
I was wondering if there was some way I could make this work, before I have
to do a much larger change.
James
--
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://public.kitware.com/mailman/listinfo/cmake