Hi,
I try to force including header with CMake(2.8.2) and this first solution:
SET_TARGET_PROPERTIES(${MyTarget} PROPERTIES COMPILE_FLAGS "/FI\"${ForcedHeader_A}\"/FI\"${ForcedHeader_B}\"")
Somehow CMake ignores (or overwrites) the first compiler flag. This happens only if the two compiler flags are the same as in this case . I have to port something I dont want to modify the software structure at this moment. Can anyone help me ?
Thanks