[CMake] Stand alone Visual Studio Solution

Jesper Eskilson jesper at eskilson.se
Mon Oct 13 03:07:31 EDT 2008


Eran Burstain wrote:
> Hi !
> We want to begin working with CMake in a large project, but we want to 
> have a regular Visual's sln-vcproj projects in the source control, for 
> users that cannot use CMake.
> Can we activate CMake and force in to create all paths relative ?

This is a good starting point:

	set(CMAKE_USE_RELATIVE_PATHS 1)

however, some absolute paths still seem appear in the solution files. 
I'm not sure if that is an issue with my CMakeLists.txt, though.

> Can we create a solution file without the BUILD_ALL, ZERO_TEST project, 
> and without CMake's-VIsual Studio macros (file change detection) ?

AFAIK, no. But you're not alone in wishing for this.

--
/Jesper




More information about the CMake mailing list