View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0012541 | CMake | CMake | public | 2011-10-26 16:49 | 2011-12-16 17:22 | ||||
Reporter | Jason Haslam | ||||||||
Assigned To | Alex Neundorf | ||||||||
Priority | normal | Severity | minor | Reproducibility | N/A | ||||
Status | closed | Resolution | fixed | ||||||
Platform | OS | OS Version | |||||||
Product Version | CMake 2.8.6 | ||||||||
Target Version | CMake 2.8.7 | Fixed in Version | CMake 2.8.7 | ||||||
Summary | 0012541: Missing option to pass flags to moc for AUTOMOC targets | ||||||||
Description | The qt4_wrap_cpp() macro has an optional OPTIONS flag to allow passing extra flags to moc. The new AUTOMOC property seems to be missing equivalent functionality. Suggest adding a new AUTOMOC_OPTIONS or AUTOMOC_FLAGS (or similar) property for this purpose. | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | |||||||||
Relationships | |
Relationships |
Notes | |
(0027695) Alex Neundorf (developer) 2011-11-01 09:39 |
Can you please try the AddMocOptionsToAutomoc branch on cmake stage ? http://cmake.org/gitweb?p=stage/cmake.git;a=shortlog;h=refs/heads/AddMocOptionsToAutomoc [^] It has a new target property AUTOMOC_MOC_OPTIONS, which you can use to give extra options to moc. This target property is initialized from the CMAKE_AUTOMOC_MOC_OPTIONS variable. Please let me know whether this works for you. |
(0027703) Jason Haslam (reporter) 2011-11-01 12:36 |
Yes, it works fine for our use case. Thanks for adding this! |
(0027704) Alex Neundorf (developer) 2011-11-01 16:40 |
I merged it into next, should be in 2.8.7. |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2011-10-26 16:49 | Jason Haslam | New Issue | |
2011-10-26 16:50 | Alex Neundorf | Assigned To | => Alex Neundorf |
2011-10-26 16:50 | Alex Neundorf | Status | new => assigned |
2011-11-01 09:39 | Alex Neundorf | Note Added: 0027695 | |
2011-11-01 12:36 | Jason Haslam | Note Added: 0027703 | |
2011-11-01 16:40 | Alex Neundorf | Note Added: 0027704 | |
2011-11-01 16:40 | Alex Neundorf | Status | assigned => closed |
2011-11-01 16:40 | Alex Neundorf | Resolution | open => fixed |
2011-12-16 17:22 | David Cole | Fixed in Version | => CMake 2.8.7 |
2011-12-16 17:22 | David Cole | Target Version | => CMake 2.8.7 |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |