[CMake] How to make Visual Studio .vcproj with relative paths

Olaf van der Spek olafvdspek at gmail.com
Tue Mar 25 05:34:58 EDT 2008


On Tue, Mar 25, 2008 at 12:58 AM, Alexander Neundorf
<a.neundorf-work at gmx.net> wrote:
>  Not really.
>  Why do you actually want to ship VS project files ?

To avoid a dependency on cmake. The library user probably doesn't have
cmake installed and it would be nice if he could directly open the
.sln file and build the library.

>  The preferred approach would be to ship the cmake files and if required also
>  include cmake itself.

Include the cmake installer in every library zip file? That doesn't
sound like a good idea.
Even if you do, building the library still requires additional steps
to generate the .sln and .vcproj files.

Greetings,

Olaf


More information about the CMake mailing list