mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-01 11:50:11 -05:00
Start work on automoc: add empty cmQtAutomoc class
Alex
This commit is contained in:
@@ -228,6 +228,8 @@ SET(SRCS
|
|||||||
cmPropertyDefinitionMap.h
|
cmPropertyDefinitionMap.h
|
||||||
cmPropertyMap.cxx
|
cmPropertyMap.cxx
|
||||||
cmPropertyMap.h
|
cmPropertyMap.h
|
||||||
|
cmQtAutomoc.cxx
|
||||||
|
cmQtAutomoc.h
|
||||||
cmScriptGenerator.h
|
cmScriptGenerator.h
|
||||||
cmScriptGenerator.cxx
|
cmScriptGenerator.cxx
|
||||||
cmSourceFile.cxx
|
cmSourceFile.cxx
|
||||||
|
|||||||
@@ -0,0 +1,10 @@
|
|||||||
|
#include "cmQtAutomoc.h"
|
||||||
|
|
||||||
|
cmQtAutomoc::cmQtAutomoc()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
bool cmQtAutomoc::Run(const char* targetDirectory)
|
||||||
|
{
|
||||||
|
}
|
||||||
@@ -0,0 +1,11 @@
|
|||||||
|
#ifndef cmQtAutomoc_h
|
||||||
|
#define cmQtAutomoc_h
|
||||||
|
|
||||||
|
class cmQtAutomoc
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
cmQtAutomoc();
|
||||||
|
bool Run(const char* targetDirectory);
|
||||||
|
};
|
||||||
|
|
||||||
|
#endif
|
||||||
@@ -20,6 +20,7 @@
|
|||||||
#include "cmCommand.h"
|
#include "cmCommand.h"
|
||||||
#include "cmFileTimeComparison.h"
|
#include "cmFileTimeComparison.h"
|
||||||
#include "cmGeneratedFileStream.h"
|
#include "cmGeneratedFileStream.h"
|
||||||
|
#include "cmQtAutomoc.h"
|
||||||
#include "cmSourceFile.h"
|
#include "cmSourceFile.h"
|
||||||
#include "cmVersion.h"
|
#include "cmVersion.h"
|
||||||
#include "cmTest.h"
|
#include "cmTest.h"
|
||||||
@@ -1574,6 +1575,12 @@ int cmake::ExecuteCMakeCommand(std::vector<std::string>& args)
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
else if (args[1] == "cmake_automoc")
|
||||||
|
{
|
||||||
|
cmQtAutomoc automoc;
|
||||||
|
automoc.Run("target directory");
|
||||||
|
}
|
||||||
|
|
||||||
// Tar files
|
// Tar files
|
||||||
else if (args[1] == "tar" && args.size() > 3)
|
else if (args[1] == "tar" && args.size() > 3)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user