mirror of
https://github.com/Relintai/rcpp_framework.git
synced 2025-05-06 17:51:36 +02: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
|
# add default include paths
|
||||||
env_base.Prepend(CPPPATH=["#", "libs"])
|
env_base.Prepend(CPPPATH=["#", "libs"])
|
||||||
env_base.Prepend(CPPPATH=["#libs"])
|
env_base.Prepend(CPPPATH=["#libs"])
|
||||||
#env_base.Prepend(CXXFLAGS=["-lpthread"])
|
|
||||||
env_base.Prepend(LINKFLAGS=["-lpthread"])
|
env_base.Prepend(LINKFLAGS=["-lpthread"])
|
||||||
|
|
||||||
|
env_base.Append(CXX=["-o3"])
|
||||||
|
#env_base.Append(CXX=["-g"])
|
||||||
|
|
||||||
env = env_base.Clone()
|
env = env_base.Clone()
|
||||||
|
|
||||||
Export("env")
|
Export("env")
|
||||||
@ -99,8 +101,8 @@ Export("env")
|
|||||||
SConscript("core/SCsub")
|
SConscript("core/SCsub")
|
||||||
|
|
||||||
env.prg_sources = ["rdn_application.cpp"]
|
env.prg_sources = ["rdn_application.cpp"]
|
||||||
plib = env.add_library("prg", env.prg_sources)
|
libapp = env.add_library("application", env.prg_sources)
|
||||||
env.Prepend(LIBS=[plib])
|
env.Prepend(LIBS=[libapp])
|
||||||
|
|
||||||
prog = env.add_program("#bin/server", ["main.cpp"])
|
prog = env.add_program("#bin/server", ["main.cpp"])
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user