File: wscript

package info (click to toggle)
guitarix 0.36.1-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 139,468 kB
  • sloc: cpp: 317,557; python: 42,482; ansic: 18,301; fortran: 2,012; sh: 662; makefile: 422; xml: 208; perl: 183; pascal: 74; lisp: 32
file content (23 lines) | stat: -rw-r--r-- 688 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#! /usr/bin/env python
# encoding: utf-8

def configure(conf):
    conf.sub_config('gxwmm');

def build(bld):
    bld.add_subdirs('gxwmm')
    bld.add_group()
    prog = bld(features = 'cxx cprogram',
               source = 'gxw_demo.cc',
               target = 'gxw_demo',
               uselib = 'GTKMM',
               includes = ['.','../libgxw'],
               install_path = None,
               )
    if bld.env["GX_LIB_SHARED"]:
        prog.libpath = [
            bld.path.find_dir("../libgxw/gxw").bldpath(bld.env),
            bld.path.find_dir("../libgxwmm/gxwmm").bldpath(bld.env)]
        prog.lib = ["gxwmm","gxw"]
    else:
        prog.uselib_local = ['gxwmm','gxw']