Skip to content

Commit 3d9dd98

Browse files
committed
update makefile
1 parent e2d37b6 commit 3d9dd98

2 files changed

Lines changed: 11 additions & 2 deletions

File tree

Makefile

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
requirements:
2+
sudo apt install libboost-all-dev libwebsocketpp-dev scons
3+
4+
build:
5+
scons
6+
7+
install:
8+
sudo cp ./wsperf /usr/local/bin/wsperf
9+
110
clean:
211
rm -f result*.json
312
sudo rm -f perf*

SConstruct

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ else:
199199
# if the build system is known to allow the isystem modifier for library include
200200
# values then use it for the boost libraries. Otherwise just add them to the
201201
# regular CPPPATH values.
202-
if env['CXX'].startswith('g++') or env['CXX'].startswith('clang'):
202+
if False and (env['CXX'].startswith('g++') or env['CXX'].startswith('clang')):
203203
env.Append(CPPFLAGS = '-isystem ' + env['BOOST_INCLUDES'])
204204
else:
205205
env.Append(CPPPATH = [env['BOOST_INCLUDES']])
@@ -208,7 +208,7 @@ env.Append(LIBPATH = [env['BOOST_LIBS']])
208208
# if the build system is known to allow the isystem modifier for library include
209209
# values then use it for the boost libraries. Otherwise just add them to the
210210
# regular CPPPATH values.
211-
if env_cpp11['CXX'].startswith('g++') or env_cpp11['CXX'].startswith('clang'):
211+
if False and (env_cpp11['CXX'].startswith('g++') or env_cpp11['CXX'].startswith('clang')):
212212
env_cpp11.Append(CPPFLAGS = '-isystem ' + env_cpp11['BOOST_INCLUDES'])
213213
else:
214214
env_cpp11.Append(CPPPATH = [env_cpp11['BOOST_INCLUDES']])

0 commit comments

Comments
 (0)