[CMake] __FILE__ relative path

vivek goel goelvivek2011 at gmail.com
Tue Dec 27 04:28:32 EST 2011


How can I make cmake to compile source with relative path ?

So that __FILE__ belongs to relative path of the file

or there is another way I can replace __FILE__ with some other variable ?



-- 
regards
Vivek Goel


More information about the CMake mailing list