mirror of
https://github.com/Relintai/rcpp_framework.git
synced 2024-11-14 04:57:21 +01:00
Build with -o3 by default for now.
This commit is contained in:
parent
5b22c599a9
commit
c43a14a5a0
@ -89,9 +89,11 @@ opts.Add("LINKFLAGS", "Custom flags for the linker")
|
||||
# add default include paths
|
||||
env_base.Prepend(CPPPATH=["#", "libs"])
|
||||
env_base.Prepend(CPPPATH=["#libs"])
|
||||
#env_base.Prepend(CXXFLAGS=["-lpthread"])
|
||||
env_base.Prepend(LINKFLAGS=["-lpthread"])
|
||||
|
||||
env_base.Append(CXX=["-o3"])
|
||||
#env_base.Append(CXX=["-g"])
|
||||
|
||||
env = env_base.Clone()
|
||||
|
||||
Export("env")
|
||||
@ -99,8 +101,8 @@ Export("env")
|
||||
SConscript("core/SCsub")
|
||||
|
||||
env.prg_sources = ["rdn_application.cpp"]
|
||||
plib = env.add_library("prg", env.prg_sources)
|
||||
env.Prepend(LIBS=[plib])
|
||||
libapp = env.add_library("application", env.prg_sources)
|
||||
env.Prepend(LIBS=[libapp])
|
||||
|
||||
prog = env.add_program("#bin/server", ["main.cpp"])
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user