- Timestamp:
- Dec 18, 2013, 8:07:27 AM (11 years ago)
- Branches:
- feature/autosink, feature/cnn, feature/cnn_org, feature/constantq, feature/crepe, feature/crepe_org, feature/pitchshift, feature/pydocstrings, feature/timestretch, fix/ffmpeg5, master, pitchshift, sampler, timestretch, yinfft+
- Children:
- 6465d7f
- Parents:
- 1573b16 (diff), c3c6305 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
wscript
r1573b16 r21234ee 85 85 ctx.load('waf_unit_test') 86 86 ctx.load('gnu_dirs') 87 ctx.env.CFLAGS += ['-g', '-Wall', '-Wextra', '-fPIC'] 87 88 ctx.env.CFLAGS += ['-g', '-Wall', '-Wextra'] 88 89 89 90 target_platform = Options.platform … … 92 93 ctx.env['DEST_OS'] = target_platform 93 94 94 if target_platform == 'win32': 95 ctx.env['shlib_PATTERN'] = 'lib%s.dll' 95 if target_platform not in ['win32', 'win64']: 96 ctx.env.CFLAGS += ['-fPIC'] 97 else: 98 ctx.define('HAVE_WIN_HACKS', 1) 99 ctx.env['cshlib_PATTERN'] = 'lib%s.dll' 96 100 97 101 if target_platform == 'darwin': … … 201 205 # check for jack 202 206 if (ctx.options.enable_jack != False): 203 ctx.check_cfg(package = 'jack', atleast_version = '0.15.0',207 ctx.check_cfg(package = 'jack', 204 208 args = '--cflags --libs', mandatory = False) 205 209 … … 214 218 ctx.check_cfg(package = 'libavresample', atleast_version = '1.0.1', 215 219 args = '--cflags --libs', uselib_store = 'AVRESAMPLE', mandatory = False) 220 if all ( 'HAVE_' + i in ctx.env.define_key 221 for i in ['AVCODEC', 'AVFORMAT', 'AVUTIL', 'AVRESAMPLE'] ): 222 ctx.define('HAVE_LIBAV', 1) 223 ctx.msg('Checking for all libav libraries', 'yes') 224 else: 225 ctx.msg('Checking for all libav libraries', 'not found', color = 'YELLOW') 216 226 217 227 # use memcpy hacks … … 233 243 except ctx.errors.ConfigurationError: 234 244 ctx.to_log('txt2man was not found (ignoring)') 245 246 # check if doxygen is installed, optional 247 try: 248 ctx.find_program('doxygen', var='DOXYGEN') 249 except ctx.errors.ConfigurationError: 250 ctx.to_log('doxygen was not found (ignoring)') 235 251 236 252 def build(bld): … … 248 264 bld( source = 'aubio.pc.in' ) 249 265 250 # build manpages from sgml files266 # build manpages from txt files using txt2man 251 267 if bld.env['TXT2MAN']: 252 268 from waflib import TaskGen … … 267 283 bld( source = bld.path.ant_glob('doc/*.txt') ) 268 284 269 """ 270 bld(rule = 'doxygen ${SRC}', source = 'web.cfg') #, target = 'doc/web/index.html') 271 """ 272 285 # build documentation from source files using doxygen 286 if bld.env['DOXYGEN']: 287 bld( name = 'doxygen', rule = 'doxygen ${SRC} > /dev/null', 288 source = 'doc/web.cfg', 289 cwd = 'doc') 290 bld.install_files( '${PREFIX}' + '/share/doc/libaubio-doc', 291 bld.path.ant_glob('doc/web/html/**'), 292 cwd = bld.path.find_dir ('doc/web'), 293 relative_trick = True) 273 294 274 295 def shutdown(bld): … … 288 309 ctx.excl += ' **/python/*.db' 289 310 ctx.excl += ' **/python.old/*' 311 ctx.excl += ' **/python/tests/sounds'
Note: See TracChangeset
for help on using the changeset viewer.