Re: [cmake-developers] [PATCH] ninja generator: don't initialize language for files marked, as header-only

2015-04-08 Thread Tim Blechmann
 not sure if there is a better way to resolve this issue:
 declaring .RC files as header-only break ninja builds on non-windows
 platforms.

note: this is necessary when the the language is set explicitly.

 ---8---
 
 cmake currently tries to initialize the language rules for all source
 files. when HEADER_FILE_ONLY is used to mark files which should be added
 to the generated project, but should not be compiled, this will
 nevertheless try to initialize the language, which might fail on that
 specific platform. this is a practical issue when declaring .RC files as
 header-only on non-windows platforms.
 
 
 


-- 

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


Re: [cmake-developers] [PATCH] ninja generator: don't initialize language for files marked, as header-only

2015-04-08 Thread Brad King
On 04/08/2015 07:54 AM, Tim Blechmann wrote:
 not sure if there is a better way to resolve this issue:
 declaring .RC files as header-only break ninja builds on non-windows
 platforms.
 
 note: this is necessary when the the language is set explicitly.

Thanks.  Would you please update the patch to include a change
to the test suite to cover this?

-Brad

-- 

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