(WIP) Add a native PowerPC testing frontend
This commit is contained in:
15
premake5.lua
15
premake5.lua
@@ -5,6 +5,14 @@ location(build_root)
|
||||
targetdir(build_bin)
|
||||
objdir(build_obj)
|
||||
|
||||
-- Define an ARCH variable
|
||||
-- Only use this to enable architecture-specific functionality.
|
||||
if os.is("linux") then
|
||||
ARCH = os.outputof("uname -p")
|
||||
else
|
||||
ARCH = "unknown"
|
||||
end
|
||||
|
||||
includedirs({
|
||||
".",
|
||||
"src",
|
||||
@@ -84,6 +92,13 @@ filter("platforms:Linux")
|
||||
"pthread",
|
||||
})
|
||||
|
||||
filter({"platforms:Linux", "language:C++", "toolset:gcc"})
|
||||
buildoptions({
|
||||
"--std=c++11",
|
||||
})
|
||||
links({
|
||||
})
|
||||
|
||||
filter({"platforms:Linux", "language:C++", "toolset:clang"})
|
||||
buildoptions({
|
||||
"-std=c++14",
|
||||
|
||||
Reference in New Issue
Block a user