Ignore:
Timestamp:
Dec 2, 2016, 1:03:41 PM (8 years ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
feature/autosink, feature/cnn, feature/cnn_org, feature/constantq, feature/crepe, feature/crepe_org, feature/pitchshift, feature/pydocstrings, feature/timestretch, fix/ffmpeg5, master, sampler, yinfft+
Children:
473ab11
Parents:
bee6e96
Message:

python/lib/moresetuptools.py: also check for HAVE_AUBIO_DOUBLE

File:
1 edited

Legend:

Unmodified
Added
Removed
  • python/lib/gen_external.py

    rbee6e96 r3d14829  
    7676    return cpp_cmd
    7777
    78 def get_cpp_objects(header=header):
     78def get_cpp_objects(header=header, usedouble=False):
    7979    cpp_cmd = get_preprocessor()
    8080
    8181    macros = [('AUBIO_UNSTABLE', 1)]
     82    if usedouble:
     83        macros += [('HAVE_AUBIO_DOUBLE', 1)]
    8284
    8385    if not os.path.isfile(header):
     
    177179    elif not overwrite: return sorted(glob.glob(os.path.join(output_path, '*.c')))
    178180
    179     cpp_output, cpp_objects = get_cpp_objects(header)
     181    cpp_output, cpp_objects = get_cpp_objects(header, usedouble=usedouble)
    180182
    181183    lib = analyze_cpp_output(cpp_objects, cpp_output)
Note: See TracChangeset for help on using the changeset viewer.