2
0
mirror of https://gitlab.com/ita1024/waf.git synced 2024-11-22 09:57:15 +01:00
Commit Graph

1532 Commits

Author SHA1 Message Date
Thomas Nagy
efbc47b434
Added a fake Constants module in compat15.py 2015-11-04 23:16:48 +01:00
Thomas Nagy
d4334adfb9
Let waf -v catch invalid string on hcode values in Python3 2015-11-03 22:35:33 +01:00
Thomas Nagy
c755de45c7
docs 2015-11-01 14:19:20 +01:00
Thomas Nagy
084d9a215d
Calculate ${SRC} and ${TGT} from user-defined folders
The current working directory used for expanding ${SRC} and ${TGT} is
assumed to be bld.bldnode. This change enables changing the current
working directory globally so that commands can be executed from
the 'build' folder instead of the 'variant' folder:

    def build(bld):
        bld.cwdx = bld.bldnode.parent
        bld.cwd = bld.cwdx.abspath()
        print("building from %r instead of %r" % (bld.cwdx, bld.bldnode))
        ...
2015-11-01 14:09:47 +01:00
Thomas Nagy
cf334db465
Use options.enable_gccdeps if provided by user scripts 2015-10-31 11:24:53 +01:00
ita1024
975fdde91b Merge pull request #1648 from mimon/xcode6-gen
Xcode6 generator
2015-10-29 18:59:16 +01:00
Simon
f1da3b34ef Updated useage and docs in xcode6 2015-10-29 11:53:19 +01:00
Simon
53cb70ec44 Renamed stuff in demos to xcode6 2015-10-29 11:52:58 +01:00
Simon
5fcda128b5 Updated documentation 2015-10-29 11:16:25 +01:00
Simon
24dbd3c43c Changed name for the new Xcode tool to xcode6 and kept the original xcode tool 2015-10-29 11:16:05 +01:00
Thomas Nagy
3ff0277ea0
Enable global_define for conf.check() too 2015-10-27 22:22:35 +01:00
Thomas Nagy
d2ade00ef8
waf 1.8.16 2015-10-26 22:58:04 +01:00
Thomas Nagy
722480b25c
Fixed the ruby detection for openindiana 2015-10-26 22:53:22 +01:00
Thomas Nagy
30336cd9ba
Reverted the changes to conf.check(header_name=) as this causes regressions. Use conf.check(header_name=, link_header_test=False) - #1647 2015-10-26 22:44:39 +01:00
Thomas Nagy
963c3b62c9
docs: apply_incpaths_emscripten will be removed in waf 1.9 2015-10-25 09:00:51 +01:00
Thomas Nagy
02423e440a
Make the emscripten option behave 2015-10-25 01:50:37 +02:00
ita1024
e99ddb3fd4 Merge pull request #1646 from thmo/sphinx12
Select HTML theme depending on Sphinx version.
2015-10-24 16:17:37 +02:00
Thomas Moschny
ab3b16059f Make theme selection also work with older Sphinx. 2015-10-24 15:26:46 +02:00
Thomas Moschny
95ff02b7ad Select HTML theme depending on Sphinx version.
The 'default' theme has been renamed to 'classic' for Sphinx >= 1.3.
2015-10-24 13:50:53 +02:00
Thomas Nagy
e3ac7630eb
Clearer error message when folders do not exist - Issue 1643 2015-10-21 01:08:14 +02:00
Thomas Nagy
0c07ff91b0
Propagate ldflags/LDFLAGS besides linkflags/LINKFLAGS 2015-10-20 21:37:29 +02:00
Jérôme Carretero
a0de0eacd5 extras: file_to_object: clean-up and fix issues (reported by Philippe Brais)
Changes:

- Use Node.read('rb') to get bytes (!)

- Remove use of binascii and generate better-looking C.
Binascii returns bytes if input is bytes, requiring a decode()...
There's not benefit in using it, especially if we want to make
better-looking code.

