.d dependency files for ninja

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

.d dependency files for ninja

Ephi Sinowitz (BLOOMBERG/ 919 3RD A)
cmake creates these files for gcc compiler using the -MMD -MMF compiler flags but does not do so for AIX xlc and Sun CC
Is this a known issue? Is there a workaround?

--

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
Reply | Threaded
Open this post in threaded view
|

Re: .d dependency files for ninja

Brad King
On 02/08/2017 04:05 PM, Ephi Sinowitz (BLOOMBERG/ 731 LEX) wrote:
> cmake creates these files for gcc compiler using the -MMD -MMF
> compiler flags but does not do so for AIX xlc and Sun CC
> Is this a known issue? Is there a workaround?

This simply means no one has added support for these compilers.
Ninja requires the compiler to support depfile generation.

CMake's Modules/Compiler/*.cmake modules set CMAKE_DEPFILE_FLAGS_<LANG>
variables to record the flags for each compiler.

-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