[CMake] Include raw text in generated makefiles

Brandon J. Van Every bvanevery at gmail.com
Tue Jul 25 04:05:24 EDT 2006


Antoine Tollenaere wrote:
>
> Is there a way to tell CMake to include a file in the generated 
> Makefiles ? 

Well there's INCLUDE_EXTERNAL_MSPROJECT, but I don't know that it 
applies to the nmake generator.

You could ADD_CUSTOM_COMMAND or ADD_CUSTOM_TARGET to wrap up the 3rd 
party nmakefile.  This doesn't help you with communicating variables, 
but you could get things built the way the manufacturer intended.  For 
communication you'd probably have to delve into CMake scripting.


Cheers,
Brandon Van Every



More information about the CMake mailing list