https://github.com/Kitware/CMake
Revision e4232b82e6d285edf9038e2f352df61ab362b6fd authored by Brad King on 09 November 2016, 16:05:45 UTC, committed by Brad King on 09 November 2016, 16:22:07 UTC
Refactoring in commit v3.6.0-rc1~134^2~10 (Autogen: Split out moc file
generation code to dedicated method, 2016-04-18) removed the
unconditional creation of the `<target>_automoc.cpp` file.  Now it is
generated only when `AUTOMOC` is enabled.  However, if this file is not
created then our internal `GenerateAll` setting is enabled on every
build, causing `AUTORCC` to re-generate its file(s) every time.  Fix the
`GenerateAll` setting to be used only for when autogen settings change.
The old logic was left from when we had only automoc.

Closes: #16413
1 parent adf5f25
Raw File
Tip revision: e4232b82e6d285edf9038e2f352df61ab362b6fd authored by Brad King on 09 November 2016, 16:05:45 UTC
QtAutogen: Do not re-generate AUTORCC outputs on every build
Tip revision: e4232b8
.hooks-config.bash
# Distributed under the OSI-approved BSD 3-Clause License.  See accompanying
# file Copyright.txt or https://cmake.org/licensing for details.

# Loaded by .git/hooks/(pre-commit|commit-msg|prepare-commit-msg)
# during git commit after local hooks have been installed.

hooks_chain_pre_commit="Utilities/Git/pre-commit"
hooks_chain_commit_msg="Utilities/Git/commit-msg"
hooks_chain_prepare_commit_msg="Utilities/Git/prepare-commit-msg"
back to top