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.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
waf_old/playground/use/cycle/wscript_build

19 lines
250 B
Python

#! /usr/bin/env python
"""
Cycles in use should be detected (raise an error before the build starts)
"""
bld.shlib(
source = 'a.c',
target = 'CYC_1',
use = 'CYC_2'
)
bld.shlib(
source = 'b.c',
target = 'CYC_2',
use = 'CYC_1'
).post()