Re: [CMake] proper setup to create file and have it installed

2010-12-29 Thread edA-qa mort-ora-y
On 12/29/2010 08:55 AM, Michael Hertling wrote: > The tricky part is how to set up the custom command within the loop. Okay, I think I can work with the for-loop. Thank you. -- edA-qa mort-ora-y -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- BigTPoker - Po

Re: [CMake] proper setup to create file and have it installed

2010-12-28 Thread edA-qa mort-ora-y
ependencies to an add_custom_target? I know that DEPENDS does this, but it'd be nice if I could create a "install-files" target and in various points in the file add the files which are needed as dependencies. Otherwise I will basically have a new target for every install li

[CMake] proper setup to create file and have it installed

2010-12-27 Thread edA-qa mort-ora-y
e, I need that the install command checks the dependencies on the file. As specified it does not, and I don't see a DEPENDS clause for install. How do I ensure that the installation updates the file as required? -- edA-qa mort-ora-y -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --

[CMake] strip runtime paths from non-targets

2010-10-08 Thread edA-qa mort-ora-y
(not under my control), and want the same patchup? The core of my problem is trying to get the MySQL QT Plugin to work correctly in an installed environment. -- edA-qa mort-ora-y -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- BigTPoker - Poker fun and

Re: [CMake] avoiding building test targets

2010-10-07 Thread edA-qa mort-ora-y
gt; add_custom_target(check > COMMAND ${CMAKE_CTEST_COMMAND} > WORKING_DIRECTORY ${CMAKE_BINARY_DIR} > COMMENT "Running ctest") > add_dependencies(check test-exes) That's great. Thank you. -- edA-qa mort-ora-y -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -

[CMake] avoiding building test targets

2010-10-07 Thread edA-qa mort-ora-y
How can I have CMake not build test targets when doing a "make install"? I'd prefer that test targets are only ever built if "make test" is called. -- edA-qa mort-ora-y -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- BigTPo

Re: [CMake] best practice way of copying libraries to an install package

2010-09-22 Thread edA-qa mort-ora-y
, easy, or common ways to achieve packaging library dependencies. -- edA-qa mort-ora-y -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- BigTPoker - Poker fun and games http://BigTPoker.com/ -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --

[CMake] best practice way of copying libraries to an install package

2010-09-22 Thread edA-qa mort-ora-y
ual file an not a symlink - between debug/release I seem to have to list the files twice - I'd prefer a cross-platform solution, I don't want to code the copying once for each target platform If anybody has a good resource, or can recommend some best practices, that wou

Re: [CMake] using only release versions of QT libraries

2010-09-10 Thread edA-qa mort-ora-y
debug my application doesn't mean I wish to debug all the libraries I am using. It's just that the CMake QT directives assume I want debug when it is available. Note that if I delete my QT debug libraries it will also just use the release versions (I looked in the module for findqt). --

[CMake] using only release versions of QT libraries

2010-09-09 Thread edA-qa mort-ora-y
just use the Release libraries for QT. Is there an easy way to do this? -- edA-qa mort-ora-y -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- Need to get something off your chest? Have an urge to scream? Your boss up for the weekly bast