[CMake] [Cmake] Absolute paths in .cmake, .txt files
Bo Huang
BHuang at xrite.com
Thu Sep 4 09:13:31 EDT 2008
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..
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20080904/5a9750e0/attachment.htm>
More information about the CMake
mailing list