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