On Monday 23 March 2009, Andreas Pakulat wrote: > On 23.03.09 16:29:24, Bob Tanner wrote: > > On 2009-03-23 02:36:37 -0500, Andreas Pakulat <[email protected]> said: > >>> Looking into cmake files, I do see my name all over :-) > >> > >> Seems like you did an in-source build. CMake suggests to use > >> out-of-source builds at all times so your source directory stays clean. > > > > Excellent. Thank you! "My name" is gone. > > > > Have another question. doing out-of-source build and I have src files > > that include QT .moc files, but cannot find them. > > > > Normally this files .moc files get generated in the src directory, but > > out-of-source build put the .moc files into the build/src directory. > > Its normal to add CMAKE_CURRENT_BINARY_DIR or CMAKE_BINARY_DIR to the > include_directories() call.
Or set CMAKE_INCLUDE_CURRENT_DIR to TRUE, then CMAKE_CURRENT_SOURCE_DIR and CMAKE_CURRENT_BINARY_DIR are always added automatically to the include directories. Alex _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake
