summaryrefslogtreecommitdiffstats
path: root/Source/cmQtAutoGenInitializer.h
diff options
context:
space:
mode:
authorDuncan Barber <7744-dunquan@users.noreply.gitlab.kitware.com>2021-04-03 10:53:53 (GMT)
committerDuncan Barber <7744-dunquan@users.noreply.gitlab.kitware.com>2021-04-10 17:40:22 (GMT)
commita8d879cf4507f0460dd8386a10c3b4ffe79c3566 (patch)
treedd7d7419e914d14fcfb26d6634bc8f7fd9eaebd1 /Source/cmQtAutoGenInitializer.h
parent1876f2d03fe3ccc4ea02c27fe345657b3366b48e (diff)
downloadCMake-a8d879cf4507f0460dd8386a10c3b4ffe79c3566.zip
CMake-a8d879cf4507f0460dd8386a10c3b4ffe79c3566.tar.gz
CMake-a8d879cf4507f0460dd8386a10c3b4ffe79c3566.tar.bz2
Autogen: Add detection of UI file changes to the pre-build VS case
This is achieved by adding a rule file which carries the UI files as dependencies but performs no meaningful command. Its output path points to a timestamp file which is instead touched by the pre-build command that runs autogen. The rule file therefore triggers the build if any of the files have been changed more recently than the last autogen run. Fixes: #17959 Fixes: #18741
Diffstat (limited to 'Source/cmQtAutoGenInitializer.h')
-rw-r--r--Source/cmQtAutoGenInitializer.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmQtAutoGenInitializer.h b/Source/cmQtAutoGenInitializer.h
index d096315..8a6d8f9 100644
--- a/Source/cmQtAutoGenInitializer.h
+++ b/Source/cmQtAutoGenInitializer.h
@@ -238,6 +238,7 @@ private:
: GenVarsT(GenT::UIC){};
std::set<std::string> SkipUi;
+ std::vector<std::string> UiFilesNoOptions;
std::vector<UiFileT> UiFilesWithOptions;
ConfigStrings<std::vector<std::string>> Options;
std::vector<std::string> SearchPaths;