Yet another bugfix...
This commit is contained in:
1 parent
f06b995c26
commit
8c91e46d20
1 file changed
+1
-11
@@ -77,7 +77,7 @@ def build (bld):
|
|||||||
use = deps,
|
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())
|
name = scenario.change_ext('').path_from(bld.path.find_node('scenarios/').get_bld())
|
||||||
app = bld.program (
|
app = bld.program (
|
||||||
target = name,
|
target = name,
|
||||||
@@ -87,16 +87,6 @@ def build (bld):
|
|||||||
includes = "extensions"
|
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):
|
def shutdown (ctx):
|
||||||
if Options.options.run:
|
if Options.options.run:
|
||||||
visualize=Options.options.visualize
|
visualize=Options.options.visualize
|
||||||
|
|||||||
Reference in new issue
Block a user