Commit Graph

303 Commits

Author SHA1 Message Date
Thomas Nagy b0ec707975 Issue 1366, swig defines 2013-10-17 21:37:30 +02:00
7f2fe42579 implicit cython dependency pyx->pxd, Issue 1363 2013-10-15 00:42:13 +02:00
Thomas Nagy 455e22838a Issue 1361, syms.py and python3 2013-09-30 17:56:48 +02:00
Thomas Nagy 54d4ff7ce0 'is not None' is unnecessary 2013-09-28 23:55:08 +02:00
Nate Rosenblum 87403f4285 Allow doxygen parameters to be passed to task
The doxygen demo program suggests that doxy parameters can be passed
as arguments to the task, e.g.,

   bld(features="doxygen", doxyfile="doxy.conf",
        pars={'INPUT': bld.path.ant_glob("**/*.c")})

Previously, these inputs were not passed from the task generator
to the task, and only the parameters read from the doxy configuration
file were used. This patch retrieves parameters (if any) from the task
generator and uses them to override those in the doxy file,
allowing more flexible overriding for individual build targets.

Signed-off-by: Thomas Nagy <tnagy2pow10@gmail.com>
2013-09-28 23:54:55 +02:00
Jérôme Carretero e7425bc2ba extras: rst: fix typo 2013-09-24 00:59:16 -04:00
Thomas Nagy 9838d0bb08 New cppckeck tool from Michel Mooij 2013-09-22 17:41:17 +02:00
Jérôme Carretero dcea4231ef extras: rst: also build rst2html from the folder in which the target is built 2013-09-20 13:32:03 -04:00
Jérôme Carretero b170b314ad extras: rst: shorter rst2*tex code 2013-09-18 23:57:05 -04:00
Jérôme Carretero 4e205c4487 extras: rst: add rst2s5 support via extension of rst2html 2013-09-18 23:25:09 -04:00
Jérôme Carretero 7a20f2fd44 rst: rst2pdf fixup for includes in source and build folder 2013-09-18 02:15:54 -04:00
Jérôme Carretero 952c5b1ec7 extras: rst: fix another typo and add rst2xetex support 2013-09-18 02:06:01 -04:00
Jérôme Carretero 27afbfe600 extras: rst: fix "typo" 2013-09-18 02:01:09 -04:00
Thomas Nagy 487cc43df2 Issue 1354, clang compilation databases 2013-09-11 07:50:25 +02:00
Jérôme Carretero f81e6c5499 extras: rst: little fixes 2013-09-09 01:01:57 -04:00
Jérôme Carretero 00946bacdb extras: protoc: document protoc trickiness
I tried to quickly go through the protoc source to find how the include
paths are interpreted, but I'm sleepy now.
2013-09-05 01:10:20 -04:00
Jérôme Carretero bf5ce8b30c extras: protoc: add dep scanner 2013-09-05 00:48:29 -04:00
Jérôme Carretero 863662fa65 extras: rst: fix typo 2013-09-05 00:18:15 -04:00
Jérôme Carretero 150d1ed0b5 extras: ocaml: env.OCAMLC is a list 2013-09-05 00:16:50 -04:00
Jérôme Carretero dc75919559 extras: swig: env.SWIG is a list now 2013-09-04 23:15:12 -04:00
Jérôme Carretero 5064fd92ef always use the convention that commands are lists, remove find_perl_program, add interpreter 2013-09-04 23:10:10 -04:00
Thomas Nagy e87782e58b removed Node.bld_base, used only once 2013-09-01 21:46:43 +02:00
Jérôme Carretero 459f04cbee extras: rst: fix scan regression 2013-08-25 18:33:53 -04:00
Jérôme Carretero f9944a5ec7 rst: make parser overridable 2013-08-25 15:35:33 -04:00
Jérôme Carretero e62d3771e1 extras: rst: add basic rst2latex support 2013-08-24 21:26:37 -04:00
Jérôme Carretero 2b309cfb79 extras: rst: use to_list on rst options, use -o switch to make older rst2pdf happy 2013-08-21 01:21:17 -04:00
Jérôme Carretero 669094a51f extras: rst: add install_path processing (defaults to not installing) 2013-08-20 13:59:45 -04:00
Jérôme Carretero 24abf4f08c extras: rst: pimp the scanner
Changes:
- update the include regexp to support the figure directive, and
  substitution targets.
