2
0
mirror of https://gitlab.com/ita1024/waf.git synced 2024-12-22 17:29:27 +01:00

Issue 1257 (docs)

This commit is contained in:
Thomas Nagy 2013-03-16 16:09:44 +01:00
parent 7eef6588af
commit 661a034d91

View File

@ -103,7 +103,7 @@ Here is a script for a more complicated project::
opt.load('compiler_c compiler_cxx')
def configure(cnf):
cnf.load('compiler_c compiler_cxx')
conf.check(features='cxx cxxprogram', lib=['m'], cflags=['-Wall'], defines=['var=foo'], uselib_store='M')
cnf.check(features='cxx cxxprogram', lib=['m'], cflags=['-Wall'], defines=['var=foo'], uselib_store='M')
def build(bld):
bld(features='c cshlib', source='b.c', target='mylib')
bld(features='c cxx cxxprogram', source='a.c main.cpp', target='app', use=['M','mylib'], lib=['dl'])