summaryrefslogtreecommitdiffstats
path: root/Source/cmcmd.cxx
diff options
context:
space:
mode:
authorSebastian Holtermann <sebholt@xwmw.org>2019-09-27 13:57:29 (GMT)
committerSebastian Holtermann <sebholt@xwmw.org>2019-09-28 22:07:32 (GMT)
commit6bd40ccf8424a6e8c3a77857d48600ed7c624a07 (patch)
tree11e7a03ae5b43dcf699ca15ef2d3acbcb4293361 /Source/cmcmd.cxx
parente0e9be3d575a255add19169d174c869fdebebbeb (diff)
downloadCMake-6bd40ccf8424a6e8c3a77857d48600ed7c624a07.zip
CMake-6bd40ccf8424a6e8c3a77857d48600ed7c624a07.tar.gz
CMake-6bd40ccf8424a6e8c3a77857d48600ed7c624a07.tar.bz2
Autogen: Make cmQtAutoMocUic a free function
Diffstat (limited to 'Source/cmcmd.cxx')
-rw-r--r--Source/cmcmd.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmcmd.cxx b/Source/cmcmd.cxx
index f075e21..7bb3dce 100644
--- a/Source/cmcmd.cxx
+++ b/Source/cmcmd.cxx
@@ -27,6 +27,7 @@
#if !defined(CMAKE_BOOTSTRAP) && defined(_WIN32)
# include "bindexplib.h"
+# include "cmFileTime.h"
# include "cmsys/ConsoleBuf.hxx"
#endif
@@ -1059,10 +1060,9 @@ int cmcmd::ExecuteCMakeCommand(std::vector<std::string> const& args)
#ifndef CMAKE_BOOTSTRAP
if ((args[1] == "cmake_autogen") && (args.size() >= 4)) {
- cmQtAutoMocUic autoGen;
cm::string_view const infoFile = args[2];
cm::string_view const config = args[3];
- return autoGen.Run(infoFile, config) ? 0 : 1;
+ return cmQtAutoMocUic(infoFile, config) ? 0 : 1;
}
if ((args[1] == "cmake_autorcc") && (args.size() >= 3)) {
cm::string_view const infoFile = args[2];