(WIP) Add a native PowerPC testing frontend

This commit is contained in:
Dr. Chat
2017-05-08 22:21:43 -05:00
parent 095f65c19e
commit ccd6d4b199
4 changed files with 763 additions and 0 deletions

View File

@@ -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",