Discussion:
[cmake-developers] Compiler dependencies with Unix Makefiles
j***@web.de
2018-08-25 18:08:33 UTC
Permalink
--

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:
https://cmake.org/mailman/listinfo/cmake-developers
Brad King
2018-08-27 17:41:06 UTC
Permalink
new Compiler to CMake which compiles and links OpenCL files (file ending .cl)
Will that be done via `enable_language(OpenCL)`? How might it work
on VS and Xcode?
What is the reason that CMake uses its own mechanism with Unix Makefiles
instead of relying on the compiler?
We support compilers that don't have such options and have done so since
before many of today's compilers gained support.
Is it possible to configure CMake to use -MMD -MF with Unix Makefiles?
I've long wanted to see the Makefile generators converted to that
approach when using compilers that support it, but have never found
time to do it.
If not, is it possible to tell cmake_depends to understand .cl files?
In principle yes, but in the long run it would certainly be better
to use the depfile approach.

-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:
https://cmake.org/mailman/listinfo/cmake-developers
Loading...