Skip to content

Instantly share code, notes, and snippets.

@luistung
Last active August 29, 2015 14:03
Show Gist options
  • Save luistung/8c50cb162769ed83c264 to your computer and use it in GitHub Desktop.
Save luistung/8c50cb162769ed83c264 to your computer and use it in GitHub Desktop.
scons示例
env = Environment(CPPFLAGS=["-std=gnu++0x", "-Wall", "-O0"])
env.SharedLibrary('foo', ['f1.cpp'])
env.Program("test.cpp", LIBS=["boost_regex", "boost_locale", "foo"], LIBPATH='.')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment