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 bb1ec31 commit f45f573Copy full SHA for f45f573
build.bfg
@@ -2,10 +2,15 @@
2
3
from os.path import splitext
4
5
-if env.compiler('c++').flavor == 'cc':
6
- global_options(['-std=c++1y'], lang='c++')
+bfg9000_required_version('>=0.2.0')
+project('bencode_hpp', version='1.0pre')
7
8
-includes = header_directory('include')
+if env.builder('c++').flavor == 'msvc':
9
+ global_options(['/EHsc'], lang='c++')
10
+else:
11
+ global_options(['-std=c++14'], lang='c++')
12
+
13
+includes = header_directory('include', include='*.hpp')
14
15
install(includes)
16
@@ -20,3 +25,5 @@ for src in find_files('test', '*.cpp'):
20
25
include=includes,
21
26
packages=[boost, libmettle]
22
27
), driver=mettle)
28
29
+extra_dist(files=['README.md', 'LICENSE'])
0 commit comments