Please see the FAQ on the CMake Wiki: http://www.cmake.org/Wiki/CMake_FAQ#Why_does_CMake_use_full_paths.2C_or_can_I_copy_my_build_tree.3F
No, you can't move your build tree to another computer, and no you can't eliminate the full path references. On Tue, Feb 22, 2011 at 1:59 PM, gekso <[email protected]> wrote: > 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 > _______________________________________________ > 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 > _______________________________________________ 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
