On 09/02/2014 04:12 PM, Brad King wrote:
On 08/29/2014 05:26 AM, Nils Gladitz wrote:
Steve K and I discussed this once.  Since DEBUG_CONFIGURATIONS can be
set differently in exporting and importing projects so there is no
global meaning across all targets.  See the
cmTarget::GetDebugGeneratorExpressions method:

  
http://cmake.org/gitweb?p=cmake.git;a=blob;f=Source/cmTarget.cxx;hb=v3.0.1#l908

It constructs a $<OR:...> expression of $<CONFIG:...> expressions
for each entry in DEBUG_CONFIGURATIONS.  This is how
target_link_libraries transforms debug/optimized keywords when
constructing the INTERFACE_LINK_LIBRARIES value.

For some reason I thought RelWithDebInfo was per default a debug configuration but that does not actually seem to be the case.

Given that Debug is the only (default) configuration in the set that simplifies things greatly - for me at least :p

I'll manually transform the library lists until FindBoost.cmake exports targets or Boost itself provides a config file.

Thanks!

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

Reply via email to