Changeset 633400d for src/wscript_build
- Timestamp:
- Dec 5, 2018, 10:34:39 PM (6 years ago)
- Branches:
- feature/cnn, feature/crepe, feature/pitchshift, feature/timestretch, fix/ffmpeg5, master
- Children:
- 283a619a
- Parents:
- 5b46bc3 (diff), f19db54 (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
-
src/wscript_build
r5b46bc3 r633400d 4 4 uselib += ['M'] 5 5 uselib += ['FFTW3', 'FFTW3F'] 6 uselib += ['INTEL_IPP'] 6 7 uselib += ['SAMPLERATE'] 7 8 uselib += ['SNDFILE'] … … 9 10 uselib += ['AVCODEC'] 10 11 uselib += ['AVFORMAT'] 12 uselib += ['SWRESAMPLE'] 11 13 uselib += ['AVRESAMPLE'] 12 14 uselib += ['AVUTIL'] … … 25 27 build_features = ['cstlib', 'cshlib'] 26 28 elif ctx.env['DEST_OS'] in ['win32', 'win64']: 29 build_features = ['cstlib', 'cshlib gensyms'] 30 elif ctx.env['DEST_OS'] in ['emscripten']: 31 build_features = ['cstlib','cshlib'] 32 elif '--static' in ctx.env['LDFLAGS'] or '--static' in ctx.env['LINKFLAGS']: 33 # static in cflags, ... 34 build_features = ['cstlib'] 35 else: 36 # linux, darwin, android, mingw, ... 27 37 build_features = ['cstlib', 'cshlib'] 28 elif ctx.env['DEST_OS'] in ['emscripten']: 29 build_features = ['cstlib'] 30 else: #linux, darwin, android, mingw, ... 31 build_features = ['cstlib', 'cshlib'] 38 39 # also install static lib 40 from waflib.Tools.c import cstlib 41 cstlib.inst_to = '${LIBDIR}' 32 42 33 43 for target in build_features: … … 35 45 use = uselib + ['lib_objects'], 36 46 target = 'aubio', 47 export_symbols_regex=r'(?:.*aubio|fvec|lvec|cvec|fmat|new|del)_.*', 37 48 vnum = ctx.env['LIB_VERSION']) 38 49 39 50 # install headers, except _priv.h ones 40 ctx.install_files('${ PREFIX}/include/aubio/',51 ctx.install_files('${INCLUDEDIR}/aubio/', 41 52 ctx.path.ant_glob('**/*.h', excl = ['**_priv.h', 'config.h']), 42 53 relative_trick=True)
Note: See TracChangeset
for help on using the changeset viewer.