[CMake] using relative paths

shreyas krishnan shreyas76 at gmail.com
Fri Oct 30 18:24:25 EDT 2009


Hi
   I am using cmake with a VC++ 8 project. I find that the include
directories in the project properties are all absolute paths. How can
I avoid this ?

I tried the following in CMAKECache txt file before doing a generate
in Cmake-gui
//If true, cmake will use relative paths in makefiles and projects.
CMAKE_USE_RELATIVE_PATHS:BOOL=ON

This still generates absolute directories. Can someone please help.

thanks
shrey


More information about the CMake mailing list