[CMake] INSTALL project disabled by default in visual studio 8 configuration manager

John Drescher drescherjm at gmail.com
Tue May 5 10:38:23 EDT 2009


On Tue, May 5, 2009 at 10:09 AM, David Larsson <laserallan at gmail.com> wrote:
> Hi!
> I've noticed that the INSTALL project generated in visual studio projects
> when using "install" commands in CMakeLists.txt is disabled by default in
> the configuration manager.
> Is it possible to make it enabled by default so I don't have to install it
> explicitly after each build?
> The background for the problem is that I want to copy some headers,
> libraries and dll's to a directory after each build.
> If installation is something that's generally considered too heavy to be
> done after each build, is there a good way of expressing file copying in a
> platform independent way so I can work around it manually?
> Cheers
> /David
>

Can't you just build the install project instead of a target? That is what I do.

John


More information about the CMake mailing list