Added X11 to scons build and implemented file save and load using zenity.

This commit is contained in:
absquatulate
2017-04-04 19:17:31 +12:00
parent 1406e3dcac
commit b6b6871f86
3 changed files with 59 additions and 27 deletions

View File

@@ -50,6 +50,11 @@ if str(platform) == "posix":
env.Append(CXXFLAGS="-std=c++11 -stdlib=libstdc++")
env["CC"] = 'clang'
env["CXX"] = 'clang++'
env.Append(LIBPATH=Split("""
/usr/lib
"""), CPPPATH=Split("""
/usr/include
"""))
if str(platform) == "darwin":
env.Append(CXXFLAGS="-std=c++11 -stdlib=libc++", RPATH='../Frameworks')
env["CC"] = 'clang'
@@ -292,6 +297,7 @@ elif str(platform) == "win32":
elif str(platform) == "posix":
env.Append(LIBS=Split("""
GL
X11
"""))
Export("env platform")