[CMake] Generating stand-alone Visual Studio projects?

2013-10-15 Thread Magnus Therning
Hi CMake list, A colleague and I are trying to somewhat sneak in CMake in a project that uses Visual Studio for IDE. This is a fairly big step to take and we anticipate a bit of push-back, even if it clearly is a worthwhile improvement. One way to maybe ease the transition would be to check in

Re: [CMake] Generating stand-alone Visual Studio projects?

2013-10-15 Thread Petr Kmoch
Hi Magnus. I am afraid that's not really possible (safely). CMake uses absolute paths all over the place (by design), so all output file paths etc. are hardcoded in the .sln and .vc[x]proj files to the paths applicable where they were generated. You can experiment with the variable

Re: [CMake] Generating stand-alone Visual Studio projects?

2013-10-15 Thread Magnus Therning
On Tue, Oct 15, 2013 at 10:56 AM, Petr Kmoch petr.km...@gmail.com wrote: Hi Magnus. I am afraid that's not really possible (safely). CMake uses absolute paths all over the place (by design), so all output file paths etc. are hardcoded in the .sln and .vc[x]proj files to the paths applicable