[CMake] Add include files

Yinon Ehrlich yinon.me at gmail.com
Sun Nov 11 10:25:49 EST 2007


* I'm new to CMake, trying to convert our existing GNU Makefiles to CMake.
* I have a GCC compilation line that uses GCC's "-include" direction (Instead of having 
multiple identical "#include" lines within the source code.)

  ==> Does anyone has an idea how can I implement this feature with CMake ?
	Maybe I should refrain from using "-include" so to retain the cross-platform ?
	(Actually I can gain the same functionality using the MS's 'stdafx'...)

Thanks in advance,

More information about the CMake mailing list