[cmake-developers] Language generator expressions
Brad King
brad.king at kitware.com
Fri May 17 08:55:41 EDT 2013
On 05/16/2013 04:43 PM, Stephen Kelly wrote:
> I've pushed the language-generator-expressions branch to my clone, and the
> target-COMPILE_OPTIONS branch which depends on it, which should be the
> implementation of
>
> http://public.kitware.com/Bug/view.php?id=6493
>
> I hit a problem with the xcode and visual studio generators in that the APIs
> of them do not provide a source file to use to determine the compiler
> language at the point where I try to evaluate the compile flags, defines and
> includes.
>
> Is that a limitation of those IDEs? Or just of the generators? Can someone
> familiar with those generators implement the porting to new APIs I
> implemented in my branch?
The IDEs do not have per-language settings on a per-target basis.
C and C++ are treated equally at that level and it is only at the
per-source-file level that one can distinguish them.
-Brad
More information about the cmake-developers
mailing list