The following issue has been SUBMITTED.
======================================================================
http://public.kitware.com/Bug/view.php?id=13494
======================================================================
Reported By: Stephen Kelly
Assigned To: Alex Neundorf
======================================================================
Project: CMake
Issue ID: 13494
Category: CMake
Reproducibility: always
Severity: minor
Priority: normal
Status: assigned
======================================================================
Date Submitted: 2012-08-27 12:48 EDT
Last Modified: 2012-08-27 12:48 EDT
======================================================================
Summary: 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.
======================================================================
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
======================================================================
--
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