- warn on missing files that would be included
2013-08-18 23:29:50 -04:00
Jérôme Carretero 5e16b5dbbc extras: add rst tool, for reStructuredText processing 2013-08-18 17:17:00 -04:00
Alexander Afanasyev 8e50cda867 extras/doxygen: Adding support for RECURSIVE and making detection non-mandatory by default
added: support for RECURSIVE, as well as for included and excluded files

changed: detection of doxygen is non-mandatory by default. If it is
         desired that doxygen is mandatory, user is expected to check
         bld|conf.env.DOXYGEN and bld|conf.env.TAR variables

Signed-off-by: Thomas Nagy <tnagy2pow10@gmail.com>
2013-08-18 21:31:22 +02:00
Thomas Nagy e9fd0660dc Undefined 'logger' variable 2013-07-16 21:00:02 +02:00
Matt Hoosier 1aad65b886 Add 'msvcdeps' tool
This tool operates similarly to 'gccdeps' by offloading the
flattening of the #include dependency tree to the compiler.

Change-Id: I5e58e8ca838f3d3dc65efa6ce4abf161110632ea

Signed-off-by: Thomas Nagy <tnagy2pow10@gmail.com>
2013-07-16 20:57:06 +02:00
Thomas Nagy a1d35c0a69 simplification in syms.py 2013-06-27 22:22:25 +02:00
Matt Hoosier 24983316d6 syms.py: allow environment to supply paths to dumpbin and nm
This is required when doing cross-compilation.

Signed-off-by: Thomas Nagy <tnagy2pow10@gmail.com>
2013-06-27 22:18:59 +02:00
Thomas Nagy 58fe611bb9 Issue 1327 - typo 2013-06-09 09:47:39 +02:00
Thomas Nagy 3a285c62b1 Issue 1327 2013-06-09 09:47:01 +02:00
Thomas Nagy b241462a2a Issue 1327 2013-06-09 09:46:44 +02:00
Thomas Nagy 5c6d626048 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
Thomas Nagy 5906f37447 Simple system for logging the outputs
Add the following to your wscript file:

def init(ctx):
    ctx.load('build_logs')
2013-05-25 17:39:41 +02:00
Thomas Nagy c4685a8cb8 Issue 1310 use INCLUDE/LIB environment variables to detect boost libs on windows 2013-05-19 08:36:00 +02:00
Thomas Nagy 6d570f08bd use os.remove instead of os.unlink for consistency 2013-05-18 19:51:45 +02:00
Thomas Nagy 1da291a1e6 Force a fixed order in the link task inputs to prevent unnecessary rebuilds 2013-05-07 17:49:59 +02:00
Thomas Nagy 417b2c53cd deployment extension in msvs projects 2013-05-07 08:53:18 +02:00
Alexander Afanasyev 522e3fb43a protoc: small correction
Signed-off-by: Thomas Nagy <tnagy2pow10@gmail.com>
2013-04-28 10:08:42 +02:00
Thomas Nagy 230d35c9c3 Issue 1300 2013-04-27 02:10:15 +02:00
Thomas Nagy 77dc8ea368 Issue 1266 2013-03-12 14:10:12 +01:00
Thomas Nagy 89ae826782 New codelite plugin 2013-02-02 11:06:20 +01:00
Daniel Welty 9e92489dbc gccdeps: Cache path to node lookup
The find_resource call is slow, so caching the resulting Node object
gives a significant speed up, about twice as fast.

Issue: 1244

