diff options
author | Ephi Sinowitz <esinowitz@bloomberg.net> | 2018-04-12 19:44:42 (GMT) |
---|---|---|
committer | Ephi Sinowitz <esinowitz@bloomberg.net> | 2018-04-17 19:35:49 (GMT) |
commit | d67962c55a4be2653d40b27c4f5fc38fc5c223b0 (patch) | |
tree | ff8aae630902a27a314241eca09033fd4869f76d /Modules/Compiler/SunPro-CXX.cmake | |
parent | ccd17a557cbf8ada18207a72eea78d2adcc9d752 (diff) | |
download | CMake-d67962c55a4be2653d40b27c4f5fc38fc5c223b0.zip CMake-d67962c55a4be2653d40b27c4f5fc38fc5c223b0.tar.gz CMake-d67962c55a4be2653d40b27c4f5fc38fc5c223b0.tar.bz2 |
SunPro,XL: Add depfile flags to support Ninja generator
Add CMAKE_DEPFILE_FLAGS_${lang} to SunPro and XL. These flags are used
by the Ninja generator.
Diffstat (limited to 'Modules/Compiler/SunPro-CXX.cmake')
-rw-r--r-- | Modules/Compiler/SunPro-CXX.cmake | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Modules/Compiler/SunPro-CXX.cmake b/Modules/Compiler/SunPro-CXX.cmake index 5cb7edc..14196b7 100644 --- a/Modules/Compiler/SunPro-CXX.cmake +++ b/Modules/Compiler/SunPro-CXX.cmake @@ -18,6 +18,8 @@ string(APPEND CMAKE_CXX_FLAGS_MINSIZEREL_INIT " -xO2 -xspace -DNDEBUG") string(APPEND CMAKE_CXX_FLAGS_RELEASE_INIT " -xO3 -DNDEBUG") string(APPEND CMAKE_CXX_FLAGS_RELWITHDEBINFO_INIT " -g -xO2 -DNDEBUG") +set(CMAKE_DEPFILE_FLAGS_CXX "-xMD -xMF <DEPFILE>") + # Initialize C link type selection flags. These flags are used when # building a shared library, shared module, or executable that links # to other libraries to select whether to use the static or shared |