[7888ad]: trunk / src / LV2 / gx_shimmizita.lv2 / wscript  Maximize  Restore  History

Download this file

42 lines (35 with data), 1.2 kB

#!/usr/bin/env python
# encoding: utf-8

import sys, os, TaskGen, ctypes

def configure(conf):
    pass

def build(bld):
    bundle = 'gx_shimmizita.lv2'
    
    src = ['gx_shimmizita.cpp'
           ]
    incl = ['../faust','./', '../DSP']
    lib = []
    if sys.platform.startswith("linux"):
        lib.append('dl')
    uselib = ['LV2CORE']
    cxxflag =[]
    if not bld.env['OPT'] and bld.env['SSE2']:
        cxxflag = [ "-msse2", "-mfpmath=sse"]
    lv2_effects = bld(
        features='cxx cshlib ',
        includes = incl,
        lib = lib,
        uselib = uselib,
        obj_ext  = '_14.o',
        cxxflags = cxxflag,
        defines  = ["LV2_SO"],
        target   = 'gx_shimmizita',
        source   = src,
        install_path = '${LV2DIR}/%s' % bundle,
        chmod = 0o755,
        )
    lv2_effects.env['shlib_PATTERN'] = '%s.so'
   
    install_path = '${LV2DIR}/%s' % bundle,
    bld.install_files('${LV2DIR}/gx_shimmizita.lv2', 'manifest.ttl')
    bld.install_files('${LV2DIR}/gx_shimmizita.lv2', 'gx_shimmizita.ttl')

    bld.install_files('${LV2DIR}/gx_shimmizita.lv2/', bld.path.ant_glob('modgui/**/*'), relative_trick=True)

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks