SteamLink defines.

This commit is contained in:
Branimir Karadžić
2016-01-16 00:09:08 -08:00
parent 893b1b2d76
commit e2b58e859b
4 changed files with 30 additions and 15 deletions

View File

@@ -702,6 +702,9 @@ function toolchain(_buildDir, _libDir)
objdir (path.join(_buildDir, "steamlink/obj"))
libdirs { path.join(_libDir, "lib/steamlink") }
includedirs { path.join(bxDir, "include/compat/linux") }
defines {
"__STEAMLINK__=1", -- There is no special prefedined compiler symbol to detect SteamLink, faking it.
}
buildoptions {
"-std=c++0x",
"-Wfatal-errors",