[CMake] Target property LOCATION doesn't handle DEBUG_POSTFIX

2009-04-30 Thread Stephan Diederich
Hi, subject says all, here's the CMakeLists.txt: -- cmake_minimum_required(VERSION 2.6) project(locate_test) add_executable(location_test main.cpp) set_target_properties(location_test PROPERTIES DEBUG_POSTFIX "d") get_target_property(output location_test LOCATION) message(${output})

Re: [CMake] copy targets into bundles

2008-11-22 Thread Stephan Diederich
On Sat, Nov 22, 2008 at 7:00 PM, Stephan Diederich <[EMAIL PROTECTED]> wrote: > Hi, > > I've a CMakeLists.txt which creates two executable tagets. One of them > is a bundle, the other a command-line utility. Now I want to have (at > best during build) the helper utility

[CMake] copy targets into bundles

2008-11-22 Thread Stephan Diederich
Hi, I've a CMakeLists.txt which creates two executable tagets. One of them is a bundle, the other a command-line utility. Now I want to have (at best during build) the helper utility copied into the Resources folder of the bundle. I could not find a straightforward way of doing this. With source

Re: [CMake] qmake / cmake moc options consistency

2008-08-07 Thread Stephan Diederich
On Thu, Aug 7, 2008 at 2:39 AM, Clinton Stimpson <[EMAIL PROTECTED]> wrote: > On Jul 31, 2008, at 8:12 AM, Stephan Diederich wrote: >> Hi, >> >> I just found an issue while moc'ing one of our headers. >> We have some #ifndeffed slots in that header which depen

[CMake] qmake / cmake moc options consistency

2008-07-31 Thread Stephan Diederich
Hi, I just found an issue while moc'ing one of our headers. We have some #ifndeffed slots in that header which depend on -DWIN32. A default qmake ".pro" project adds -D_MSC_VER=1400 -DWIN32 on windows, MSVC8. The QT4_WRAP_CPP does not define WIN32. (_WIN32 seems to be defined by, but I've no idea

[CMake] Visual Studio, Solutions and dependant projects

2007-09-17 Thread Stephan Diederich
Hi, I want to reanimate discussions about (Visual Studio) support for the following sourcecode layout: Toplevel | -CMakeLists.txt (sets all common stuff) -apps -CMakeLists.txt (adds only the different apps with add_subdirectory(...)) | - App1 - CMakeLists.txt (project(app1), add_ex