[CMake] Out-of-source build with QT_WRAP_UI

2008-06-25 Thread Roy van Pelt
Dear all, I'm trying to create the following situation, but so far I did not manage to do so with the examples I found on the Internet. I have: build_linux\ CMakeLists.txt src ui mainWindow.ui main.cxx main.h CMakeLists.cxx The root CMakeLists uses SUBDIR to run the CMakeLists for

[CMake] Code::Blocks generator setting in CMakeLists

2008-06-06 Thread Roy van Pelt
Dear all, Is it possible to include the generator choice into the CMakeLists.txt? I know for windows the CMake tool allows to configure the development environment. But for Linux you have to configure it using a parameter for CMake. I would like to incorporate this in my CMakeList if possible. F