diff options
Diffstat (limited to 'Swiftob/SConscript')
-rw-r--r-- | Swiftob/SConscript | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/Swiftob/SConscript b/Swiftob/SConscript deleted file mode 100644 index b78ade9..0000000 --- a/Swiftob/SConscript +++ /dev/null @@ -1,24 +0,0 @@ -Import("env") - -if env["SCONS_STAGE"] == "build" and not GetOption("help") and not env.get("HAVE_LUA", 0) : - print "Warning: Lua was not found. Swiftob will not be built." - if "Sluift" in env["PROJECTS"] : - env["PROJECTS"].remove("Sluift") - -elif env["SCONS_STAGE"] == "build": - myenv = env.Clone() - # Too many compile warnings here at the moment - myenv.Replace(CXXFLAGS = [flag for flag in env["CXXFLAGS"] if flag != "-Weverything"]) - myenv.UseFlags(myenv.get("LUA_FLAGS", {})) - myenv.UseFlags(myenv["SWIFTEN_FLAGS"]) - myenv.UseFlags(myenv["SWIFTEN_DEP_FLAGS"]) - sources = [ - "Swiftob.cpp", - "Users.cpp", - "Commands.cpp", - "MUCs.cpp", - "Storage.cpp", - "LuaCommands.cpp", - "main.cpp" - ] - swiftob = myenv.Program("swiftob", sources) |