summaryrefslogtreecommitdiffstats
blob: b53057c17178da3589a8eff5192dae9fd2b2dea5 (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.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)