Skip to content

Commit

Permalink
No longer duplicate source files to builddir.
Browse files Browse the repository at this point in the history
  • Loading branch information
loonycyborg committed Sep 9, 2008
1 parent cea87d2 commit cd64ea0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion SConstruct
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ Export("env")
Export("editor_env")
if env["HOST"]: build = env["Build"] + "-" + env["HOST"]
else: build = env["Build"]
silvertree, editor = SConscript("src/SConscript", build_dir = join("build", build))
silvertree, editor = SConscript("src/SConscript", build_dir = join("build", build), duplicate = False)

if (not env["HOST"] or env["HOST"] == "mingw32") and env["Build"] == "release":
ExecutableSuffix = env["PROGSUFFIX"]
Expand Down
1 change: 1 addition & 0 deletions src/editor/SConscript
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ Import("editor_env")
Import("lib_silvertree")

if editor_env["HaveQt"]:
editor_env.Append(CPPPATH = ".")
editor_sources = Glob("*.cpp", source = True, strings = True)
editor_sources.remove("oldmain.cpp")
editor_uis = Glob("*.ui", source = True)
Expand Down

0 comments on commit cd64ea0

Please sign in to comment.