Import('env')

if GetOption("help"):
    # early exit here not to execute config checks
    Return()

env.Append(
    LIBS=[ "string_util" ],
    CPPPATH=[ Dir("include").srcnode() ],
)

this_env = env.Clone()
this_env.Append(
    CXXFLAGS=["-std=c++11"],
)
sources = Glob("src/*.cpp")
liblnrdb = this_env.Library("liblnrdb", source=sources)
env.Append(LIBS=[liblnrdb])
