|
@@ -41,6 +41,7 @@ function toolchain(_buildDir, _libDir)
|
|
|
{ "vs2012-clang", "Clang 3.6" },
|
|
{ "vs2012-clang", "Clang 3.6" },
|
|
|
{ "vs2013-clang", "Clang 3.6" },
|
|
{ "vs2013-clang", "Clang 3.6" },
|
|
|
{ "winphone8", "Windows Phone 8.0" },
|
|
{ "winphone8", "Windows Phone 8.0" },
|
|
|
|
|
+ { "winphone81", "Windows Phone 8.1" }
|
|
|
},
|
|
},
|
|
|
}
|
|
}
|
|
|
|
|
|
|
@@ -272,6 +273,12 @@ function toolchain(_buildDir, _libDir)
|
|
|
premake.vstudio.toolset = "v110_wp80"
|
|
premake.vstudio.toolset = "v110_wp80"
|
|
|
location (_buildDir .. "projects/" .. _ACTION .. "-winphone8")
|
|
location (_buildDir .. "projects/" .. _ACTION .. "-winphone8")
|
|
|
end
|
|
end
|
|
|
|
|
+
|
|
|
|
|
+ if "winphone81" == _OPTIONS["vs"] then
|
|
|
|
|
+ premake.vstudio.toolset = "v120_wp81"
|
|
|
|
|
+ platforms { "ARM" }
|
|
|
|
|
+ location (_buildDir .. "projects/" .. _ACTION .. "-winphone81")
|
|
|
|
|
+ end
|
|
|
end
|
|
end
|
|
|
|
|
|
|
|
flags {
|
|
flags {
|
|
@@ -345,6 +352,10 @@ function toolchain(_buildDir, _libDir)
|
|
|
"$(DXSDK_DIR)/lib/x64",
|
|
"$(DXSDK_DIR)/lib/x64",
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+ configuration { "ARM", "vs*" }
|
|
|
|
|
+ targetdir (_buildDir .. "arm_" .. _ACTION .. "/bin")
|
|
|
|
|
+ objdir (_buildDir .. "arm_" .. _ACTION .. "/obj")
|
|
|
|
|
+
|
|
|
configuration { "vs*-clang" }
|
|
configuration { "vs*-clang" }
|
|
|
buildoptions {
|
|
buildoptions {
|
|
|
"-Qunused-arguments",
|
|
"-Qunused-arguments",
|
|
@@ -358,6 +369,9 @@ function toolchain(_buildDir, _libDir)
|
|
|
targetdir (_buildDir .. "win64_" .. _ACTION .. "-clang/bin")
|
|
targetdir (_buildDir .. "win64_" .. _ACTION .. "-clang/bin")
|
|
|
objdir (_buildDir .. "win64_" .. _ACTION .. "-clang/obj")
|
|
objdir (_buildDir .. "win64_" .. _ACTION .. "-clang/obj")
|
|
|
|
|
|
|
|
|
|
+ configuration { "winphone8*" }
|
|
|
|
|
+ removeflags { "StaticRuntime", "NoExceptions" }
|
|
|
|
|
+
|
|
|
configuration { "mingw-*" }
|
|
configuration { "mingw-*" }
|
|
|
defines { "WIN32" }
|
|
defines { "WIN32" }
|
|
|
includedirs { bxDir .. "include/compat/mingw" }
|
|
includedirs { bxDir .. "include/compat/mingw" }
|