Signed-off-by: Thomas Nagy <tnagy2pow10@gmail.com>
2013-01-04 18:24:40 +01:00
Thomas Nagy ed52334a57 Issue 1232 2012-12-19 02:51:33 +01:00
Thomas Nagy c0575b8528 New release 1.7.7 2012-12-16 17:08:08 +01:00
Thomas Nagy 59363114c3 Issue 1232 2012-12-16 16:58:55 +01:00
Thomas Nagy a71ca54558 Issue 1232 2012-12-09 05:29:59 +01:00
Thomas Nagy f824ab8481 Issue 1230 2012-12-05 00:38:58 +01:00
Thomas Nagy df67c02a0e simple tool for unity builds 2012-11-30 21:21:22 +01:00
Harald Klimach 04eb20b1e1 Fixed fc_xlf to import Errors 2012-11-12 17:36:32 +01:00
Thomas Nagy 294050ff41 Potential fix for #1204 2012-10-05 00:21:27 +02:00
Thomas Nagy 9c7c864fcc Merge branch 'master' of https://code.google.com/p/waf 2012-09-27 21:08:37 +02:00
Thomas Nagy b52d97adff Issue 1184 2012-09-27 21:08:26 +02:00
alexrp c62073538b The fsc tool should set FS_NAME, not CS_NAME. 2012-09-27 14:47:41 +02:00
Thomas Nagy 665aff8a57 cabal script by Anton Feldmann 2012-09-23 10:19:44 +02:00
Thomas Nagy 7895f84852 Issue 1199 2012-09-15 08:30:51 +02:00
Thomas Nagy 8096ba1be2 Issue 1186, run midl tasks before winrc ones 2012-08-05 01:36:12 +02:00
Thomas Nagy a93a2c552f Issue 1185 2012-08-01 01:14:43 +02:00
Thomas Nagy 5b542ef5e5 update the exclusion regexps for waf 1.7 folders 2012-07-29 17:58:38 +02:00
Thomas Nagy 8c0126d6a1 resx tool for compiling .net resource files from Issue 1183 2012-07-25 19:02:34 +02:00
Thomas Nagy 2d05d44f16 Cleanup for Issue 1179 2012-07-13 19:56:38 +02:00
Matt Hoosier c92db8a77e Allow gccdeps to work with other compilers too (Issue 1179)
Signed-off-by: Thomas Nagy <tnagy2pow10@gmail.com>
2012-07-13 19:52:16 +02:00
Harald Klimach 74f3bbd8a6 Synchronize the xlf version detection to the xlc one. 2012-07-13 01:03:03 +02:00
Harald Klimach 149c122db3 Missing line ending "):" in for loop. 2012-07-08 22:53:57 +02:00
Harald Klimach 312229d7bd Made the XLF version parsing consistent with the XLC one. 2012-07-08 22:49:30 +02:00
Thomas Nagy f13f90768b Issue 1177 2012-07-01 10:28:15 +02:00
Thomas Nagy 95b33a342f Win32 fixes for Python 2.5 and 3.2 2012-06-15 19:02:32 +02:00
Thomas Nagy 5de226d7ac docs and cosmetic changes 2012-06-09 09:42:11 +02:00
Thomas Nagy 5915ae6d59 cosmetic changes 2012-06-02 09:29:30 +02:00
Jerome Carretero c67653fff3 go: whitespace/tab sanitation 2012-06-01 22:29:31 -04:00
Thomas Nagy a5c4b29ec4 Do not prevent Logs.error/warn/debug from getting replaced 2012-06-01 04:26:44 +02:00
Thomas Nagy 3557c4caf3 docs 2012-05-27 23:42:38 +02:00
Thomas Nagy 2e19a6bb28 Issue 1166 2012-05-19 16:32:37 +02:00
Thomas Nagy 7f77cab6bf Issue 1044 2012-05-19 11:24:42 +02:00
Thomas Nagy 3ff3c02092 reuse Utils.h_file in waflib/extras/md5_tstamp.py 2012-05-19 10:26:34 +02:00
Harald Klimach 677e9d4c9c Included the fc_add_flags call in the fc_ tools of the extras directory. 2012-05-09 06:55:43 +02:00
Thomas Nagy f71406c404 Issue 1157 2012-05-04 23:53:51 +02:00
Thomas Nagy a0f0878886 Issue 1162 2012-05-04 23:13:13 +02:00
Thomas Nagy 574ba5fe39 Issue 1162 2012-05-04 19:43:13 +02:00
ita 5cd41c2a98 Issue 1162 2012-05-04 14:32:25 +02:00
ita 2c4d772e3d Issue 1162 2012-05-04 09:25:48 +02:00
Thomas Nagy b62c401299 Issue 1151 2012-04-21 00:00:56 +02:00
Thomas Nagy 57a9ffd972 Issue 1145 2012-04-13 18:32:34 +02:00
Thomas Nagy f37a7bc698 cleanup 2012-04-13 08:37:48 +02:00
Thomas Nagy b32115aab1 Issue 1140 2012-04-13 08:36:02 +02:00
Thomas Nagy 9004b1fd95 Issue 1138, Issue 1139, Issue 1141 2012-04-13 00:48:34 +02:00
Thomas Nagy 2703feddac Issue 1140 2012-04-11 19:23:57 +02:00
Thomas Nagy cc65ab9c8b Issue 1140 2012-04-11 19:05:46 +02:00
Thomas Nagy b75d3a1801 Issue 1140 2012-04-10 18:30:10 +02:00
Oliver Sauder b52d322d1d Fixed invalid import
Signed-off-by: Thomas Nagy <tnagy2pow10@gmail.com>
2012-04-06 15:09:27 +02:00
Oliver Sauder 80f39778d1 Added documentation for valadoc
Signed-off-by: Thomas Nagy <tnagy2pow10@gmail.com>
2012-04-06 15:09:27 +02:00
Oliver Sauder 9c9ea64b26 Fixing valadoc task
Signed-off-by: Thomas Nagy <tnagy2pow10@gmail.com>
2012-04-06 15:09:27 +02:00
Thomas Nagy 0bac837910 Issue 1140 2012-04-05 22:10:08 +02:00
Thomas Nagy 181438a9ba make sure the md5_tstamp module can be imported multiple times without causing problems 2012-04-02 01:36:52 +02:00
Thomas Nagy d8b2bbc363 win32 optimizations 2012-04-02 01:11:21 +02:00
Thomas Nagy 8481ee95b2 Issue 1110 2012-03-23 02:43:04 +01:00
Harald Klimach b33c7a688a If the stdout does not contain the version string, check the stderr 2012-03-08 12:01:44 +01:00
Harald Klimach 3e3e391100 Do a multiline search for the NAG compiler version string 2012-03-08 11:34:37 +01:00
Harald Klimach e7325b2b89 Small correction to the fc_nag module:
use lower to identify Module filenames
2012-03-08 01:01:55 +01:00
Harald Klimach 6285826ff4 Added support for the NAG Fortran compiler 2012-03-08 00:24:42 +01:00
Thomas Nagy 577bdbea67 Patch #2 in Issue 1110 2012-03-04 15:49:28 +01:00
Jerome Carretero 051248d8bf Merge branch 'zougloub-ticgt' (minus the non-abspath stuff): can't hurt anybody
I'm using the ticgt tool at work and I don't feel like leaving it in a branch.
2012-02-25 01:19:41 -05:00
Jerome Carretero 3fafc3e4e3 ticgt: add a few lines of docs 2012-02-25 01:12:09 -05:00
Thomas Nagy 242869fd40 docs (replace 1.6 by 1.7) 2012-02-19 12:44:37 +01:00
Thomas Nagy a1a7e0b2af removed the no-longer-needed subprocess copy 2012-02-19 10:36:30 +01:00
Thomas Nagy 013f38ed35 Issue 1112 2012-02-16 09:22:17 +01:00
Thomas Nagy 7efa03bfee @after->@after_method 2012-02-15 09:29:34 +01:00
Jerome Carretero 8f9ee6f547 ti_cgt: do not alter LINKFLAGS, but append objects 2012-02-08 01:40:43 -05:00
Jerome Carretero 1ec508d1cd ti_cgt: Add missing dsplink files. 2012-02-08 01:40:42 -05:00
Jerome Carretero fb29c77d4e I need to do something about these FLAGS... 2012-02-08 01:40:42 -05:00
Jerome Carretero f86c3bd610 ticgt: do not monkey patch core waf code anymore (cleaner !)
But there's still use of duplication of internal functionality.
2012-02-08 01:40:42 -05:00
Jerome Carretero 7f97cb4827 ticgt: get rid of hack(), thanks again ita
So we are closer (ccroot.create_compiled_task is monkey patched)
 to having a standard toolchain.
