mirror of
https://gitlab.com/ita1024/waf.git
synced 2024-11-27 04:15:00 +01:00
26 lines
346 B
Plaintext
26 lines
346 B
Plaintext
|
#! /usr/bin/env python
|
||
|
# encoding: utf-8
|
||
|
# Thomas Nagy, 2009 (ita)
|
||
|
|
||
|
"""
|
||
|
Use 'waf daemon'
|
||
|
"""
|
||
|
|
||
|
VERSION='0.0.1'
|
||
|
APPNAME='cc_test'
|
||
|
top = '.'
|
||
|
out = 'build'
|
||
|
|
||
|
def options(opt):
|
||
|
opt.load('daemon', tooldir='.')
|
||
|
|
||
|
def configure(conf):
|
||
|
conf.load('gcc')
|
||
|
conf.load('daemon', tooldir='.')
|
||
|
|
||
|
def build(bld):
|
||
|
bld.program(
|
||
|
source='main.c',
|
||
|
target='test')
|
||
|
|