2
0
mirror of https://gitlab.com/ita1024/waf.git synced 2024-11-18 07:57:05 +01:00
Commit Graph

544 Commits

Author SHA1 Message Date
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
856db9cc90 added export_includes/export_defines parameters to read_shlib/read_stlib 2013-05-25 15:17:25 +02:00
Thomas Nagy
c9fa0b75b5 preparation for waf 1.7.11 2013-05-25 12:00:37 +02:00
Thomas Nagy
760d0f875c Issue 1319 Reduce the amount of paths for the unit test execution 2013-05-19 08:49:40 +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
426637d10a Prevent unnecessary rebuilds in the qt processing
A list was changed during iteration, causing an unnecessary dependency to be
kept, and triggering subsequent rebuilds. This only occured with multiple .moc included.
2013-05-18 19:31:56 +02:00
Thomas Nagy
8267e7ae97 Issue 1318 reuse moc tasks 2013-05-18 14:08:41 +02:00
Thomas Nagy
29f80f4aeb Issue 1317 append to moc flags 2013-05-18 09:48:27 +02:00
Thomas Nagy
174b01bba9 Issue 1313 extra check_dir call causing uninstall failures 2013-05-16 08:33:05 +02:00
Thomas Nagy
621ffa83ed Issue 1315 QtDesigner library detection in qt4.py 2013-05-16 08:22:16 +02:00
yngwe
031e94ffa7 allow c_config to recognize clang as gcc 2013-05-13 20:07:25 +02:00
Thomas Nagy
7af8b2f268 slightly faster regexp for replacing c/c++ comments 2013-05-09 11:01:46 +02:00
Thomas Nagy
b0bae3baa1 Merge branch 'master' of http://code.google.com/p/waf 2013-05-08 23:19:10 +02:00
Thomas Nagy
3934918217 Issue 1253 2013-05-08 23:18:53 +02:00
Thomas Nagy
57f0df2c8a Remove the requirement for opt.load('qt4') 2013-05-08 16:51:14 +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
69f5f71120 Removed the annoying assert in msvs.py 2013-05-07 10:08:49 +02:00
Thomas Nagy
417b2c53cd deployment extension in msvs projects 2013-05-07 08:53:18 +02:00
Thomas Nagy
57eaf369c5 extend the subst task to support other copy modes such as hard linking 2013-05-05 22:54:19 +02:00
Thomas Nagy
d151c86ad1 Issue 1262 2013-05-04 09:24:38 +02:00
Thomas Nagy
43caa85c5a Issue 1272 2013-05-01 10:55:26 +02:00
Alexander Afanasyev
b059ce784d Correcting Darwin compilation
gcc, gxx, and fc_config for Darwin platform were specifying
-compatibility_version and -current_version compilation flags.  These
flags are actually are link flags and generate warnings by clang
compiler.

Also, these flags were specified in non-standard way, which was
confusing clang compiler.

Signed-off-by: Thomas Nagy <tnagy2pow10@gmail.com>
2013-04-28 10:11:17 +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
01ef0ed313 Issue 1297 2013-04-28 00:15:32 +02:00
Thomas Nagy
1caaec653a Issue 1299 2013-04-27 09:19:16 +02:00
Thomas Nagy
230d35c9c3 Issue 1300 2013-04-27 02:10:15 +02:00
Thomas Nagy
345f6bc99f Issue 1278 2013-04-16 17:19:30 +02:00
Caitlin Potter
1c562a034a Explicitly execute python binary (sys.executable) in distcheck
Signed-off-by: Caitlin Potter <snowball@defpixel.com>
Signed-off-by: Thomas Nagy <tnagy1024@gmail.com>
2013-04-15 14:52:15 +02:00
Stian Selnes
336c3f2e3f msvc: fix check of intel composer version with visual studio 2010
Signed-off-by: Thomas Nagy <tnagy1024@gmail.com>
2013-04-02 17:04:44 +02:00
Thomas Nagy
c3cbd4c353 New version 1.7.10 2013-03-22 15:47:41 +01:00
Thomas Nagy
7eef6588af Use Utils.readf/Utils.writef whenever possible 2013-03-14 13:45:10 +01:00
Oliver Sauder
813a1aff14 Exclude auto-generated .intlcache
Signed-off-by: Thomas Nagy <tnagy1024@gmail.com>
2013-03-13 11:52:08 +01:00
Thomas Nagy
77dc8ea368 Issue 1266 2013-03-12 14:10:12 +01:00
Thomas Nagy
0f64aea102 Issue 1261 2013-03-04 17:13:31 +01:00
yngwe
7aab452acb Merge branch 'master' of https://code.google.com/p/waf 2013-02-17 15:11:25 +01:00
Thomas Nagy
526fe68773 Issue 1231 2013-02-17 14:29:41 +01:00
yngwe
46f51a3925 Added support for Windows Phone 8 compilers; added feature support for Windows Desktop Application and Windows Phone Application compilation 2013-02-17 14:09:32 +01:00
Thomas Nagy
582a1a59f1 Issue 1255 2013-02-15 10:35:20 +01:00
Thomas Nagy
a308c89c35 Issue 1180 2013-02-10 11:45:35 +01:00
Thomas Nagy
89ae826782 New codelite plugin 2013-02-02 11:06:20 +01:00
Thomas Nagy
fd1305af1d Issue 1248 2013-02-01 23:52:13 +01:00
Thomas Nagy
ba984b57b7 Issue 1248 2013-02-01 23:45:30 +01:00
Thomas Nagy
bf27d10fd5 Issue 982 2013-02-01 23:01:53 +01:00
Thomas Nagy
17aff345ea New release 1.7.9 2013-01-13 11:51:07 +01:00
Harald Klimach
2d29dfc528 Issue 1245 2013-01-08 19:45:14 +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
99919342f0 Merge branch 'master' of https://code.google.com/p/waf 2013-01-04 02:28:51 +01:00
Thomas Nagy
67b8e27c34 Issue 1237 2013-01-04 02:27:42 +01:00
Matt Hoosier
3b699e3fed Make msvc.py behave itself when other toolchains are loaded
Chain down to the pre-existing Task.exec_command() implementation if
task.env.CC_NAME indicates that the current taskgen isn't building using
Microsoft tools.

