I tried wrapping the libraries returned by FindBoost.cmake in
$<BUILD_INTERFACE> in a target_link_libraries() call and noticed that
this breaks because of the debug/optimized keywords that the find module
inserts.
Specifically it results in CMake trying to link e.g. "optimized.lib".
Should/could these keywords be handled at generation time (after
generator expressions expansion)?
There don't seem to be generator expressions that correspond to the
debug/optimized keywords exactly. Can/should there be?
e.g. $<DEBUG:> and $<OPTIMIZED:> output expressions.
The former expanding when the current configuration is listed in the
directory property DEBUG_CONFIGURATIONS.
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://public.kitware.com/mailman/listinfo/cmake-developers