Re: [CMake] Converting a VS Build to CMake/Problems with Post-Build steps, questions

2008-03-03 Thread Anteru
Philip Lowman schrieb: How about GET_TARGET_PROPERTY(var MyTarget DEBUG_LOCATION) followed by a second ADD_CUSTOM_COMMAND() for the debug binary? Ok, found the solution: Latest CMake (2.5 nightly, tested with the binary from March 1) supports COMMAND with a normal target in ADD_CUSTOM_COMMAND

Re: [CMake] Converting a VS Build to CMake/Problems with Post-Build steps, questions

2008-03-02 Thread Philip Lowman
On Fri, Feb 29, 2008 at 5:53 AM, Anteru <[EMAIL PROTECTED]> wrote: > Problems: > * I want to name my debug libraries with a trailing 'd'. I use > SET_TARGET_PROPERTIES(MyTarget PROPERTIES DEBUG_POSTFIX "d") to do this. > However, MyTarget is a unit-test runner and I want to execute it using > AD

Re: [CMake] Converting a VS Build to CMake/Problems with Post-Build steps, questions

2008-02-29 Thread Anteru
Brandon Van Every schrieb: > http://public.kitware.com/pipermail/cmake/ does have a searchbox at > the top. It forwards to a Kitware webpage that performs broader > searches than just CMake. I don't consider this to be entirely > desirable behavior, but it is often passable. If it isn't, then I

Re: [CMake] Converting a VS Build to CMake/Problems with Post-Build steps, questions

2008-02-29 Thread Brandon Van Every
On Fri, Feb 29, 2008 at 5:53 AM, Anteru <[EMAIL PROTECTED]> wrote: > > Searching the Web or reading the FAQ didn't help; is there any way to > search the mail archives easily? http://public.kitware.com/pipermail/cmake/ does have a searchbox at the top. It forwards to a Kitware webpage that perf

Re: [CMake] Converting a VS Build to CMake/Problems with Post-Build steps, questions

2008-02-29 Thread Anteru
[EMAIL PROTECTED] schrieb: Caveat: The following is based on a much older version of CMake which I've been using for the same project for about five years. Just out of curiosity, how much maintenance work was required for those project files over the five years? Switching from a VS to a new one

[CMake] Converting a VS Build to CMake/Problems with Post-Build steps, questions

2008-02-29 Thread david . karr
> From: Anteru <[EMAIL PROTECTED]> > > I'm currently converting a fairly large project over to CMake. This is how I got into CMake, albeit without the x86/x64 wrinkle. It took some effort to switch the project over, but I am very glad we did. Caveat: The following is based on a much older versi

[CMake] Converting a VS Build to CMake/Problems with Post-Build steps, questions

2008-02-29 Thread Anteru
Hello, I'm currently converting a fairly large project over to CMake. This is my first contact with CMake, so I might be trying to do things totally wrong, anyway, I've encountered some problems which I could not solve. Searching the Web or reading the FAQ didn't help; is there any way to se