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