[CMake] Ninja: Recognize <OBJECT> and <CMAKE_C_COMPILER> in CMAKE_DEPFILE_FLAGS_${lang}

Amine Khaldi amine.khaldi at reactos.org
Wed Mar 21 12:36:40 EDT 2012


Hi,

I've attached a patch that allows us to set(CMAKE_DEPFILE_FLAGS_RC 
"--preprocessor \"<CMAKE_C_COMPILER> -E -xc-header -MMD -MF <DEPFILE> 
-MT <OBJECT>\"") to properly track dependencies in rc files (otherwise 
it's completely off).

Regards,
Amine.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: rc_handling.diff
URL: <http://www.cmake.org/pipermail/cmake/attachments/20120321/0db876ec/attachment.txt>


More information about the CMake mailing list