-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathwscript
More file actions
28 lines (24 loc) · 792 Bytes
/
wscript
File metadata and controls
28 lines (24 loc) · 792 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
VERSION='1.6.5'
APPNAME='soulfu'
def set_options(opt):
opt.tool_options('compiler_cc')
def configure(conf):
conf.check_tool('compiler_cc')
conf.check_cfg(package='sdl', at_least_version='1.2.11',\
args='--libs --cflags')
"""Definitely needs:
jpeglib.h from jpeg, libGL, libGLext, SDL, SDL_net
"""
# conf.check_cfg(msg='Checking for ffmpeg', \
# package='libavcodec libavformat libavutil', \
# args='--libs --cflags',
# uselib_store='FFMPEG')
# conf.check(lib='ltdl')
def build(bld):
obj = bld(
source = bld.path.ant_glob("src/*.c"),
includes = "src",
target = 'soulfu',
features = 'cc cprogram',
uselib = 'SDL'
)