summaryrefslogtreecommitdiffstats
path: root/Modules/Compiler/TI.cmake
diff options
context:
space:
mode:
authorMarc Chevrier <marc.chevrier@gmail.com>2020-10-26 16:08:56 (GMT)
committerMarc Chevrier <marc.chevrier@gmail.com>2020-11-28 15:02:58 (GMT)
commit3401403f69033446a5dcefd60dd8c375eaa58a44 (patch)
treef16f53fd7b8cdc0eb02a50bcc636cbf6f5a719e7 /Modules/Compiler/TI.cmake
parenta97c41bf8b7748037b08d881b620285b64b1881f (diff)
downloadCMake-3401403f69033446a5dcefd60dd8c375eaa58a44.zip
CMake-3401403f69033446a5dcefd60dd8c375eaa58a44.tar.gz
CMake-3401403f69033446a5dcefd60dd8c375eaa58a44.tar.bz2
Refactoring: Introduce place-holder for dependency target.
These changes are in preparation of compiler generated dependencies support for Makefiles generators * compiler output and dependency target can be different for Makefiles generators * resolve inconsistency naming for dependency file place-holder
Diffstat (limited to 'Modules/Compiler/TI.cmake')
-rw-r--r--Modules/Compiler/TI.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/Compiler/TI.cmake b/Modules/Compiler/TI.cmake
index f631688..c8c1635 100644
--- a/Modules/Compiler/TI.cmake
+++ b/Modules/Compiler/TI.cmake
@@ -18,7 +18,7 @@ macro(__compiler_ti lang)
set(CMAKE_${lang}_RESPONSE_FILE_FLAG "--cmd_file=")
set(CMAKE_INCLUDE_FLAG_${lang} "--include_path=")
- set(CMAKE_DEPFILE_FLAGS_${lang} "--preproc_with_compile --preproc_dependency=<DEPFILE>")
+ set(CMAKE_DEPFILE_FLAGS_${lang} "--preproc_with_compile --preproc_dependency=<DEP_FILE>")
set(CMAKE_${lang}_CREATE_PREPROCESSED_SOURCE "<CMAKE_${lang}_COMPILER> --preproc_only ${__COMPILER_TI_SOURCE_FLAG_${lang}}=<SOURCE> <DEFINES> <INCLUDES> <FLAGS> --output_file=<PREPROCESSED_SOURCE>")
set(CMAKE_${lang}_CREATE_ASSEMBLY_SOURCE "<CMAKE_${lang}_COMPILER> --compile_only --skip_assembler ${__COMPILER_TI_SOURCE_FLAG_${lang}}=<SOURCE> <DEFINES> <INCLUDES> <FLAGS> --output_file=<ASSEMBLY_SOURCE>")