Yet another bugfix...

This commit is contained in:
Alexander Afanasyev committed 2019-03-18 15:27:27 -04:00
1 parent f06b995c26
commit 8c91e46d20
1 file changed
+1 -11
+1 -11
View File
@@ -77,7 +77,7 @@ def build (bld):
use = deps,
)
for scenario in bld.path.ant_glob(['scenarios/*.cc']):
for scenario in bld.path.ant_glob(['scenarios/*.cc', 'scenarios/*.cpp']):
name = scenario.change_ext('').path_from(bld.path.find_node('scenarios/').get_bld())
app = bld.program (
target = name,
@@ -87,16 +87,6 @@ def build (bld):
includes = "extensions"
)
for scenario in bld.path.ant_glob(['scenarios/*.cpp']):
name = scenario.path_from(bld.path)
app = bld.program (
target = name,
features = ['cxx'],
source = [scenario],
use = deps + " extensions",
includes = "extensions"
)
def shutdown (ctx):
if Options.options.run:
visualize=Options.options.visualize