Fixed dependency generation for ninja (take II)

This is needed for ninja to get its dependencies properly (the proper .d
files are now generated as required by ninja, so changing a header will
trigger a rebuild of the affected source files, as expected).
This commit is contained in:
Bogdan Marinescu 2015-06-08 16:21:46 +03:00
parent 1f887d5bdb
commit 7a06929898
2 changed files with 2 additions and 1 deletions

View file

@ -1,3 +1,4 @@
# Copyright (C) 2014-2015 ARM Limited. All rights reserved.
set(CMAKE_C_OUTPUT_EXTENSION ".o")
set(CMAKE_DEPFILE_FLAGS_C "-MMD -MT <OBJECT> -MF <DEPFILE>")

View file

@ -1,4 +1,4 @@
# Copyright (C) 2014-2015 ARM Limited. All rights reserved.
set(CMAKE_CXX_OUTPUT_EXTENSION ".o")
set(CMAKE_DEPFILE_FLAGS_CXX "-MMD -MT <OBJECT> -MF <DEPFILE>")