Attempt #2. The previous version (9b443a4e, reverted in 148598a8) was
found in Issue 1243 to lead to unusual infinite regress if the
monkeypatching code executed more than once in a Python interpreter
lifetime. This version uses dynamic subclassing to avoid that problem.

Issue 1237.

Signed-off-by: Thomas Nagy <tnagy2pow10@gmail.com>
2013-01-04 02:11:26 +01:00
Kevin Ollivier
13ad17f96c Add support for parsing more MSVC command line options to check_cfg. 2013-01-01 12:13:23 -08:00
Thomas Nagy
148598a815 reverted the changes from #1212 and #1237 2012-12-28 21:58:37 +01:00
Thomas Nagy
ed52334a57 Issue 1232 2012-12-19 02:51:33 +01:00
Matt Clarkson
6e87e321bf Change the apply_vnum installation tasks to be created only if there is already an install_task. It checked to see if self.bld.is_install was not False but that can lead to exceptions being thrown when a shared library is created but install_path=None
Signed-off-by: Thomas Nagy <tnagy2pow10@gmail.com>
2012-12-19 02:04:10 +01:00
Thomas Nagy
0e243e4212 New release 1.7.8 2012-12-17 18:08:43 +01:00
Matt Clarkson
8c566d1a42 Fixed up a bug in the gather_intel_composer_versions that results in an exception being thrown on windows systems with no intel composer versions installed. Raise in issue 1239
Signed-off-by: Thomas Nagy <tnagy2pow10@gmail.com>
2012-12-17 18:07:25 +01:00
Thomas Nagy
f42b9410c2 documentation update, and preparation for the release 2012-12-16 17:18:10 +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
083b6e138e Issue 1234 2012-12-15 00:32:20 +01:00
Thomas Nagy
fc9d6f4200 Issue 1222 2012-12-14 23:43:28 +01:00
Matt Hoosier
9b443a4e88 Make msvc.py behave itself when other toolchains are loaded
Chain down to the pre-existing Task.exec_command() implementation
if task.env.CC_NAME indicates that the current taskgen isn't building
using Microsoft tools.

Issue 1237.

