summaryrefslogtreecommitdiffstats
blob: bb056bbb65c7801b4bb7be076ec00d21afb22010 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Import("env")


if env["SCONS_STAGE"] == "build":
	myenv = env.Clone()
	myenv.MergeFlags(myenv.get("LUA_FLAGS", {}))
	myenv.MergeFlags(myenv["SWIFTEN_FLAGS"])
	myenv.MergeFlags(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)