2
0
mirror of https://gitlab.com/ita1024/waf.git synced 2024-11-29 21:41:44 +01:00
waf/waflib/Tools
Thomas Nagy 0cd060c394
Make it easier to declare asm or preprocessed outputs to c/c++ tasks
The following can be used to add asm outputs to a c++ task (gcc):

        from waflib import Task
        from waflib.TaskGen import feature, after_method
        @feature('cxx')
        @after_method('process_source')
        def add_asm_outputs(self):
                for tsk in self.compiled_tasks:
                        node2 = tsk.outputs[0].change_ext('.s')
                        tsk.env.append_value('CXXFLAGS', '-Wa,-adhln=%s' % node2.abspath())
                        tsk.outputs.append(node2)
2014-03-11 21:23:57 +01:00
..
__init__.py Initial commit 2011-09-10 11:13:51 +02:00
ar.py Tools: ar: support for ARFLAGS environment variable 2014-01-02 06:24:39 -05:00
asm.py Use ASMPATH_ST for for assembler includes. 2012-09-18 23:54:02 +02:00
bison.py Initial commit 2011-09-10 11:13:51 +02:00
c_aliases.py treecleaner: 'in [...]' replaced by 'in (...)' where appropriate 2014-01-05 16:27:06 -05:00
c_config.py Issue 1419 - gcc 2.95 detection 2014-03-05 21:23:32 +01:00
c_osx.py more powerpc fixes 2011-11-19 13:35:21 +01:00
c_preproc.py handle empty defines when pasting tokens 2013-11-15 23:24:51 +01:00
c_tests.py Issue 1220 2012-11-04 10:28:34 +01:00
c.py Make it easier to declare asm or preprocessed outputs to c/c++ tasks 2014-03-11 21:23:57 +01:00
ccroot.py Added global file installation pointcut 2014-02-17 00:26:58 +01:00
clang.py Add simple compiler tools for clang and clang++ 2014-01-25 21:00:27 +01:00
clangxx.py Add simple compiler tools for clang and clang++ 2014-01-25 21:00:27 +01:00
compiler_c.py Fix defining the xxx_compiler variables in configure(). 2014-02-10 09:27:11 +01:00
compiler_cxx.py Fix defining the xxx_compiler variables in configure(). 2014-02-10 09:27:11 +01:00
compiler_d.py Fix defining the xxx_compiler variables in configure(). 2014-02-10 09:27:11 +01:00
compiler_fc.py Fix defining the xxx_compiler variables in configure(). 2014-02-10 09:27:11 +01:00
cs.py treecleaner: 'in [...]' replaced by 'in (...)' where appropriate 2014-01-05 16:27:06 -05:00
cxx.py Make it easier to declare asm or preprocessed outputs to c/c++ tasks 2014-03-11 21:23:57 +01:00
d_config.py Add output file patterns for D tasks on Darwin. 2012-10-21 02:13:33 +02:00
d_scan.py Initial commit 2011-09-10 11:13:51 +02:00
d.py Do not prevent Logs.error/warn/debug from getting replaced 2012-06-01 04:26:44 +02:00
dbus.py Initial commit 2011-09-10 11:13:51 +02:00
dmd.py always use the convention that commands are lists, remove find_perl_program, add interpreter 2013-09-04 23:10:10 -04:00
errcheck.py Prevent typos on bld.subst(iscopy/is_copy) 2012-08-03 19:38:50 +02:00
fc_config.py treecleaner: 'in [...]' replaced by 'in (...)' where appropriate 2014-01-05 16:27:06 -05:00
fc_scan.py Issue 1389 fc scanner improvements 2013-12-20 18:02:03 +01:00
fc.py removed the cache from the task level, it usually degrades performance and is better implemented on the compiler level 2013-05-26 10:14:49 +02:00
flex.py Tools: flex: env.FLEX is a list 2013-09-05 00:08:00 -04:00
g95.py always use the convention that commands are lists, remove find_perl_program, add interpreter 2013-09-04 23:10:10 -04:00
gas.py Use ASMPATH_ST for for assembler includes. 2012-09-18 23:54:02 +02:00
gcc.py merged the openbsd shared library installation fixes from waf 1.7 2013-09-17 00:26:16 +02:00
gdc.py Issue 1348, gdc detection for gdc-msys 2013-09-11 07:52:27 +02:00
gfortran.py always use the convention that commands are lists, remove find_perl_program, add interpreter 2013-09-04 23:10:10 -04:00
glib2.py Modularize the tools 'glib2' and 'intltool'. 2014-01-27 02:34:27 +01:00
gnu_dirs.py Improve the directory descriptions in gnu_dirs 2014-01-25 18:23:07 +01:00
gxx.py Clean up some cruft in the compiler tools (icc, icpc, gxx) 2014-01-25 20:59:14 +01:00
icc.py Clean up some cruft in the compiler tools (icc, icpc, gxx) 2014-01-25 20:59:14 +01:00
icpc.py Clean up some cruft in the compiler tools (icc, icpc, gxx) 2014-01-25 20:59:14 +01:00
ifort.py always use the convention that commands are lists, remove find_perl_program, add interpreter 2013-09-04 23:10:10 -04:00
intltool.py Modularize the tools 'glib2' and 'intltool'. 2014-01-27 02:34:27 +01:00
irixcc.py always use the convention that commands are lists, remove find_perl_program, add interpreter 2013-09-04 23:10:10 -04:00
javaw.py always use the convention that commands are lists, remove find_perl_program, add interpreter 2013-09-04 23:10:10 -04:00
kde4.py another regression caused by find_program changes 2013-10-23 00:10:28 +02:00
ldc2.py always use the convention that commands are lists, remove find_perl_program, add interpreter 2013-09-04 23:10:10 -04:00
lua.py Initial commit 2011-09-10 11:13:51 +02:00
msvc.py Write a different waf-print-msvc.py file each time to help debugging 2014-02-26 07:24:47 +01:00
nasm.py Issue 1379, nasm trailing slashes 2013-11-16 20:13:41 +01:00
perl.py Tools: perl: env.PERL is a list (+ simplifications) 2013-09-05 00:05:04 -04:00
python.py Issue 1405 2014-02-04 10:55:26 +00:00
qt4.py rcc detection for rcc-qt4 2014-03-11 01:24:49 +01:00
qt5.py treecleaner: 'in [...]' replaced by 'in (...)' where appropriate 2014-01-05 16:27:06 -05:00
ruby.py Tools: ruby: env.RUBY is a list 2013-09-04 23:36:21 -04:00
suncc.py always use the convention that commands are lists, remove find_perl_program, add interpreter 2013-09-04 23:10:10 -04:00
suncxx.py always use the convention that commands are lists, remove find_perl_program, add interpreter 2013-09-04 23:10:10 -04:00
tex.py Fixed bld(features='tex', deps='wscript') 2014-03-09 18:25:53 +01:00
vala.py Tools: vala: env.VALAC is a list 2013-09-04 23:53:30 -04:00
waf_unit_test.py Tools: unit test: fix indentation 2013-09-04 23:20:51 -04:00
winres.py Issue 1186 2012-08-05 01:33:11 +02:00
xlc.py always use the convention that commands are lists, remove find_perl_program, add interpreter 2013-09-04 23:10:10 -04:00
xlcxx.py always use the convention that commands are lists, remove find_perl_program, add interpreter 2013-09-04 23:10:10 -04:00