[CMake] Problem with set_source_files_properties

vivek goel goelvivek2011 at gmail.com
Thu Jan 5 07:31:34 EST 2012


I am using code
where f contains the file name


set(MY_PATH "-D__RELATIVE_PATH__=\\\"ab\\\"")
set_source_files_properties(${f} PROPERTIES
   COMPILE_FLAGS ${MY_PATH})

I am not able to see -D__RELATIVE_PATH__ inside compilation flags.

What is wrong ?


-- 
regards
Vivek Goel


More information about the CMake mailing list