Re: [CMake] Running install by default, or alternatives?

2013-05-30 Thread Petr Kmoch
Hi Paul. Look up generator expressions in the CMake docs (for example in add_custom_command), particularly $CONFIGURATION. It might help in solving your issue. Petr On Wed, May 29, 2013 at 10:52 PM, Paul Smith p...@mad-scientist.net wrote: No love for this question apparently :-/ I tried

Re: [CMake] Running install by default, or alternatives?

2013-05-30 Thread Paul Smith
On Thu, 2013-05-30 at 08:10 +0200, Petr Kmoch wrote: Look up generator expressions in the CMake docs (for example in add_custom_command), particularly $CONFIGURATION. It might help in solving your issue. Perfect! Thanks. -- Powered by www.kitware.com Visit other Kitware open-source

Re: [CMake] Running install by default, or alternatives?

2013-05-29 Thread Paul Smith
No love for this question apparently :-/ I tried to implement the suggestion in the mailing list post below, and it works fine with UNIX makefiles. But, on other generators such as Xcode and MSVC there's a major problem that I don't know how to solve. The post suggests forcing a new target like

[CMake] Running install by default, or alternatives?

2013-05-24 Thread Paul Smith
Hi all; We have a large-ish set of cmake files building our project which results in various executables, libraries, scripts, etc. Currently these are just left lying where they were created, and all our tests etc. expect to find them there. Then we then have a subsequent script that we run to