Start work on automoc: add empty cmQtAutomoc class

Alex
This commit is contained in:
Alex Neundorf 2011-08-07 12:02:46 +02:00
parent 2c14a176bb
commit a65011baf1
4 changed files with 30 additions and 0 deletions

View File

@ -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
View File

@ -0,0 +1,10 @@
#include "cmQtAutomoc.h"
cmQtAutomoc::cmQtAutomoc()
{
}
bool cmQtAutomoc::Run(const char* targetDirectory)
{
}

11
Source/cmQtAutomoc.h Normal file
View File

@ -0,0 +1,11 @@
#ifndef cmQtAutomoc_h
#define cmQtAutomoc_h
class cmQtAutomoc
{
public:
cmQtAutomoc();
bool Run(const char* targetDirectory);
};
#endif

View File

@ -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)
{