Re: [CMake] Custom directories for QT4

2007-10-29 Thread Marcin Gil
Dnia poniedziałek, 29 października 2007, Andreas Pakulat napisał: > I may be overlooking something, but the usual use-case for this with > QMake is to either not clutter the source tree with buildfiles or to > have different output directories for different build-configurations. > > Neither of the

[CMake] Custom directories for QT4

2007-10-29 Thread Marcin Gil
Hi! Using qmake and it's project files one can define locations eg for moc/ui parsed files. The variables are UI_DIR for UI generated headers location and MOC_DIR for moc generated files. Simply setting set (UI_DIR ui) doesn't work. Is there a way to force generation of those files to directorie

[CMake] KDevelop, QT and CMake

2007-08-17 Thread Marcin Gil
Hi! I am a bit frustrated, since I haven't found any good value tutorial how to develop QT4 software using KDevelop and CMake instead of QMake. QMake automatically parses .ui files, creates includes, .moc files etc. How can this be achieved by using CMake? Can anyone point me to a good tutorial

[CMake] cmake can't find qt4

2007-02-06 Thread Marcin Gil
I'm learning to use cmake for qt4 programs. in main directory CMakeLists.txt: -= PROJECT(dtmanager) FIND_PACKAGE(QT4 REQUIRED) ADD_SUBDIRECTORY(src) =- in src: -= INCLUDE(${QT_USE_FILE}) INCLUDE_DIRECTORIES( ${CMAKE_CURRENT_BINARY_DIR} ${QT_INCLUDE_DIR} ${QT_QTNETWORK

Re: [CMake] question about SHARED and MODULE

2007-01-24 Thread Marcin Gil
fferent linking model? Kind regards, -Marcin Gil ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake

[CMake] 2.4.6 still has bug on NMake Makefiles

2007-01-12 Thread Marcin Gil
This bug is still present. http://www.cmake.org/Bug/bug.php?op=show&bugid=4294&pos=0 ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake

Re: [CMake] Multiple build types at one go

2007-01-04 Thread Marcin Gil
Dnia czwartek, 4 stycznia 2007 16:11, Alexander Neundorf napisał: > > > You could setup two out-of-source buildtrees and compile each with a > > > different buildtype. Is this good enough ? > > > > Hmm.. never thought of this. So my layout would be > > > > build/ > > /debug > > /release > > > >

[CMake] Spaces in paths bug

2007-01-04 Thread Marcin Gil
Hi! My source directory looks like this: ProjectName/ /00 Bin /10 Build /Debug /Release /50 Common /SBF I have CMakeLists.txt ProjectName/ CMakeLists.txt: PROJECT(ProjectName) ADD_SUBDIRECTORY("50 Common") /50 Common CMakeLists.txt: ADD_SUBDIRECTORY(SBF) /SBF

Re: [CMake] Multiple build types at one go

2007-01-04 Thread Marcin Gil
On 1/4/07, Alexander Neundorf <[EMAIL PROTECTED]> wrote: You could setup two out-of-source buildtrees and compile each with a different buildtype. Is this good enough ? Hmm.. never thought of this. So my layout would be build/ /debug /release go in both directories in build and issue cma

[CMake] Multiple build types at one go

2007-01-04 Thread Marcin Gil
Is there a way to build multiple build types at one go? I would like to be able to build Debug and Release like nmake debug; nmake install nmake release; nmake install assuming that both versions install to different directories. Thanks! -Marcin ___ C

[CMake] Source files from subdirectory not built in the same dir

2007-01-03 Thread Marcin Gil
Makefiles generator. Thank you, -Marcin Gil ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake