mirror of
https://github.com/libretro/scummvm.git
synced 2025-05-13 17:46:22 +00:00
CREATE_PROJECT: Sparkle override/final
This commit is contained in:
parent
db30b4a135
commit
c20f81e430
@ -31,25 +31,25 @@ namespace CreateProjectTool {
|
||||
*
|
||||
* Generated CMake projects are minimal, and will only work with GCC.
|
||||
*/
|
||||
class CMakeProvider : public ProjectProvider {
|
||||
class CMakeProvider final : public ProjectProvider {
|
||||
public:
|
||||
CMakeProvider(StringList &global_warnings, std::map<std::string, StringList> &project_warnings, const int version = 0);
|
||||
|
||||
protected:
|
||||
|
||||
void createWorkspace(const BuildSetup &setup);
|
||||
void createWorkspace(const BuildSetup &setup) final;
|
||||
|
||||
void createOtherBuildFiles(const BuildSetup &) {}
|
||||
void createOtherBuildFiles(const BuildSetup &) final {}
|
||||
|
||||
void addResourceFiles(const BuildSetup &setup, StringList &includeList, StringList &excludeList) {}
|
||||
void addResourceFiles(const BuildSetup &setup, StringList &includeList, StringList &excludeList) final {}
|
||||
|
||||
void createProjectFile(const std::string &name, const std::string &uuid, const BuildSetup &setup, const std::string &moduleDir,
|
||||
const StringList &includeList, const StringList &excludeList);
|
||||
const StringList &includeList, const StringList &excludeList) final;
|
||||
|
||||
void writeFileListToProject(const FileNode &dir, std::ofstream &projectFile, const int indentation,
|
||||
const std::string &objPrefix, const std::string &filePrefix);
|
||||
const std::string &objPrefix, const std::string &filePrefix) final;
|
||||
|
||||
const char *getProjectExtension();
|
||||
const char *getProjectExtension() final;
|
||||
|
||||
private:
|
||||
enum SDLVersion {
|
||||
|
@ -26,27 +26,27 @@
|
||||
|
||||
namespace CreateProjectTool {
|
||||
|
||||
class CodeBlocksProvider : public ProjectProvider {
|
||||
class CodeBlocksProvider final : public ProjectProvider {
|
||||
public:
|
||||
CodeBlocksProvider(StringList &global_warnings, std::map<std::string, StringList> &project_warnings, const int version = 0);
|
||||
|
||||
protected:
|
||||
|
||||
void createWorkspace(const BuildSetup &setup);
|
||||
void createWorkspace(const BuildSetup &setup) final;
|
||||
|
||||
void createOtherBuildFiles(const BuildSetup &) {}
|
||||
void createOtherBuildFiles(const BuildSetup &) final {}
|
||||
|
||||
void addResourceFiles(const BuildSetup &setup, StringList &includeList, StringList &excludeList);
|
||||
void addResourceFiles(const BuildSetup &setup, StringList &includeList, StringList &excludeList) final;
|
||||
|
||||
void createProjectFile(const std::string &name, const std::string &uuid, const BuildSetup &setup, const std::string &moduleDir,
|
||||
const StringList &includeList, const StringList &excludeList);
|
||||
const StringList &includeList, const StringList &excludeList) final;
|
||||
|
||||
void writeFileListToProject(const FileNode &dir, std::ofstream &projectFile, const int indentation,
|
||||
const std::string &objPrefix, const std::string &filePrefix);
|
||||
const std::string &objPrefix, const std::string &filePrefix) final;
|
||||
|
||||
void writeReferences(const BuildSetup &setup, std::ofstream &output);
|
||||
void writeReferences(const BuildSetup &setup, std::ofstream &output) final;
|
||||
|
||||
const char *getProjectExtension();
|
||||
const char *getProjectExtension() final;
|
||||
|
||||
private:
|
||||
void writeWarnings(const std::string &name, std::ofstream &output) const;
|
||||
|
@ -26,7 +26,7 @@
|
||||
|
||||
namespace CreateProjectTool {
|
||||
|
||||
class MSBuildProvider : public MSVCProvider {
|
||||
class MSBuildProvider final : public MSVCProvider {
|
||||
public:
|
||||
MSBuildProvider(StringList &global_warnings, std::map<std::string, StringList> &project_warnings, const int version, const MSVCVersion &msvc);
|
||||
|
||||
|
@ -53,11 +53,11 @@ protected:
|
||||
std::string getLibraryFromFeature(const char *feature, const BuildSetup &setup, bool isRelease) const;
|
||||
std::string outputLibraryDependencies(const BuildSetup &setup, bool isRelease) const;
|
||||
|
||||
void createWorkspace(const BuildSetup &setup);
|
||||
void createWorkspace(const BuildSetup &setup) override;
|
||||
|
||||
void createOtherBuildFiles(const BuildSetup &setup);
|
||||
void createOtherBuildFiles(const BuildSetup &setup) override;
|
||||
|
||||
void addResourceFiles(const BuildSetup &setup, StringList &includeList, StringList &excludeList);
|
||||
void addResourceFiles(const BuildSetup &setup, StringList &includeList, StringList &excludeList) override;
|
||||
|
||||
/**
|
||||
* Create the global project properties.
|
||||
|
@ -29,23 +29,23 @@
|
||||
|
||||
namespace CreateProjectTool {
|
||||
|
||||
class XcodeProvider : public ProjectProvider {
|
||||
class XcodeProvider final : public ProjectProvider {
|
||||
public:
|
||||
XcodeProvider(StringList &global_warnings, std::map<std::string, StringList> &project_warnings, const int version = 0);
|
||||
|
||||
protected:
|
||||
|
||||
void createWorkspace(const BuildSetup &setup);
|
||||
void createWorkspace(const BuildSetup &setup) final;
|
||||
|
||||
void createOtherBuildFiles(const BuildSetup &setup);
|
||||
void createOtherBuildFiles(const BuildSetup &setup) final;
|
||||
|
||||
void addResourceFiles(const BuildSetup &setup, StringList &includeList, StringList &excludeList);
|
||||
void addResourceFiles(const BuildSetup &setup, StringList &includeList, StringList &excludeList) final;
|
||||
|
||||
void createProjectFile(const std::string &name, const std::string &uuid, const BuildSetup &setup, const std::string &moduleDir,
|
||||
const StringList &includeList, const StringList &excludeList);
|
||||
const StringList &includeList, const StringList &excludeList) final;
|
||||
|
||||
void writeFileListToProject(const FileNode &dir, std::ofstream &projectFile, const int indentation,
|
||||
const std::string &objPrefix, const std::string &filePrefix);
|
||||
const std::string &objPrefix, const std::string &filePrefix) final;
|
||||
private:
|
||||
enum {
|
||||
kSettingsAsList = 0x01,
|
||||
|
Loading…
x
Reference in New Issue
Block a user