- Remove dead code
2015-10-20 08:19:41 -04:00
Thomas Nagy
f24d3b27b0
Ready to release waf 1.8.15 2015-10-18 19:58:49 +02:00
Thomas Nagy
6c5afc45b1
Workaround for msys2 inconsistent handling of slash characters
MINGW64 /C/msys2/demos/c
$ python -c "import os;print(os.getcwd())"
C:\msys2\demos\c

MINGW64 /C/msys2/demos/c
$ python3 -c "import os;print(os.getcwd())"
C:/msys2/demos/c
2015-10-18 12:26:45 +02:00
Thomas Nagy
f340819d50
waf 1.8.15 2015-10-16 23:34:02 +02:00
Thomas Nagy
971b2d32b7
More Msys2 fun! 2015-10-16 22:45:27 +02:00
Thomas Nagy
0357db5156
Fail faster on invalid install_files inputs - Issue 1639 2015-10-15 20:07:05 +02:00
Thomas Nagy
b5ffe6be31
Enable bld.program to recognize .gs in the same way as .vala 2015-10-14 23:26:56 +02:00
Thomas Nagy
26348711f0
Eliminated the last unused variables from the code 2015-10-13 22:57:45 +02:00
Thomas Nagy
b91787d888
Simplify ././path when building the Waf file 2015-10-13 22:48:14 +02:00
Jérôme Carretero
bd0008f252 extras: file_to_object: default to safer C code generation
Using asm links makes sense with big files, and if that's the case,
the user can specify it.
The C method also works on all compilers.
2015-10-13 11:46:28 -04:00
Jérôme Carretero
ce892773c6 context: fixup load_special_tools ban when using the zip 2015-10-13 00:58:39 -04:00
Thomas Nagy
f28426594e
Cleanup: removed most unused variables and imports 2015-10-11 11:32:27 +02:00
Thomas Nagy
1a47ae26c2
docs 2015-10-10 17:09:49 +02:00
Thomas Nagy
78403e3fbc
Enable relative paths to be processed in the --top and --out options 2015-10-10 17:05:13 +02:00
Thomas Nagy
731dfba711
docs 2015-10-10 10:28:21 +02:00
Thomas Nagy
fcec20c9fd
Do not link header tests - ruby detection is broken when the compiler includes the symbols 2015-10-10 10:18:02 +02:00
Thomas Nagy
369bae306f
docs - write a newline in example file to remove warning with solaris compilers 2015-10-10 09:20:55 +02:00
Thomas Nagy
ec0263f47c
docs - write a newline in example file to remove warning with solaris compilers 2015-10-10 08:52:58 +02:00
Thomas Nagy
a306e30027
docs 2015-10-09 19:32:01 +02:00
Thomas Nagy
1886e77063
Workaround for python-config bug 7352 - Issue 1636 2015-10-09 19:19:59 +02:00
Jérôme Carretero
0f0da92a59 extras: cfg_cross_gnu: fix a typo... again 2015-10-08 16:18:15 -04:00
Thomas Nagy
807a193db6
build_logs disable colors - Issue 1631 2015-10-08 21:57:46 +02:00
Jérôme Carretero
996aca8b8f extras: cfg_cross_gnu: now use conf.env.env, and also clarify the way envars are gotten 2015-10-06 21:21:14 -04:00
Thomas Nagy
4708b1b730
Workaround for an IronPython pickle bug 2015-10-07 01:11:36 +02:00
Thomas Nagy
acc64df657
IronPython fix for VisualStudio detection 2015-10-07 00:16:11 +02:00
Thomas Nagy
f5b7209b02
Visual Studio detection in IronPython 2015-10-07 00:13:09 +02:00
Thomas Nagy
1fbac668cb
Pass a conf.env.env to check_cfg 2015-10-06 23:06:22 +02:00
Thomas Nagy
061f8e2b1d
With Jython, create a gzip file by default 2015-10-06 22:17:27 +02:00
Thomas Nagy
43aef10ebf
Enable waf file builds with Jython 2015-10-06 22:06:19 +02:00