We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 275b012 commit 1b76598Copy full SHA for 1b76598
build.bfg
@@ -1,8 +1,6 @@
1
# -*- python -*-
2
3
-from os.path import splitext
4
-
5
-bfg9000_required_version('>=0.4.0')
+bfg9000_required_version('>=0.5.0')
6
project('bencode_hpp', version='0.2-dev')
7
8
global_options([opts.std(argv.std)], lang='c++')
@@ -11,7 +9,7 @@ includes = header_directory('include', include='*.hpp')
11
9
12
10
install(includes)
13
14
-test_files = find_files('test', '*.cpp')
+test_files = find_paths('test', '*.cpp')
15
boost = boost_package(version='>=1.23')
16
17
try:
@@ -20,7 +18,7 @@ try:
20
18
21
19
for src in test_files:
22
test(executable(
23
- splitext(src)[0],
+ src.stripext().suffix,
24
files=src,
25
includes=includes,
26
packages=[boost, libmettle]
0 commit comments