Thomas Nagy
ddaf29b78d
Process CPPFLAGS at the end of commands
2015-12-23 19:26:34 +01:00
Thomas Nagy
7681bddfb7
Remove Node.sig and Node.cache_sig
2015-12-23 17:55:44 +01:00
Thomas Nagy
04449361e8
Detect clang first on FreeBSD, NetBSD, etc
2015-12-23 17:55:44 +01:00
Thomas Nagy
e1d82be8a5
The tool kde4 is not included by default in waf 1.9
2015-12-23 17:55:44 +01:00
Thomas Nagy
972d8e4904
The tool qt4 is not included by default in waf 1.9
2015-12-23 17:55:44 +01:00
Thomas Nagy
d3f788da4c
Added the tool called 'nobuild' to help troubleshoot build scripts
2015-12-23 17:55:44 +01:00
Harald Klimach
c097fcc08a
Replaced spaces by tabs.
2015-12-23 15:38:48 +01:00
Harald Klimach
5c3a40d115
Loosened and simplified the regex for the version string of ifort as suggested by apthorpe
2015-12-23 15:28:43 +01:00
Harald Klimach
f5cb7c9e2e
Ensure the stdout and stderr attributes actually exist when capturing the
...
WafError in getoutput for the Fortran compilers.
2015-12-23 15:15:06 +01:00
Harald Klimach
2262f1009b
Ignore error codes from cmd_and_log in getoutput that is used to obtain
...
the version string of Fortran compilers.
Some compilers will fail and return an error code if not provided with
a source file, yet they print the desired version string.
Thus, in case of an error code we ignore it here and just pass on the
stdout and stderr of the called subprocess.
2015-12-23 14:32:52 +01:00
Thomas Nagy
a184a9e245
Experimental conf.define(key, val, comment='msg in config.h')
2015-12-20 14:26:14 +01:00
Mohammad AlSaleh
6eb836e03d
c_config: Fix regression in exec_cfg() introduced in 1fbac66
...
Signed-off-by: Mohammad AlSaleh <CE.Mohammad.AlSaleh@gmail.com>
2015-12-11 21:52:38 +02:00
Thomas Nagy
41f005082f
Let msvc.py display encoding errors in the config.log file
2015-12-09 00:14:17 +01:00
Thomas Nagy
0e03aec82d
Unmask unicode errors in msvc - Issue 1657
2015-11-20 19:59:32 +01:00
Thomas Nagy
a46cb274a7
Intel fortran detection - Issue 1655
2015-11-18 19:12:15 +01:00
Thomas Nagy
e66cf563ce
Uninitialized variables when qt options are not used
2015-11-16 19:30:07 +01:00
Thomas Nagy
70be189ad2
Experimental option env.merge_config_header
...
This new option writes 'defines' into the test files
during the configuration tests for c/c++. This may
provide more readable config.log files.
2015-11-07 23:02:49 +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
3ff0277ea0
Enable global_define for conf.check() too
2015-10-27 22:22:35 +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
0c07ff91b0
Propagate ldflags/LDFLAGS besides linkflags/LINKFLAGS
2015-10-20 21:37:29 +02:00
Thomas Nagy
971b2d32b7
More Msys2 fun!
2015-10-16 22:45:27 +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
f28426594e
Cleanup: removed most unused variables and imports
2015-10-11 11:32:27 +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
1886e77063
Workaround for python-config bug 7352 - Issue 1636
2015-10-09 19:19:59 +02:00
Thomas Nagy
acc64df657
IronPython fix for VisualStudio detection
2015-10-07 00:16:11 +02:00
Thomas Nagy
1fbac668cb
Pass a conf.env.env to check_cfg
2015-10-06 23:06:22 +02:00
Thomas Nagy
f9f5e85616
Indentation issues
2015-09-22 07:08:21 +02:00
Thomas Nagy
dbdc95dfb6
The meaning of filter differs in Python 2/3 - Fixed MSVC builds without lazy for Python 3
2015-09-20 12:03:27 +02:00
Thomas Nagy
8ba068670a
Enable vala processing on a folder basis with the vala_dir parameter - Issue 1601
2015-09-19 19:53:46 +02:00
Thomas Nagy
19042c840e
clean up in demos/vala
2015-09-19 17:01:03 +02:00
Thomas Nagy
8ea1de44a7
Vala resources - Issue 1626
2015-09-19 09:53:53 +02:00
Mohammad Alsaleh
6de1ac07d5
c_config: Avoid warnings/errors when checking for C functions
...
The check for C functions fails with '-Werror' in GCC (5.2).
return (int)p;
^
The cast here triggers this error:
error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast]
p=(void*)(%s);
^
This conversion triggers another error with '-pedantic -Werror':
error: ISO C forbids conversion of function pointer to object pointer type [-Werror=pedantic]
This patch fixes both errors.
Signed-off-by: Mohammad Alsaleh <CE.Mohammad.AlSaleh@gmail.com>
2015-09-13 22:45:32 +02:00
Thomas Nagy
002706431d
docs
2015-09-12 23:49:38 +02:00
Thomas Nagy
49f51d547b
Missing change -Kpic/-xcode=pic32 for sun compilers in c++ mode
2015-09-12 23:32:39 +02:00
Chen He
411672c069
Update the pic build flag used for Sun CC
...
`-Kpic` had been used to generate position-indenpendent code for Sun CC.
This permits only 2^10 unqiue symbols per shared object on 64-bit
systems. This is an unreasonably small default. Switching to `-KPIC`
increases the number to 2^29.
According to
http://docs.oracle.com/cd/E37069_01/html/E37074/bjapp.html#OSSCGbjatt ,
both `-Kpic` and `-KPIC` have been deprecated, and the `-xcode` option
should be used instead. `-xcode` has been available since at least Sun
Studio 8.
2015-09-10 10:37:40 -04:00
ita1024
b01ae4d98c
Merge pull request #1624 from shoover/consolidate-mobile-targets
...
Consolidate mobile targets
2015-09-09 23:00:05 +02:00
Shawn Hoover
c376be6f61
Fix duplicate winphone 8.0 targets in the detected versions list.
2015-09-09 12:31:09 -04:00
Shawn Hoover
a8480cc2ff
Fix to consolidate WinCE versions in the compiler versions list.
2015-09-09 12:30:23 -04:00
Shawn Hoover
eb18a77a5f
Override lazy detection and save MSVC_INSTALLED_VERSIONS if get_msvc_versions is called directly.
2015-09-09 10:52:23 -04:00
Shawn Hoover
b00b9ab4e3
Don't save/print MSVC_INSTALLED_VERSIONS for lazy detection.
2015-09-09 10:52:20 -04:00
Thomas Nagy
c2f4f1b1e8
Force a chmod value for configuration tests executed
2015-09-03 21:31:46 +02:00
Thomas Nagy
eb13629bda
clang seems to provide llvm-ar
2015-09-03 20:58:47 +02:00
Shawn Hoover
fa41ac8213
Fixed a local variable shadowing the arch return switch for setup_msvc.
2015-09-02 09:16:48 -04:00
ita1024
36e07b3eaf
Merge pull request #1614 from shoover/lazy-msvc-detect-1.8
...
Optionally lazily check installed msvc compilers' environments
2015-09-01 07:27:36 +02:00
Shawn Hoover
5e833ef3f8
Read the lazy autodetect option instead of passing a value everywhere.
2015-08-31 22:06:34 -04:00
Shawn Hoover
4b65d3f875
Optionally lazily check installed msvc compilers' environments and stop when one
...
is found that matches the user's options. This happens during autodetect only
when the new option msvc_lazy_autodetect or env.MSVC_LAZY_AUTODETECT is set.
2015-08-31 14:55:15 -04:00
Thomas Nagy
e72c310b7d
Ruby 2.x detection - Issue 1613
2015-08-30 20:05:38 +02:00
Thomas Nagy
3e6b3bc5ca
Added fortran detection and warn when no link is possible - Issue 1603 and Issue 1610
2015-08-29 11:01:47 +02:00
Thomas Nagy
03ad2fff74
Adding input to cmd_and_log/exec_command enables stdin=PIPE
2015-08-23 17:39:25 +02:00
Thomas Nagy
bfbcc73eb2
C/FC detection and outputs to be written in config.log
2015-08-23 17:16:03 +02:00
Thomas Nagy
6ca1c7cad4
Simplify Clang macro detection
2015-08-07 10:51:45 +02:00
Thomas Nagy
45ffae6d4e
Ensure __GNUC_PATCHLEVEL__ is always of str type
2015-08-07 10:48:22 +02:00
Thomas Nagy
a98baba3e8
Unused code fragment
2015-08-07 10:47:06 +02:00
Thomas Nagy
0d9a9b7e77
Let write_config_header use env.WAF_CONFIG_H_PRELUDE
...
A prelude will be added from the variable env.WAF_CONFIG_H_PRELUDE if provided. This
can be used to insert complex macros or include guards::
def configure(conf):
conf.env.WAF_CONFIG_H_PRELUDE = '#include <unistd.h>\\n'
conf.write_config_header('config.h')
2015-07-11 12:01:26 +02:00
Thomas Nagy
4f93b4e814
docs
2015-07-07 22:30:00 +02:00
Thomas Nagy
933feab352
Glob mac_app resource trees - Issue 1586
2015-06-27 15:18:57 +02:00
Thomas Nagy
a946ca8383
Removed the executable bit on c_config.py
2015-06-27 14:03:04 +02:00
Thomas Nagy
f7b4940158
docs
2015-06-21 22:43:19 +02:00
Thomas Nagy
1debaf5f03
Better error message when the c compiler is clang and gcc is not found
2015-06-20 23:17:24 +02:00
Thomas Nagy
d761ad1397
Better error message when the c compiler is clang and gcc is not found
2015-06-20 22:21:43 +02:00
Caitlin Potter
9d763fc74f
[macplist]: interpolate file
...
Rather than using an inline interpolated heredoc string, or generating
the file in a pre-build step, allow the macplist task itself to
perform string interpolation on the contents of a plist file.
2015-06-14 15:53:46 -04:00
Thomas Nagy
c91214e216
generated .py files might need to be byte-compiled and installed
2015-06-11 18:15:10 +02:00
Alexander Afanasyev
728205fe3c
Change with shared library compatibility version handling
...
For ELF binaries (e.g., Linux): default compatible version (SONAME =
`<library-name>.so.<MAJOR>`) can be specialized using additional `cnum`
parameter to `<library-name>.so.<MAJOR>.<MINOR>` or
`<library-name>.so.<MAJOR>.<MINOR>.<PATCH>`.
For Mach-O binaries (e.g., OS X):
- (bugfix) install-name points to compatible version (not absolute path
to a non-versioned library)
- Default install-name `<install-path>/<library-name>.<MAJOR>.dylib` can
be specialized using `cnum` parameter to
`<install-path>/<library-name>.<MAJOR>.<MINOR>.dylib` or
`<install-path>/<library-name>.<MAJOR>.<MINOR>.<PATCH>.dylib`
- `-Wl,-compatibility_version` and `-Wl,-current_version` flags use
version from cnum/vnum (default cnum is vnum.split('.')[0])
2015-06-05 17:27:32 -07:00
Thomas Nagy
92f584fd8f
Repeated failures remove signatures - Issue 1580
2015-05-31 16:51:44 +02:00
Guillaume Poirier-Morency
f14678f3e6
Fix the '--threading' option for valac.
...
The actual compiler option is named '--thread', not '--threading'.
Renames the waf option for 'thread': it shouldn't be breaking anyone as
it was not even working.
2015-05-26 03:25:33 -04:00
Thomas Nagy
ea59b302c5
Fixed conf.multicheck error handling
2015-05-23 15:09:37 +02:00
Thomas Nagy
f048d6d20f
Do not duplicate flags from the OS environment - https://github.com/waf-project/waf/issues/1574
2015-05-16 14:26:43 +02:00
Dale Stewart
1bc6c745c9
qt5: cope with library names like 'Qt5Core' instead of 'QtCore5', as in Qt 5.4 on Windows
2015-05-14 16:15:57 -05:00
Thomas Nagy
802e937d73
Regression caused by 588f809ffa
- https://github.com/waf-project/waf/pull/1572
2015-05-08 18:16:48 +02:00
Thomas Nagy
b45f52165b
docs
2015-05-03 10:22:28 +02:00
Thomas Nagy
120af4f1d0
docs
2015-05-03 01:03:11 +02:00
Thomas Nagy
06e49b2a82
undefined variables
2015-04-26 21:13:52 +02:00
Thomas Nagy
44211e0bb5
Enabled errors on warnings for the apidoc generation
2015-04-26 21:00:15 +02:00
Thomas Nagy
ffd6c60113
docs
2015-04-26 16:52:45 +02:00
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
Daniel Svensson
588f809ffa
Use same prefix convention for python as with ruby and perl.
...
Should /usr/local/.../site-packages not be in sys.path in some
platform, a user would pass --pythondir, and --pythonarchdir to
waf when compiling, or modify sys.path.
This makes waf work more predictable, as when passing --prefix
parameter to the build, everything will be installed under this
directory.
2015-04-11 16:26:30 +02:00
Daniel Svensson
c53a6f9e07
Find xsubpp in order, privlib, vendorlib and path.
2015-04-11 13:17:21 +02:00
Thomas Nagy
ba7295d555
xsubpp misconfiguration on redhat systems
2015-04-11 10:51:19 +02:00
Thomas Nagy
0c0e0388a0
More accurate rpath parsing in parse_flags
2015-04-08 23:32:53 +02:00
Thomas Nagy
b8c965153c
Issue 1551 - use -Bstatic and -Bdynamic in parse_flags
2015-03-26 21:50:23 +01:00
Daniel Welty
94a48cc4ae
msvc: Support additional cross-compile types
...
VS 2013 supports cross-compiling for x86 and arm from amd64, but Waf
wouldn't search for these compilers.
Change-Id: I5b0d6809b666587d5aea19e6491fa7f0572c1a40
Type: Bug Fix
Signed-off-by: Thomas Nagy <tnagy2pow10@gmail.com>
2015-03-17 02:11:41 +01:00
Thomas Nagy
d1f7f7c78d
Miscellaneous platform support
2015-03-14 03:02:01 +01:00
Thomas Nagy
eefb67755e
Issue 1529 - conf.check(function_name)
2015-03-13 17:47:53 +01:00
Thomas Nagy
4a362be394
More accurate regexp on re_vnum
2015-03-12 19:22:08 +01:00
Harald Klimach
52f63ac945
Fixed logic to identify intel fortran compiler.
2015-03-10 16:59:53 +01:00
Thomas Nagy
02f4e0f1c0
Fortran errors lead to broken signatures - Issue 1546
2015-03-07 02:13:22 +01:00
Thomas Nagy
ff2ab4076f
Fix for gcc detection under msys - it behaves like cygwin
2015-03-05 16:18:51 +01:00
Thomas Nagy
80344dee5e
Use splitlines when possible
2015-03-03 12:19:25 +01:00
Thomas Nagy
9a72b14976
Enable environment-provided flags for cross-compilation in python.py
2015-03-01 11:59:16 +01:00
Thomas Nagy
47a100480f
Issue 1538 - make detection of pyembed optional
2015-02-27 12:03:53 +01:00
Thomas Nagy
bbf26e0e12
Fix the g++ compiler detection which is broken by the new clang tool
2015-02-20 14:23:04 +01:00
Thomas Nagy
269c90fe1a
Cache the files read in c_dumbpreproc.py
2015-02-20 12:06:08 +01:00
Thomas Nagy
823b4cd2dc
Issue 1536 - default 64 suffix for Redhat systems
2015-02-19 13:46:18 +01:00
Thomas Nagy
8f4df2085c
Support for single-number versioned libraries
2015-02-15 11:53:47 +01:00
Thomas Nagy
e3d8daf8bc
Issue 1527 - a not on as-needed
2015-02-14 22:38:25 +01:00
David Robillard
a3a209b352
Fix compiler detection on OSX 10.6.
...
Signed-off-by: Thomas Nagy <tnagy2pow10@gmail.com>
2015-02-14 22:29:19 +01:00
Thomas Nagy
6d674de8c9
qt5 detection improvements
2015-01-06 11:18:28 +01:00
XZS
6d5bde451d
install compiled python files besides sources
...
Compiled python files are now placed in a __pycache__ directory besides
the source file, which is in fact the only location PEP 3142 specifies.
Signed-off-by: Thomas Nagy <tnagy2pow10@gmail.com>
2015-01-02 19:30:08 +01:00
Thomas Nagy
149653a937
First commit of the year 2015
2015-01-01 16:24:54 +01:00
Thomas Nagy
0b926c7682
Issue 1524 - ruby configuration in 2.2
2014-12-29 20:01:02 +01:00
Thomas Nagy
6c11f91e12
Issue 1522
2014-12-27 20:31:11 +01:00
Thomas Nagy
90e7031d2d
blender.py belongs to extras/
2014-12-20 18:46:55 +01:00
poxip
644ab20549
blender: Do not use default platform
...
Signed-off-by: Thomas Nagy <tnagy2pow10@gmail.com>
2014-12-20 18:45:24 +01:00
poxip
229d5b93d6
Create blender tool
...
Signed-off-by: Thomas Nagy <tnagy2pow10@gmail.com>
2014-12-20 18:45:15 +01:00
Thomas Nagy
1689bc658a
Issue 1510 - suncc and CC
2014-11-20 20:43:56 +01:00
Thomas Nagy
c18f457215
Issue 1509 cmd -> cmd.exe
2014-11-13 19:27:58 +01:00
Thomas Nagy
9a46ff7558
No one has ever used conf.as_needed()
2014-11-10 22:08:36 +01:00
Thomas Nagy
67a5bb5c73
Regression due to Issue 1502
2014-11-01 23:38:02 +01:00
Thomas Nagy
7ffd53b803
Use EnvironmentError more often
2014-10-30 19:09:53 +01:00
Thomas Nagy
0cb547e65d
Issue 1498 - no python-config on windows, use the system from waf 1.7
2014-10-27 04:02:39 +01:00
Thomas Nagy
e297881d30
Missing method in qt5.py
2014-10-25 13:50:23 +02:00
Thomas Nagy
d24092184a
Issue 1502 - too much caching in qt logic
2014-10-25 13:39:22 +02:00
Thomas Nagy
86b25fa523
print the latex command executed
2014-10-23 22:22:18 +02:00
Thomas Nagy
9f6f814999
Issue 1497 - keep the hcode in subclasses
2014-10-13 19:45:05 +02:00
Thomas Nagy
b2cd86fc21
Do not force task generator attributes to be all lists
2014-10-10 07:31:16 +02:00
Thomas Nagy
8c0ead0ca1
Python 2.5 is definitely required
2014-10-04 13:49:28 +02:00
Thomas Nagy
5e4110443e
Optimizations
2014-10-04 12:44:03 +02:00
Thomas Nagy
6c9e7c6233
Much faster version of get_config_header
2014-10-02 21:09:16 +02:00
Damián Nohales
a9edfca3c8
glib2: Remove r_change_ext function
2014-10-01 01:23:42 +02:00
Thomas Nagy
9a0a7ca562
Added crutches for python-config detection on Python 2.5
2014-09-28 23:07:02 +02:00
Thomas Nagy
a3942d386b
Fixed the accidental data sharing introduced by the previous patches
2014-09-28 21:32:59 +02:00
Thomas Nagy
fcc950dd46
Short build outputs by default in waf 1.8
2014-09-27 16:35:33 +02:00
Damián Nohales
2459bee8af
intltool: add style option to intltool_in
...
This allow to user to get abstracted about the passed intltool-merge
flags, so this code:
bld(
features = 'intltool_in',
flags = ['-d', '-q', '-u'],
source = 'myapp.desktop.in',
)
Now is equivalent to:
bld(
features = 'intltool_in',
style = 'desktop',
source = 'myapp.desktop.in',
)
2014-09-22 20:13:00 +02:00
Damián Nohales
9cd10fe885
glib2: add GResource support
2014-09-21 20:59:04 +02:00
Thomas Nagy
fec1956327
Issue 1212
2014-09-21 12:47:32 +02:00
Thomas Nagy
10f0efd217
Issue 1319 - make unit test paths more configurable
2014-09-21 11:03:34 +02:00
Thomas Nagy
69c1fb1fec
Issue 1319 - make unit test paths more configurable
2014-09-21 10:58:52 +02:00
Damián Nohales
f990fca8ff
intltool: use APPNAME by default in intltool_po
...
Now user doesn't need to specify appname for intltool_po taskgen if he
has declared APPNAME.
2014-09-20 22:00:06 +02:00
Thomas Nagy
e1076cea83
Issue 1461 - Faster LaTeX processing
2014-09-20 21:51:54 +02:00
Thomas Nagy
c182070bc5
Issue 1067
2014-09-20 19:27:27 +02:00
Thomas Nagy
9a782b0179
Issue 1322
2014-09-20 17:41:10 +02:00
Damián Nohales
c0314641b7
intltool: move some code outside a loop in intltool_in
...
It's fine to execute this code just one time since the environment
variables won't change throughout the different source files.
2014-09-18 16:54:35 -03:00
Damián Nohales
2b5cab25d0
intltool: don't install merged files by default in intltool_in
...
It doesn't make sense to install merged files in LOCALEDIR in most
cases.
2014-09-18 16:54:35 -03:00
Damián Nohales
71b21ac6ed
intltool: fix INTLCACHE directory
2014-09-18 16:54:35 -03:00
Damián Nohales
8cf01e50b1
intltool: make podir default value consistent
...
Is more predictable if intltool_po and intltool_in have the same default
podir, that is, the current src directory.
2014-09-18 16:54:35 -03:00
Damián Nohales
d3badc58b4
intltool: be more clear on what is the default podir
2014-09-18 16:54:35 -03:00
Thomas Nagy
d491de7486
conf.check generalization using arbitrary build functions
2014-09-14 10:58:29 +02:00
Thomas Nagy
08c4b175bf
Include all static libraries specified in the use=line
2014-09-14 10:48:12 +02:00
Harald Klimach
7605c17732
Include the '-' in the regex to match the IA-32 string on 32 bit windows.
2014-09-03 13:50:10 +02:00
Thomas Nagy
a112808610
Issue 1481 - unreadable configuration cache file
2014-09-02 22:14:51 +02:00
Thomas Nagy
49a8bb15b2
Issue 1471 - use python-config to detect python
2014-08-31 21:11:41 +02:00
Thomas Nagy
69bb9f9209
Handle the -Xlinker case in parse_flags
2014-08-31 21:03:03 +02:00
Thomas Nagy
671add18e0
Install in the pycache folder of the file, not in the one of the task generator - Issue 1478
2014-08-29 20:05:58 +02:00
Harald Klimach
80f8225f8d
Do not use /logo on windows, as ifort expects input files with this option.
2014-08-28 11:27:44 +02:00
Harald Klimach
3c49de07a7
Modified ifort to use the -logo option for search of the compiler version.
2014-08-18 19:47:11 +02:00
Harald Klimach
ad330d76bc
Changed version option on windows to use /-prefix.
2014-08-14 20:19:51 +02:00
Thomas Nagy
cc1d38d14c
It seems that the Intel compiler dropped 'ifort' string
2014-08-14 20:03:28 +02:00
Thomas Nagy
32d2f0e1da
merged the os2 case in Utils.is_win32
2014-08-09 18:08:39 +02:00
Thomas Nagy
f6aca05fdd
Create __pycache__ files - Issue 1403
2014-07-25 18:15:23 +02:00
Syl
76731c8155
qt5: added Qt5WinExtras
2014-07-14 22:27:40 +02:00
Syl
4a3a3116c5
qt5: added qtmain to the possible lib
...
on Windows, build with QTMAIN and subsystem="windows" to create a Qt app without the console, Qt will use your "main" and manage the "WinMain" for you.
2014-07-06 11:28:54 +02:00
yngwe
342b4ab1ce
c_config: cleanup directory after configuration if no cache is needed.
2014-07-02 09:37:22 +02:00
Josh Bartel
a7eb3d811b
msvc: Create new task to install pdb file
...
Previously the msvc tool was re-using the install_task set up by ccroot
in apply_link by appending files to install_task.sources.
This is problematic because the install task is posted by the time the
call to install_files returns and the post method of the install task
copies files from sources to inputs and inputs as the list of files
that get installed. This usually worked due to the fact that the
install_task does not guard against getting posted multiple times. In
some situations such as installing and building a single target using
the --targets flag this was not working and pdb files would not be
installed.
This updates the msvc tool to create a separate task to install the
pdb files instead of re-using the existing install_task. This fixes
the issue observed with pdb files not being installed when building and
installing a single target and is also consistent with how other files
are being installed from ccroot such as in apply_implib and apply_vnum.
Change-Id: I9fc53061847453fdb5cf105f2276a2eab5fd43b4
Type: Bug Fix
Signed-off-by: Thomas Nagy <tnagy2pow10@gmail.com>
2014-06-11 00:26:14 +02:00
Alexander Afanasyev
9bad7d4f58
ccroot: Setting chmod=Utils.O644 for installation of static libraries
...
Signed-off-by: Thomas Nagy <tnagy2pow10@gmail.com>
2014-06-09 00:25:52 +02:00
Thomas Nagy
4161ce4827
Issue 1457 - boost or.hpp file
2014-05-23 00:49:27 +02:00
Thomas Nagy
27f0fc9450
Issue 1454
2014-05-21 17:21:29 +02:00
Thomas Nagy
79ef335d3d
Added defines for asm - #1442
2014-04-30 22:37:36 +02:00
Thomas Nagy
d4ca0e8cdc
Issue 1440
2014-04-27 20:06:04 +02:00
Thomas Nagy
8e7c583496
add bld(ut_cmd=True) to enable specific test execution commands - Issue 1438
2014-04-14 18:54:04 +02:00
Thomas Nagy
063da21871
Changed the default installation folders for import libraries
2014-04-09 22:24:55 +02:00
Thomas Nagy
816023237b
Define the intltool cache flag automatically - Issue 1221
2014-03-30 01:33:15 +01:00
Thomas Nagy
6a419b6289
New qt5 libs
2014-03-25 22:17:51 +01:00
Chris Winter
53387d8eff
c_config: parse_flags: add support for parsing '-isystem' and friends
...
Signed-off-by: Thomas Nagy <tnagy2pow10@gmail.com>
2014-03-24 12:43:29 +01: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
11180ae9f6
rcc detection for rcc-qt4
2014-03-11 01:24:49 +01:00
Thomas Nagy
92638245ff
Fixed bld(features='tex', deps='wscript')
2014-03-09 18:25:53 +01:00
Thomas Nagy
72334441ce
Issue 1419 - gcc 2.95 detection
2014-03-05 21:23:32 +01:00
Thomas Nagy
015ad7349b
Write a different waf-print-msvc.py file each time to help debugging
2014-02-26 07:24:47 +01:00
Thomas Nagy
f4185e7a26
Added global file installation pointcut
2014-02-17 00:26:58 +01:00
Krzysztof Kosiński
f88bf4f554
Fix defining the xxx_compiler variables in configure().
...
Due to recent changes, setting xxx_compiler in configure() had no effect.
This commit fixes the problem and changes the examples to show setting
the xxx_compiler variables at the top level of the wscript, so that
the default compilers are correctly reported in the help output.
2014-02-10 09:27:11 +01:00
Gustavo Carneiro
69fb126a4c
Issue 1405
2014-02-04 10:55:26 +00:00
Thomas Nagy
8faafeb913
Issue 1276 - suppress configuration outputs
2014-02-02 04:04:21 +01:00
Thomas Nagy
1018065c2e
Disabled the duplicate flag filter in bld(...)
2014-01-30 21:37:00 +01:00
Krzysztof Kosiński
6f18c1bd99
Revert the prune_flags changes.
...
The changes break flags such as -framework X -framework Y.
2014-01-27 16:34:40 +01:00
Krzysztof Kosiński
c9fe554af4
Fix typos in compiler_* tools.
...
Commit ca60d62bed
contaied some errors resulting from copy-pasting
code around, which caused problems with D and Fortran compiler tools.
2014-01-27 16:20:01 +01:00
Krzysztof Kosiński
48a82dacbf
ccroot: allow overriding the prune_flags setting
...
through a taskgen parameter
2014-01-27 16:12:02 +01:00
Krzysztof Kosiński
1e92b72aa6
ccroot: optional deduplication of command line flags.
...
Introduce a global variable in ccroot called prune_flags.
If set to "True", only the last repetition of each flag
will be left in the command line.
2014-01-27 04:46:14 +01:00
Krzysztof Kosiński
8147d0a18b
Add support for parameter define_name to check_cfg
2014-01-27 03:45:35 +01:00
Krzysztof Kosiński
47bd581246
Modularize the tools 'glib2' and 'intltool'.
...
In some scenarios only some components of the glib2 tool are
necessary; for example, if intltool-merge is only used for
creating localized desktop files, it's not useful on Windows.
Rewrite the configuration function of the tools into several methods,
so that the 'funs' parameter can be used to only configure
specific programs from the tools.
2014-01-27 02:34:27 +01:00
Krzysztof Kosiński
e4afaa957e
Update default compilers in compiler_c and compiler_cxx
...
to include the clang tools
2014-01-25 22:12:29 +01:00
Krzysztof Kosiński
e95b150c56
Add simple compiler tools for clang and clang++
2014-01-25 21:00:27 +01:00
Krzysztof Kosiński
30bdee769b
Clean up some cruft in the compiler tools (icc, icpc, gxx)
2014-01-25 20:59:14 +01:00
Krzysztof Kosiński
9a824a5649
Fix missing module import in compiler_c
2014-01-25 19:31:11 +01:00
Krzysztof Kosiński
c38a4fb4f0
More consistent error messages in the generic compiler tools
2014-01-25 19:28:55 +01:00
Krzysztof Kosiński
86b87413c8
Always return a value which evaluates to True when check_cfg succeeds.
2014-01-25 19:12:44 +01:00
Krzysztof Kosiński
ca60d62bed
Modify the generic compiler tools to use the "Configuration options" group.
...
Add a mechanism to set the compiler precedence for D, for consistency.
2014-01-25 18:50:04 +01:00
Krzysztof Kosiński
f386392fb2
Change the option group for glib2 schema dir to be the same
...
as the one for gnu_dirs installation directories.
2014-01-25 18:24:51 +01:00
Krzysztof Kosiński
526abea553
Improve the directory descriptions in gnu_dirs
2014-01-25 18:23:07 +01:00
Thomas Nagy
fa8fed39a0
'x use y use AAA' will add the AAA flags to x, but 'x use y uselib AAA' will not
2014-01-18 01:46:53 +01:00
Thomas Nagy
9f7ceb0e91
Issue 1395
2014-01-14 20:11:11 +01:00
Thomas Nagy
010b944062
typo
2014-01-12 19:49:31 +01:00
Jérôme Carretero
33a60e79e7
treecleaner: 'in [...]' replaced by 'in (...)' where appropriate
2014-01-05 16:27:06 -05:00
Thomas Nagy
44720924b6
case when c classes are brough by msvc but no c compiler is required, demos/c++/wscript on windows
2014-01-02 18:12:35 +01:00
Jérôme Carretero
6546e34176
Tools: ar: support for ARFLAGS environment variable
...
For instance, to make deterministic archives::
ARFLAGS=rcsD waf configure
2014-01-02 06:24:39 -05:00
Thomas Nagy
4445b7e0b6
Issue 1391 xrange
2013-12-24 15:32:09 +01:00
Thomas Nagy
29252511d0
Issue 1390 - conf.check(lib='several libs')
2013-12-21 17:29:06 +01:00
Thomas Nagy
a34eda4e8f
Issue 1389 fc scanner improvements
2013-12-20 18:02:03 +01:00
Thomas Nagy
16c0bc9d2b
problem when merging qt5.py (no run method)
2013-11-24 18:24:03 +01:00
Thomas Nagy
5664664a1a
regression in qt4.py when adding qt5.py
2013-11-24 17:58:50 +01:00
Thomas Nagy
cf75dc3308
qt5 tool
2013-11-24 14:19:28 +01:00
Thomas Nagy
bccf38b50a
Issue 1381 - moc file caching
2013-11-23 12:50:39 +01:00
Thomas Nagy
c521b1d076
Issue 1379, nasm trailing slashes
2013-11-16 20:13:41 +01:00
Thomas Nagy
346601b103
handle empty defines when pasting tokens
2013-11-15 23:24:51 +01:00
Thomas Nagy
8571c15a1b
missing change
2013-11-08 22:46:51 +01:00
Thomas Nagy
dcd6184d3f
Issue 1372 version detection for old and buggy sun compilers
2013-11-08 22:45:34 +01:00
Thomas Nagy
3884124886
Issue 1371
2013-11-03 00:14:04 +01:00
Thomas Nagy
ff820ccf49
Extract rpath flags into use variables
2013-10-27 14:56:04 +01:00
Thomas Nagy
84c9aa9a04
another regression caused by find_program changes
2013-10-23 00:10:28 +02:00
Dariusz Pelowski
53ab568fe5
fix for missing package name argument for 'pkg-config' call during fetching custom variables
...
Signed-off-by: Thomas Nagy <tnagy2pow10@gmail.com>
2013-10-15 00:25:26 +02:00
Thomas Nagy
90b491e834
moved the parser function definition out of the while loop
2013-09-30 00:05:36 +02:00
Thomas Nagy
d693385073
merged the openbsd shared library installation fixes from waf 1.7
2013-09-17 00:26:16 +02:00
Jérôme Carretero
57f6a272e2
Tools: tex: note on target bypass
2013-09-14 00:34:13 -04:00
Jérôme Carretero
8a9b3825a2
Tools: msvc: fix regression in msvc MT tool call (issue #1357 )
...
Yeah, env['MT'] is a list.
2013-09-12 18:50:06 -04:00
Thomas Nagy
e07529ad89
Issue 1348, gdc detection for gdc-msys
2013-09-11 07:52:27 +02:00
Thomas Nagy
fe1bbf536f
Issue 1356 icl detection with python 3
2013-09-07 13:27:13 -04:00
Jérôme Carretero
8076e8d52e
Tools: c_config: one more fix for the path, which can also be a string...
2013-09-05 00:12:45 -04:00
Jérôme Carretero
89358e70d4
Tools: flex: env.FLEX is a list
2013-09-05 00:08:00 -04:00
Jérôme Carretero
da5d43d418
Tools: perl: env.PERL is a list (+ simplifications)
2013-09-05 00:05:04 -04:00
Jérôme Carretero
5b97eefb66
Tools: vala: env.VALAC is a list
2013-09-04 23:53:30 -04:00
Jérôme Carretero
85e7df4ea1
Tools: c_config: fix mistake in previous commit
2013-09-04 23:47:47 -04:00
Jérôme Carretero
95679a89bb
Tools: ruby: env.RUBY is a list
2013-09-04 23:36:21 -04:00
Jérôme Carretero
14ee893d20
Tools: qt4: command paths are lists already
2013-09-04 23:35:58 -04:00
Jérôme Carretero
8d37f79ea2
Tools: c_config: pkg-config is indeed a list of strings
2013-09-04 23:21:19 -04:00
Jérôme Carretero
d6dd3fd8ab
Tools: unit test: fix indentation
2013-09-04 23:20:51 -04:00
Jérôme Carretero
1f4c66f0c7
Tools: ruby: env.RUBY is a list
2013-09-04 23:13:34 -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
Jérôme Carretero
1fad148b2c
Tools: python: allow passing PYTHON in environment
2013-09-04 00:35:49 -04:00
Thomas Nagy
a1b8eb3831
Issue 1352, changed the default name for qt resources
2013-09-01 21:29:34 +02:00
Thomas Nagy
f14314faa2
Mention that makeglossaries is a program when raising the error
2013-08-27 12:11:50 +02:00
Joe Steeve
4cbee2c4ed
Issue 1342 Tools.tex, run 'makeglossaries' if 'glossaries' is used
...
Signed-off-by: Thomas Nagy <tnagy2pow10@gmail.com>
2013-08-27 11:54:16 +02:00
Jérôme Carretero
a67c8c9017
fix shlib vnum for OpenBSD
2013-08-26 16:09:19 -04:00
Jérôme Carretero
ccec98efc4
tools: tex: replace warnings by info as they are not warnings at all
2013-08-25 20:09:42 -04:00
Jérôme Carretero
7f571e0a28
tools: tex: allow to pass a Node as manual dep
2013-08-25 15:37:11 -04:00
Jérôme Carretero
f982e0461a
tools: tex: scan (local) style files too
2013-08-24 20:24:02 -04:00
Alexander Afanasyev
9b75b843ae
Tools/python: Extending python tool
...
add: show more command-line arguments to control which
python is used and where py/pyext files should be installed.
The new options are in addition to the existing PYTHON, PYTHONDIR,
and PYTHONARCHDIR environment variable, providing the help messages
to the user, so it can easily change parameters without second-guessing
of what are they.
Environmental parameters override command line arguments (is it right?)
updated: An extension to Configure.find_command to allow specification
of the name for the searched command (using `msg` option). This is
helpful when the search command is a huge list, as in the case of
python's python-config case.
updated: Do not specify prefix for `get_python_lib`, since this way it
can result in a wrong PYTHONDIR and PYTHONARCHDIR on certain platforms
(e.g., OSX)
updated: Changing logic with byte-compilation of python files. Mow, files are
compiled during the build stage, not install stage. During the
install stage files are simply copied to the requested
location.
updated: If there is an error in python source code, byte-compilation
phase will raise an exception and abort building process.
Signed-off-by: Thomas Nagy <tnagy2pow10@gmail.com>
2013-08-17 18:15:05 +02:00
Thomas Nagy
19e624b5f4
Issue 1345 multibib support in tex/latex
2013-08-14 18:37:16 +02:00
Thomas Nagy
30c10e85d5
Issue 1343, regression in qt4 support after some refactoring
2013-08-12 07:55:01 +02:00
Jerome Carretero
edf26656ab
Tools: ccroot: fix typo introduced in e5cd63a6
2013-07-20 14:52:19 -04:00
Thomas Nagy
007acd87cf
Issue 1335
2013-07-16 21:10:32 +02:00
Thomas Nagy
f588f95a27
Issue 1339 detect the sun compiler version number
2013-07-13 19:06:08 +02:00
Thomas Nagy
5ea64b56ac
Issue 1329 C# response file flag quoting issues
2013-06-21 18:22:43 +02:00
Thomas Nagy
144f4a4d25
Issue 1321, more accurate task count for qt4 and build groups
2013-05-29 22:36:07 +02:00
Thomas Nagy
fa5ed99a21
Removed the unused env parameter from conf.write_config_header()
2013-05-26 21:48:26 +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
e5cd63a670
Issue 1320, do not propagate external libraries uselib vars
2013-05-26 09:58:11 +02:00
Thomas Nagy
5b3dc2c5ab
apidoc fixes
2013-05-25 22:49:22 +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
760d0f875c
Issue 1319 Reduce the amount of paths for the unit test execution
2013-05-19 08:49:40 +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
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
69f5f71120
Removed the annoying assert in msvs.py
2013-05-07 10:08:49 +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
Thomas Nagy
1caaec653a
Issue 1299
2013-04-27 09:19:16 +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
7eef6588af
Use Utils.readf/Utils.writef whenever possible
2013-03-14 13:45:10 +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
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
Harald Klimach
2d29dfc528
Issue 1245
2013-01-08 19:45:14 +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
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
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
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
e9d5d29ce1
missing change
2012-12-05 00:40:50 +01:00
Thomas Nagy
07c5337f8b
possible osx fixes
2012-11-28 01:02:07 +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
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
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
0856e2492b
Issue 1207
2012-10-05 00:06:24 +02:00
Thomas Nagy
d3210ea74b
configuration fix for kde4
2012-09-27 19:48:30 +02:00
Thomas Nagy
ab385ea63c
#1202
2012-09-23 19:49:17 +02:00
Thomas Nagy
57afd10abc
stupid race condition, issue #1200
2012-09-19 08:11:42 +02:00
alexrp
cc048dc574
Fill out DEST_CPU for MSVC.
2012-09-18 23:57:17 +02:00
alexrp
cf4a6abbd2
Use ASMPATH_ST for for assembler includes.
2012-09-18 23:54:02 +02:00
Thomas Nagy
ecfd580227
Issue 1194
2012-09-13 06:07:26 +02:00
Thomas Nagy
0f6ee2a0cf
Issue 1192
2012-08-24 22:53:07 +02:00
Thomas Nagy
e67b593eee
Issue 1191
2012-08-23 17:33:36 +02:00
Thomas Nagy
fcfeaed70c
let the feature 'includes' propagate INCLUDES and FRAMEWORKPATH variables
2012-08-19 11:50:11 +02:00
Thomas Nagy
25a076d254
prevent accidental race conditions with conf.env / msvc
2012-08-09 19:05:05 +02:00
Thomas Nagy
fb0f6ed5ea
Issue 1186
2012-08-05 01:33:11 +02:00
Jerome Carretero
2072e65e6f
qt4: use os.environ, not conf.environ
2012-08-04 16:33:47 -04:00
Thomas Nagy
2d6fed4101
Issue 1188
2012-08-04 02:26:08 +02:00
Thomas Nagy
f79e057f5d
Prevent typos on bld.subst(iscopy/is_copy)
2012-08-03 19:38:50 +02:00
Thomas Nagy
b45a4f1db4
Issue 1187
2012-08-02 19:58:39 +02:00
Thomas Nagy
33dfd7d03d
uselib vars for asm
2012-07-28 10:52:00 +02:00
Thomas Nagy
1946acc1d8
response files for c#, Issue 1182
2012-07-26 07:05:46 +02: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
c5d0daf11f
add frameworks during the compilation
2012-07-24 19:35:03 +02:00
Thomas Nagy
b6771c2055
better error message
2012-07-20 20:16:25 +02:00
Thomas Nagy
070669067a
https://github.com/nenolod/pkgconf/issues/24 pkgconf is not totally compatible with pkg-config
2012-07-20 18:22:37 +02:00
Thomas Nagy
e2b65f029d
Another fix for the AIX compiler detection
2012-07-09 18:39:34 +02:00
Thomas Nagy
b05ab4d00d
Better detection of the XLC compilers
2012-07-09 18:11:48 +02:00
Johan Boule
6c74f1051b
It was meant to be a try-finally block, to ensure file is closed.
2012-07-09 03:39:59 +02:00
Thomas Nagy
8d1ff034df
test the compilation of a pyembed program, not a pyembed shlib
2012-07-05 16:10:10 +02:00
Thomas Nagy
e8675232fd
AIX compiler detection improvements
2012-07-05 11:24:46 +02:00
Thomas Nagy
1ca31f8ddf
Re-enabled sequential builds for the build farm
2012-07-05 10:37:29 +02:00
Thomas Nagy
31da29c1b1
potential hpux fixes
2012-07-05 09:57:52 +02:00
Thomas Nagy
f9f31d77c2
Fixed the apidocs of parse_flags
2012-07-05 09:57:34 +02:00
Thomas Nagy
c2aef04b0e
Fixed the configuration tests for Issue 915
2012-07-04 19:11:09 +02:00
Thomas Nagy
62613ddefc
Issue 915
2012-07-03 15:42:17 +02:00
Thomas Nagy
ec3295c1a4
let conf.define() cast bool and None values to int
2012-06-30 18:15:56 +02:00
alexrp
d2d31c69a0
Extend the dmd tool to handle dmd2.
2012-06-21 18:31:52 +02:00
Thomas Nagy
183388abce
python detection fix for hp-ux (build farm)
2012-06-19 18:02:04 +02:00
Thomas Nagy
bf2b2fa982
add the -framework flags for the compilation too
2012-06-16 21:36:07 +02:00
Thomas Nagy
4f6b76ff9e
log more outputs
2012-06-16 02:43:02 +02:00
alexrp
fb815d0c8a
Copy/pasta is evil and I should feel bad.
2012-06-09 09:20:22 +02:00
alexrp
2318c294dd
And another!
2012-06-08 23:01:54 +02:00
alexrp
fdf234c2a6
Fix silly syntax error.
2012-06-08 22:58:38 +02:00
alexrp
78aa2f3e92
Some changes to the D support:
...
* Added ldc2 as a separate tool. It can be detected/used with --check-d-compiler in the compiler_d tool now.
* Added code to make sure that the compilers we find actually are the right ones (heuristics).
* Correct some old comments.
2012-06-08 21:38:40 +02:00
alexrp
0ce8e8b5ca
Clarify error message (ldc is not a dmd2 replacement, ldc2 is).
2012-06-06 23:17:24 +02:00
Thomas Nagy
4d56d7039f
enable static and shared libraries with the same extension (use -v to catch the mistakes)
2012-06-04 19:55:37 +02:00
Thomas Nagy
5915ae6d59
cosmetic changes
2012-06-02 09:29:30 +02:00
Jerome Carretero
879181f361
cs: indentation fix
2012-06-01 22:17:12 -04:00
Jerome Carretero
719dc32539
javaw: indentation fix
2012-06-01 22:04:59 -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
71c10abe7f
removed an unused variable (cosmetic change)
2012-05-29 22:47:33 +02:00
Thomas Nagy
4f20b48c14
this may work for visual studio 2011
2012-05-29 22:44:00 +02:00
Thomas Nagy
10d3ecdc34
add the missing finally block to open()
2012-05-19 10:27:47 +02:00
Thomas Nagy
5ec0cbed4c
self.env->env when looking for defines in parse_flags
2012-05-17 11:16:16 +02:00
Thomas Nagy
66172d53d3
Issue 1165
2012-05-16 08:29:13 +02:00
Jerome Carretero
91802ba41f
Allow cross-compiling of qt4 applications (plz2review)
...
I'm cross-compiling the qt4 demo with::
export QT4_ROOT=/path/to/win32/qt4
QT4_INCLUDES=$QT4_ROOT/include QT4_XCOMPILE=1 QT4_BIN="$PWD" QT4_LIBDIR=$QT4_ROOT/lib \
CXX=i686-pc-mingw32-g++ CC=i686-pc-mingw32-gcc CFLAGS=-g CXXFLAGS=-g waf configure
I made a simple wrapper for the qt tools::
lrwxrwxrwx 1 cJ cJ 7 May 12 14:08 moc -> wrapper*
lrwxrwxrwx 1 cJ cJ 7 May 12 14:02 qmake -> wrapper*
lrwxrwxrwx 1 cJ cJ 7 May 12 14:09 rcc -> wrapper*
lrwxrwxrwx 1 cJ cJ 7 May 12 14:04 uic -> wrapper*
-rwxrwxr-x 1 cJ cJ 318 May 12 14:04 wrapper*
Wrapper contents::
#!/usr/bin/env python
# Calls win32 Qt tools via wine (too lazy to install the same version)
import sys, os, subprocess
QT4_ROOT = os.environ["QT4_ROOT"]
tool = os.path.basename(sys.argv[0])
args = sys.argv[1:]
cmd = [
"wine",
"%s/bin/%s" % (QT4_ROOT, tool),
] + args
sys.exit(subprocess.call(cmd))
Note: disabled localization in qt4 demo wscript as I don't need it.
2012-05-12 14:56:09 -04:00
Thomas Nagy
556eabd0af
new include guard for write_config_header
2012-05-11 07:26:50 +02:00
Thomas Nagy
49ce7a489e
add the FCFLAGS from the os environ
2012-05-09 00:35:24 +02:00
Thomas Nagy
bb25f417f8
simplification
2012-05-08 18:31:20 +02:00
Thomas Nagy
0d97220bd4
force gcc for gcc+asm support
2012-05-05 17:06:34 +02:00
ita
b6455df988
use the unbuffered output for latex commands
2012-05-04 10:05:10 +02:00
ita
ea12601932
Make sure g95.py gfortran.py and ifort.py can be used in a standalone manner
2012-04-30 11:07:08 +02:00
ita
12b66365d3
Issue 1159
2012-04-30 10:29:31 +02:00
Thomas Nagy
707fa06763
Issue 1154
2012-04-23 23:59:53 +02:00
Thomas Nagy
af2c42f9b8
Issue 1153, fix the C# stuff
2012-04-23 19:16:56 +02:00
Thomas Nagy
692ab67591
typo
2012-04-21 10:22:22 +02:00
Thomas Nagy
af2d8053cc
Issue 1150, Apple broke java
2012-04-21 00:22:44 +02:00
andreww
7515dab30e
Add 'platform' argument for C# tasks.
...
Set the 'platform' argument on C# a task generator to select the
'/platform' option to pass to the compiler. Defaults to 'anycpu'.
Signed-off-by: Thomas Nagy <tnagy2pow10@gmail.com>
2012-04-17 20:43:25 +02:00
Thomas Nagy
d5c9b8f258
Issue 1117
2012-04-16 19:54:19 +02:00
Thomas Nagy
3e0c65e4af
feature 'subst' supports before/after, disable the warning
2012-04-08 20:20:10 +02:00
Thomas Nagy
bafd9c4417
refactor the vapi_dirs flags processing
2012-04-07 14:48:45 +02:00
Thomas Nagy
1e083206af
extract another method from the vala processing
2012-04-07 14:42:47 +02:00
Thomas Nagy
e7306c166f
cleanup
2012-04-07 13:50:26 +02:00
Thomas Nagy
237de1d4e3
refactoring vala.py
2012-04-07 13:40:34 +02:00
Thomas Nagy
898872699d
removed the macro DLL_EXPORT for gcc/g++ on windows and cleaned up a few TODO entries
2012-04-07 10:54:40 +02:00
Thomas Nagy
49f773b43c
this might solve Issue 1132
2012-04-03 23:40:50 +02:00
Thomas Nagy
03905f8402
cosmetic change
2012-04-01 11:30:23 +02:00
Thomas Nagy
c86de0c041
Issue 1131
2012-03-23 03:50:15 +01:00
Thomas Nagy
59f4ceb51e
Issue 1131
2012-03-23 03:42:05 +01:00
Thomas Nagy
ce05a01705
Issue 1131
2012-03-23 03:31:56 +01:00
Thomas Nagy
154bc0145e
Issue 1130
2012-03-18 19:05:54 +01:00
Thomas Nagy
9c823649ab
Issue 1122
2012-03-11 13:14:28 +01:00
Thomas Nagy
8bfddb955e
Issue 1125
2012-03-10 19:22:40 +01:00
Thomas Nagy
5aee9e74a8
Issue 1123
2012-03-09 20:16:56 +01:00
Thomas Nagy
533029892f
Issue 1122
2012-03-08 21:35:36 +01:00
Thomas Nagy
85f7426d31
Issue 722
2012-03-04 15:33:48 +01:00
Thomas Nagy
284c3a0810
Install all libraries with +x
2012-03-03 15:54:17 +01:00
Thomas Nagy
8ca6bc9504
Issue 1111
2012-02-26 14:32:30 +01:00
Thomas Nagy
5beb2c4d55
Issue 1117
2012-02-26 13:25:21 +01:00
Thomas Nagy
1134de1bb5
Issue 1120
2012-02-25 16:47:30 +01:00
Thomas Nagy
25783e94d9
extract the system paths to a constant
2012-02-25 14:17:12 +01:00
Thomas Nagy
74beae4113
Issue 1117
2012-02-22 20:41:09 +01:00
Thomas Nagy
976d2e95a0
make the 'execute' parameter optional when checking for the d libraries
2012-02-22 19:24:06 +01:00
Thomas Nagy
3938a4ae70
for consistency x.search() -> x.search_node()
2012-02-19 10:15:31 +01:00
Harald Klimach
818e057de5
Addressing issue #1116
2012-02-18 15:33:56 +01:00
Thomas Nagy
b5ea8d79f2
remove the go stuff, it will be rewritten
2012-02-18 01:42:44 +01:00
Thomas Nagy
35e7a05ffa
Issue 1115
2012-02-18 00:53:18 +01:00
Thomas Nagy
652d42f0ff
Issue 1114
2012-02-18 00:27:05 +01:00