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