blob: 4f6464a092d1f8fc5214199c1bcffc868b7dcbce (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
Import("env")
if 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 = [
"linit.cpp",
"Swiftob.cpp",
"Users.cpp",
"Commands.cpp",
"MUCs.cpp",
"Storage.cpp",
"LuaCommands.cpp",
"main.cpp"
]
swiftob = myenv.Program("swiftob", sources)
|