I observed that in .cmake, .txt, .depend, .sln, .vcproj files, paths are
always absolute when generated. Is there anyway to automatically make
them relative or set a global path? So far I can only change the Visual
Studio paths using macros such as $(SolutionDir).

 

I wish to do this so my co-workers can run via my pre-generated Visual
Studio project on their machines. 

 

 

For example, I see numerous examples of the following in .cmake, .txt,
.depend, .sln, .vcproj files:

 

INCLUDE("C:/Users/BHuang/Documents/myProj/myProjSubDir/cmake_install.cma
ke")

 

# CMake generation dependency list for this directory.

/Users/BHuang/Documents/myProj/myProjSubDir/CMakeLists.txt

 

//Value Computed by CMake

MYPROJ_BINARY_DIR:STATIC=C:/Users/BHuang/Documents/myProj/myProjSubDir/b
uild

 

Etc..

 

 

_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to