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

example_env = env.Clone()
example_env.UseFlags(example_env["SWIFTEN_FLAGS"])
example_env.UseFlags(example_env["SWIFTEN_DEP_FLAGS"])

# Precompile Swiften header
# This is useful to slightly speed up compilation.
# if example_env["PLATFORM"] == "win32":
#   example_env.WriteVal("Swiften.cpp", example_env.Value("#include <Swiften/Swiften.h>\n"))
#   example_env["PCH"] = example_env.PCH("Swiften.cpp")[0]
#   example_env["PCHSTOP"] = "Swiften/Swiften.h"

for i in range(1,7) :
    example_env.Program("EchoBot" + str(i), ["EchoBot" + str(i) + ".cpp"])
example_env.Program("EchoBot0x", "EchoBot0x.cpp")
example_env.Program("EchoComponent", "EchoComponent.cpp")