Start work on automoc: add empty cmQtAutomoc class
Alex
This commit is contained in:
parent
2c14a176bb
commit
a65011baf1
@ -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
|
||||||
|
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 "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)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user