I think my trouble is
my cmakelists are made up of
include_directories( ${CMAKE_CURRENT_SOURCE_DIR}/include )
instead of relative paths.
So do I need to fix all these to become relative ? I want to package
my source without having to rerun cmake at a different directory.
thanks
shrey
On Fri, Oct 30, 2009 at 3:24 PM, shreyas krishnan <[email protected]> wrote:
> 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
>
_______________________________________________
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