Signed-off-by: Thomas Nagy <tnagy2pow10@gmail.com>
2012-12-14 22:20:22 +01:00
Thomas Nagy
4b4aaf7dc5 Issue 1236 2012-12-12 20:09:40 +01:00
Thomas Nagy
2da7b2f549 missing r for strings containing \ 2012-12-10 19:32:25 +01:00
Matt Clarkson
c7529b3a09 Added a warning message about the intel compilervars_arch.bat file because it only searches for \IDE\VSWinExpress.exe to determine if VS Express is installed. However, Microsoft have changed up VS2012 with differnt SKUs that install with different executable names. I have filed this on the Intel forums at http://software.intel.com/en-us/forums/topic/328487 and hoping for a fix in 2013.03 C++ composer. In the meantime it checks the compilervars_arch.bat to see if the VS2012 express SKU it is searching for is not installed and prints a warning, only once, about patching the batch script. Without the patch the intel compiler cannot be found for command line processing with any Visual Studio Express SKU other than the one for Windows 8
Signed-off-by: Thomas Nagy <tnagy2pow10@gmail.com>
2012-12-10 19:29:02 +01:00
Matt Clarkson
3723b8bdbe Added a new function gather_intel_composer_versions and fixed up get_msvc_version so that it correctly strips the output of intel batch files. Also added new supported compilers too the comments at the top of the file as I have tested the configure and it finds VS2012, Intel 13 and WSDK 7.1 compilers
Signed-off-by: Thomas Nagy <tnagy2pow10@gmail.com>
2012-12-10 19:27:39 +01:00
Thomas Nagy
597e4a4f4c import libraries should go to LIBDIR along with the 2012-12-10 19:23:34 +01:00
Thomas Nagy
a71ca54558 Issue 1232 2012-12-09 05:29:59 +01:00
Thomas Nagy
072edeb396 possible fix for python 3 IO issues on windows 2012-12-05 01:23:52 +01:00
Thomas Nagy
e9d5d29ce1 missing change 2012-12-05 00:40:50 +01:00
Thomas Nagy
f824ab8481 Issue 1230 2012-12-05 00:38:58 +01:00
Thomas Nagy
79e2901e4e typo in the API documentation 2012-12-01 17:36:53 +01:00
Thomas Nagy
df67c02a0e simple tool for unity builds 2012-11-30 21:21:22 +01:00
Thomas Nagy
e21ec6a3fe Merge branch 'master' of https://code.google.com/p/waf 2012-11-28 01:02:20 +01:00
Thomas Nagy
07c5337f8b possible osx fixes 2012-11-28 01:02:07 +01:00
Harald Klimach
04eb20b1e1 Fixed fc_xlf to import Errors 2012-11-12 17:36:32 +01:00
Thomas Nagy
e0820153c8 Make demos/subst work in Python 3.2 2012-11-11 22:58:50 +01:00
Thomas Nagy
704f85f131 New release 1.7.6 2012-11-11 22:44:11 +01:00
Thomas Nagy
82b49862e2 Issue 1220 2012-11-04 10:29:36 +01:00
Thomas Nagy
5eed580a0c Merge branch 'master' of https://code.google.com/p/waf 2012-11-04 10:28:44 +01:00
Thomas Nagy
6635a9788b Issue 1220 2012-11-04 10:28:34 +01:00
immerrr
54464995c6 Avoid possible "unused parameter" warnings in check_c/check_cc boilerplates
When CFLAGS/CXXFLAGS contains '-Wextra -Werror', such warnings are reported
and become errors, which causes respective checks to fail.

Signed-off-by: Thomas Nagy <tnagy2pow10@gmail.com>
2012-11-04 10:24:34 +01:00
alexrp
ba6718fb05 Add more stuff to the macro-to-DEST_CPU list. 2012-11-01 14:14:08 +01:00
Thomas Nagy
b022f8a314 no more file() in python 3.3 2012-10-31 02:00:01 +01:00
Thomas Nagy
5ce68b696a Issue 1218 2012-10-26 22:54:53 +02:00
Thomas Nagy
27aeab577c Issue 1218 2012-10-25 21:36:41 +02:00
Thomas Nagy
689fe3c0b9 Merge branch 'master' of https://code.google.com/p/waf 2012-10-21 11:29:49 +02:00
Thomas Nagy
85698bdb53 support for python modules in fortran -_- 2012-10-21 11:29:40 +02:00
alexrp
b3b0383840 Add output file patterns for D tasks on Darwin. 2012-10-21 02:13:33 +02:00
Thomas Nagy
1350ebc7a5 Issue 1212 2012-10-20 23:45:16 +02:00
Thomas Nagy
a1d0f9c13e force a stable name in bld(rule=...) 2012-10-17 18:50:20 +02:00
Thomas Nagy
c85678dc4a hash subst_fun 2012-10-10 22:52:30 +02:00
Anthony Baire
57b555b5fe allow using the flex shipped with MSYS
(it expects path separated by / instead of \)

Signed-off-by: Thomas Nagy <tnagy2pow10@gmail.com>
2012-10-10 18:39:51 +02:00
Thomas Nagy
6499810aec Issue 1209 2012-10-09 22:35:58 +02:00
Thomas Nagy
43277c8e77 provide bld(features='subst', subst_fun= fun(task, text)) for convenience 2012-10-08 18:30:47 +02:00
Thomas Nagy
294050ff41 Potential fix for #1204 2012-10-05 00:21:27 +02:00
Anthony Baire
2c22ec2a59 fixed waf clean to preserve config files from all environments
Signed-off-by: Thomas Nagy <tnagy2pow10@gmail.com>
2012-10-05 00:07:59 +02:00
Thomas Nagy
0856e2492b Issue 1207 2012-10-05 00:06:24 +02:00
Thomas Nagy
85d863bd52 Issue 1205 2012-10-02 03:43:58 +02:00
Thomas Nagy
0d6cd93f95 empty --prefix 2012-09-29 17:32:46 +02:00