diff options
author | SupSuper | 2019-04-15 18:59:00 +0100 |
---|---|---|
committer | Matan Bareket | 2019-04-20 07:47:25 -0400 |
commit | 5c0529abc2fd724bdd9e5d52f9394e4f1eacb8b1 (patch) | |
tree | 563379bfee83ae7d7cd08e7e246ef355cef839e1 /devtools/create_project/visualstudio.h | |
parent | 71e4bb108a292044f71f260633e7373b239424da (diff) | |
download | scummvm-rg350-5c0529abc2fd724bdd9e5d52f9394e4f1eacb8b1.tar.gz scummvm-rg350-5c0529abc2fd724bdd9e5d52f9394e4f1eacb8b1.tar.bz2 scummvm-rg350-5c0529abc2fd724bdd9e5d52f9394e4f1eacb8b1.zip |
CREATE_PROJECT: Refactor Visual Studio version differences
Moved most generation differences to a MSVCVersion class, makes it
easier to support new versions without tracking down if-checks everywhere.
Diffstat (limited to 'devtools/create_project/visualstudio.h')
-rw-r--r-- | devtools/create_project/visualstudio.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/devtools/create_project/visualstudio.h b/devtools/create_project/visualstudio.h index 7eb66c4f2d..29ef9da835 100644 --- a/devtools/create_project/visualstudio.h +++ b/devtools/create_project/visualstudio.h @@ -29,7 +29,7 @@ namespace CreateProjectTool { class VisualStudioProvider : public MSVCProvider { public: - VisualStudioProvider(StringList &global_warnings, std::map<std::string, StringList> &project_warnings, const int version); + VisualStudioProvider(StringList &global_warnings, std::map<std::string, StringList> &project_warnings, const int version, const MSVCVersion& msvc); protected: void createProjectFile(const std::string &name, const std::string &uuid, const BuildSetup &setup, const std::string &moduleDir, @@ -46,7 +46,6 @@ protected: const char *getProjectExtension(); const char *getPropertiesExtension(); - int getVisualStudioVersion(); void outputConfiguration(std::ostream &project, const BuildSetup &setup, const std::string &libraries, const std::string &config, const std::string &platform, const std::string &props, const bool isWin32); void outputConfiguration(const BuildSetup &setup, std::ostream &project, const std::string &toolConfig, const std::string &config, const std::string &platform, const std::string &props); |