On 11/30/2012 01:59 PM, Brad King wrote:
> 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.

Another detail.  The cmTargetCheckLINK_INTERFACE_LIBRARIES check
should be performed for the INTERFACE_LINK_LIBRARIES property.
We must ensure that the "debug" and "optimized" keywords never
have any meaning outside arguments to tll().

Thanks,
-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

Reply via email to