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
--
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake