View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0013494 | CMake | CMake | public | 2012-08-27 12:48 | 2012-10-24 17:28 | ||||
Reporter | Stephen Kelly | ||||||||
Assigned To | Alex Neundorf | ||||||||
Priority | normal | Severity | minor | Reproducibility | always | ||||
Status | closed | Resolution | fixed | ||||||
Platform | OS | OS Version | |||||||
Product Version | CMake 2.8.10 | ||||||||
Target Version | CMake 2.8.10 | Fixed in Version | CMake 2.8.10 | ||||||
Summary | 0013494: CMake AUTOMOC does not re-run moc if includes change | ||||||||
Description | If the include directories change, then moc should be re-run, as they are passed to moc: set(CMAKE_AUTOMOC ON) set(CMAKE_INCLUDE_CURRENT_DIR ON) # Commenting and uncommenting this should re-run moc on the # affected files, but it does not. include_directories("test/includes") ... CMake does re-compile the moc file or the automoc target. Commenting a use of add_definitions() does correctly cause moc to be run. | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | |||||||||
Relationships | |
Relationships |
Notes | |
(0030778) Stephen Kelly (developer) 2012-08-27 12:48 |
This is where my confusion in 0013492 came from :). |
(0030779) Alex Neundorf (developer) 2012-08-27 15:41 |
Thanks for repoting, this was so obvious I wonder how I missed this. You can have a look at the AutomocRerunFix branch. |
(0030780) Stephen Kelly (developer) 2012-08-27 15:50 |
Thanks. It works for me. |
(0030782) Alex Neundorf (developer) 2012-08-27 16:11 |
Merged the AutomocRerunFix branch into next. |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2012-08-27 12:48 | Stephen Kelly | New Issue | |
2012-08-27 12:48 | Stephen Kelly | Status | new => assigned |
2012-08-27 12:48 | Stephen Kelly | Assigned To | => Alex Neundorf |
2012-08-27 12:48 | Stephen Kelly | Note Added: 0030778 | |
2012-08-27 15:41 | Alex Neundorf | Note Added: 0030779 | |
2012-08-27 15:50 | Stephen Kelly | Note Added: 0030780 | |
2012-08-27 16:11 | Alex Neundorf | Note Added: 0030782 | |
2012-08-27 16:11 | Alex Neundorf | Status | assigned => closed |
2012-08-27 16:11 | Alex Neundorf | Resolution | open => fixed |
2012-08-27 16:11 | Alex Neundorf | Description Updated | |
2012-10-24 17:28 | David Cole | Fixed in Version | => CMake 2.8.10 |
2012-10-24 17:28 | David Cole | Target Version | => CMake 2.8.10 |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |