Skip to content

Instantly share code, notes, and snippets.

@programmarchy
Created March 7, 2015 23:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save programmarchy/7c0626d4df78cb48b293 to your computer and use it in GitHub Desktop.
Save programmarchy/7c0626d4df78cb48b293 to your computer and use it in GitHub Desktop.
SConstruct
env = Environment()
env.Append(CPPPATH = ['.', 'lib/websocketpp', 'lib/cpp-json/include'])
env.Append(LIBS = ['boost_system'])
env.Append(CXXFLAGS = ['-std=c++11', '-stdlib=libc++', '-D_WEBSOCKETPP_CPP11_STL'])
env.Append(FRAMEWORKS = ['Foundation', 'IOBluetooth'])
program = env.Program(target = 'server', source = ["main.cpp", "bluetooth_serial.mm"])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment