[CMake] Visual SourceSafe and Relative Paths for MSVC

Tal Blum tblum at bbn.com
Mon Sep 10 12:57:57 EDT 2007


That doesn't work for me for some reason. I am using the latest release.

-Tal


-----Original Message-----
From: Sylvain Benner [mailto:benner at virtools.com] 
Sent: Monday, September 10, 2007 6:05 AM
To: Tal Blum
Cc: cmake at cmake.org
Subject: Re: [CMake] Visual SourceSafe and Relative Paths for MSVC


> It seems that although when I add a file to a library with a relative 
> path, the resulting MSVC project contains the file with an absolute 
> path. While it works for compiling, it doesn't work for the Microsoft 
> visual source safe plug-in in Visual Studio. Does Cmake support 
> Microsoft's visual source safe plug-in in Visual Studio? Is there any 
> reason not to use relative paths?
>
Try using

SET(CMAKE_USE_RELATIVE_PATHS 1)

--Sylvain




More information about the CMake mailing list