On 11/30/2012 01:31 PM, Stephen Kelly wrote:
> Brad King wrote:
>>
>> Right. The tll() call specifies the "link implementation" which then
>> becomes the link interface when exported.
>
> Yes, and later when my other topic is merged that will work for the 'new'
> link interface for static libraries too.
Okay, thanks.
I noticed that generatorIface hard-codes "$<NOT:$<CONFIG:Debug>>"
instead of looking up the list of DEBUG configs:
// Get the list of configurations considered to be DEBUG.
std::vector<std::string> const& debugConfigs =
this->Makefile->GetCMakeInstance()->GetDebugConfigs();
Perhaps the simplest solution is to add a new generator expression
such as $<CONFIG_DEBUG> that evaluates to 1 or 0 depending on
whether the configuration is considered a debug config.
-Brad
--
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://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers