mirror of https://gitlab.com/ita1024/waf
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
346 B
Python
26 lines
346 B
Python
#! /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')
|
|
|