Greetings, Still with cmake L-plates firmly on ( with a Qt4 project ) I have now stumbled into this:-
I have a series of header files to compile into .cpp files via the QT4_WRAP_CPP() utility. Just one of the file needs to 'compiled' beforehand then compiled to object code with other normal .cpp source- files beforehand. I thus want to set the directory for the generated 'transitory' file. (for obvious reasons such as to know where it is!) I checked the cmake doc and wikis, mailing list etc and the best I came across was this:- http://www.mail-archive.com/cmake@cmake.org/msg24990.html sugggesting the following:- ------------------------------------- FILE(GLOB MOC_HEADERS moc/*.h ) QT4_WRAP_CPP(out_moc_files ${MOC_HEADERS}) And the generated files are going in my CMAKE_BINARY_DIR. ---------------------------- Has there been any changes that allow the generated file to be placed in say $(CMAKE_BINARY_DIRECTORY}/somedirectory? and if so how is this achieved. thanks n advance sincerely luxIngeg _______________________________________________ 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