mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
19 lines
528 B
Plaintext
19 lines
528 B
Plaintext
|
baselib = Import("../../baselib/baselib.bam")
|
||
|
--scheme = Import("scheme/scheme.bam")
|
||
|
|
||
|
settings = NewSettings()
|
||
|
baselib.use(settings)
|
||
|
--scheme.use(settings)
|
||
|
settings.cc.includes:add("include")
|
||
|
--settings.cc.includes:add("include/python")
|
||
|
--settings.cc.frameworks:add("Python")
|
||
|
--//settings.linker.libs:add("/opt/local/lib/python2.5/config/libpython2.5.a")
|
||
|
--settings.linker.frameworks:add("Python")
|
||
|
|
||
|
src = Collect("src/*.cpp")
|
||
|
objs = Compile(settings, src)
|
||
|
exe = Link(settings, "server", objs)
|
||
|
|
||
|
--Target(baselib.lib)
|
||
|
Target(exe)
|