[CMake] include_directories and relative paths
gekso
ev.93kso at gmail.com
Tue Feb 22 13:59:19 EST 2011
Hello! I use INCLUDE_DIRECTORIES with relative-style paths, like
..\include or $(Var)\include.
After configuration I receive project with absolute-style includes,
like C:\aaa\..\include or C:\aaa\$(Var)\include..
Can I remove this prefix(I suppose it's CMAKE_CURRENT_SOURCE_DIR)
somehow? I need to generate project file and then to move in on
another computer, but it will not work with such full paths. Version
2.8.4
More information about the CMake
mailing list