[Premake] Upgrade to VS2017

This commit is contained in:
momo5502 2017-06-13 14:49:17 +02:00
parent c8c29b55b9
commit a1c14cd03f
4 changed files with 5 additions and 7 deletions

View File

@ -1,4 +1,4 @@
@echo off
echo Updating submodules...
git submodule update --init --recursive
tools\premake5 %* vs2015
tools\premake5 %* vs2017

View File

@ -240,9 +240,6 @@ workspace "iw4x"
platforms "x86"
exceptionhandling ("SEH")
-- VS 2015 toolset only
toolset "msc-140"
flags { "StaticRuntime" }
configuration "windows"
@ -266,7 +263,7 @@ workspace "iw4x"
project "iw4x"
kind "SharedLib"
language "C++"
flags { "C++14" }
cppdialect "C++17"
files {
"./src/**.rc",
"./src/**.hpp",
@ -376,7 +373,8 @@ workspace "iw4x"
end
-- Specific configurations
flags { "UndefinedIdentifiers", "ExtraWarnings" }
flags { "UndefinedIdentifiers" }
warnings "Extra"
if symbols ~= nil then
symbols "On"

View File

@ -255,7 +255,7 @@ namespace Assets
{
// TODO: Allow loading assets from raw!
if (Game::s_elemFields[i].handler(&session, element)) break;
Components::Logger::Error("Failed to parse element %s!\n", newValue);
Components::Logger::Error("Failed to parse element %s!\n", newValue.data());
}
}

Binary file not shown.