Commit Graph

8 Commits

Author SHA1 Message Date
Thomas Nagy 924f8bbce8
Inserting LDFLAGS at the end of the command-line causes less overhead than expected, and LINKFLAGS can still be used for flags in the beginning of the line 2015-04-22 21:34:45 +02:00
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
Thomas Nagy 6ab04926e6 get rid of the -framework flags during the compilation (bad request from someone...) 2012-07-24 19:40:29 +02:00
Thomas Nagy bf2b2fa982 add the -framework flags for the compilation too 2012-06-16 21:36:07 +02:00
Thomas Nagy 284c3a0810 Install all libraries with +x 2012-03-03 15:54:17 +01:00
Thomas Nagy bbacc90ced cleanup 2012-02-06 02:17:24 +01:00
Harald Klimach d939b02498 Ups, missed the cxx LINKFLAGS, when moving them for all compilers. 2011-09-12 10:01:35 +02:00
Thomas Nagy 44a967e326 Initial commit 2011-09-10 11:13:51 +02:00