[CMake] Having per-source file different includes

Steven Van Ingelgem steven at vaningelgem.be
Wed Nov 26 12:05:38 EST 2008


Hi,


Is it possible to change the "include_directories" per source file?
I know I could do set_source_file_property( ... COMPILE_DEFINITIONS
-Itesting... ), but this is not very portable I think?

Is there a better way?


Thanks,
Steven


More information about the CMake mailing list