2012-02-08 01:40:42 -05:00
Jerome Carretero ac14963f81 ticgt: use create_compiled_task to dispatch to 'c' or 'ti_c' dynamically
Thanks ita.

Now, we'd like to do something as clean for the link task.
2012-02-08 01:40:42 -05:00
Jerome Carretero fadbe6cd6d ticgt: support stlib 2012-02-08 01:40:42 -05:00
Jerome Carretero e1f5ed8555 ticgt: recursive scanning for tconf 2012-02-08 01:40:42 -05:00
Jerome Carretero 5cb4297597 ticgt: use taskgen path NOT build path 2012-02-08 01:40:42 -05:00
Jerome Carretero 576255cf39 ticgt: enhancements, find more default flags
I'm still not quite convinced it's worth it using something else
 than TI's makefiles.
2012-02-08 01:40:41 -05:00
Jerome Carretero 10087316c4 Start working on TI codegen toolchain (c6x) 2012-02-08 01:40:41 -05:00
Thomas Nagy 2263d60b8d Issue 1101 2012-02-06 02:07:18 +01:00
Thomas Nagy bdb0108515 make sure to display taskbase instances in the pdebug diagram 2012-01-11 00:16:36 +01:00
Thomas Nagy 5d31ae480a give conf.env.env to Popen in missing places 2011-12-25 11:11:44 +01:00
Thomas Nagy 3562008ffb Issue 1090 2011-12-25 10:37:19 +01:00
Thomas Nagy 8dc822fded Issue 1089 2011-12-21 08:55:08 +01:00
Thomas Nagy 9956585445 another missing import 2011-12-17 22:42:17 +01:00
Thomas Nagy 856b53c046 Issue 1080 2011-12-09 00:54:59 +01:00
Thomas Nagy a639280339 Issue 1078 2011-12-07 20:50:20 +01:00
Thomas Nagy c00a364048 py3k syntax 2011-11-26 15:10:00 +01:00
Thomas Nagy 7fdca5d90d docs 2011-11-19 18:31:23 +01:00
yngwe b986066245 fixed python3 errors; made XCode project generator use ARCH flag (debugging of universal binaries now possible) 2011-11-11 15:19:50 +01:00
Thomas Nagy cd0e72f264 #1068 2011-11-09 03:09:58 +01:00
Jerome Carretero 1a9360c3b2 Linkage test in conf.check_boost + docs + attempt to autodetect link flags (bad)
The linkage test "fixes" #1038 : if we can't link, you'll know it before building.

