The following issue has been SUBMITTED. ====================================================================== http://public.kitware.com/Bug/view.php?id=14355 ====================================================================== Reported By: Daniel Schepler Assigned To: ====================================================================== Project: CMake Issue ID: 14355 Category: Modules Reproducibility: N/A Severity: feature Priority: normal Status: new ====================================================================== Date Submitted: 2013-08-13 15:57 EDT Last Modified: 2013-08-13 15:57 EDT ====================================================================== Summary: Implementation of qt4_add_executable/library Description: Here's a set of Qt4 utility macros I developed for a project here. Got permission from my supervisor to submit it here in case you'd be interested in adding it (they could potentially be useful for any project using Qt4). It would be suitable either as a separate addon, or as additional content to be incorporated into Qt4Macros.cmake.
The first macro, qt4_source_groups(), should be self-explanatory. The rest is mainly meant as support for the main macros, qt4_add_executable() and qt4_add_library(), which automate the process of calling qt4_wrap_cpp(), qt4_add_resources(), etc. Some potential issues: It currently only handles .ui, .qrc files and headers which need MOC generation; it doesn't handle other things like DBus interface files, though those shouldn't be too hard to add if somebody needs them. And it doesn't handle automoc, as I have no idea how that's supposed to work. ====================================================================== Issue History Date Modified Username Field Change ====================================================================== 2013-08-13 15:57 Daniel ScheplerNew Issue 2013-08-13 15:57 Daniel ScheplerFile Added: QtUtilMacros.cmake ====================================================================== -- 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://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers
