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

Amine Khaldi amine.khaldi at reactos.org
Thu Mar 22 12:23:21 EDT 2012


Hi,

I've attached a patch that allows us (ReactOS) 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. Please note that without this, there is no 
dependency tracking of includes in rc files at all.

Regards,
Amine.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: rc_handling.diff
URL: <http://public.kitware.com/pipermail/cmake-developers/attachments/20120322/0a902199/attachment.ksh>


More information about the cmake-developers mailing list