Documentation was added for some MSVC problematics, it may not be great...

Added --boost-linkage_autodetect to accommodate automagically (ugly) for some typical boost builds on MSVC.
2011-11-08 02:13:00 -05:00
Thomas Nagy f9754ac7d5 another experimental module for stopping as early as possible when errors occur with -k 2011-11-05 23:57:17 +01:00
Thomas Nagy 742ca78276 missing constant HEADERS_GLOB + code cleanup 2011-10-30 23:44:15 +01:00
yngwe d89792e88c XCode project generator for Mac applications 2011-10-27 00:11:10 +02:00
Thomas Nagy bc001ce1de evil bug in md5_tstamp 2011-10-18 19:02:53 +02:00
Thomas Nagy 1f4edf5ace Provide another hashing scheme 2011-10-17 18:52:01 +02:00
Thomas Nagy 07fb78a9bf solution for [ Issue 1033 ] by Nicolas Mercier 2011-10-15 16:26:05 +02:00
Thomas Nagy b283f54c08 docs 2011-10-14 20:22:09 +02:00
Thomas Nagy bed108b178 #1054 2011-10-13 08:14:28 +02:00
Thomas Nagy bd430fcacd #1047 2011-10-08 18:07:56 +02:00
Thomas Nagy b885c0d80a Cleanup 2011-10-08 16:11:12 +02:00
Thomas Nagy 58bff6569c Issue #1047 2011-10-07 19:50:36 +02:00
Thomas Nagy 476f89681a Smarter "reentrant" behaviour for TaskGen.declare_chain
Re-add to the list of source files the files that have an
existing mapping.
2011-10-04 20:26:22 +02:00
Thomas Nagy b8cab53e60 This one is definitely a bug 2011-09-12 00:29:09 +02:00
Thomas Nagy 95449949a2 Much better logging 2011-09-10 20:46:24 +02:00
Thomas Nagy c41ca4b821 use lists instead of tuples for constants and convert to unix format all .py files 2011-09-10 20:02:12 +02:00
Thomas Nagy 579da4528b Unused variable 2011-09-10 12:20:18 +02:00
Thomas Nagy 44a967e326 Initial commit 2011-09-10 11:13:51 +02:00