Regarding 

 http://public.kitware.com/Bug/view.php?id=14857

I have implemented a COMPILE_LANGUAGE generator expression, to revisit the 
conclusion of this thread:

 
http://thread.gmane.org/gmane.comp.programming.tools.cmake.devel/6844/focus=6875

I've pushed a branch to my clone as target-language-genex:

 https://gitorious.org/cmake/steveires-cmake/commits/target-language-genex

The design is to allow COMPILE_LANGUAGE in compilation properties (compile 
options, compile defintions, include directories), and in the generator 
expressions of file(GENERATE).

The problem remains that the IDE generator features may not be compatible 
with this design.

Is there any updated knowledge since 

 
http://thread.gmane.org/gmane.comp.programming.tools.cmake.devel/6844/focus=6855

I saw commit 06e527b3 (Merge topic 'xcode-flags-per-language', 2015-02-10) 
go in recently, but I don't know if it relates to this.

Even if the issue can be solved for compile options and compile definitions, 
it seems that for the IDEs, include directories may pose greater problems 
because there is no way to keep one list for that, while also allowing the 
context to be compile language dependent?

Thanks,

Steve.


-- 

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