2
0
mirror of https://gitlab.com/ita1024/waf.git synced 2024-11-16 23:19:50 +01:00
Commit Graph

54 Commits

Author SHA1 Message Date
Thomas Nagy
017d8fd39e
Use relative paths in apply_incpaths by default
Relative paths are usually best for for specialized compilers (emscripten),
so this is for convenience. Absolute paths are usually faster.
2016-03-17 22:56:34 +01:00
Thomas Nagy
f56f22bb50
Prefix by # to have the artifacts at the root of the build directory 2016-02-26 19:25:23 +01:00
Thomas Nagy
361e4b7730
Enable vnum for libraries created in the source directory 2016-01-30 11:39:18 +01:00
Thomas Nagy
7681bddfb7 Remove Node.sig and Node.cache_sig 2015-12-23 17:55:44 +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
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
44211e0bb5
Enabled errors on warnings for the apidoc generation 2015-04-26 21:00:15 +02:00
Thomas Nagy
d1f7f7c78d
Miscellaneous platform support 2015-03-14 03:02:01 +01:00
Thomas Nagy
4a362be394
More accurate regexp on re_vnum 2015-03-12 19:22:08 +01:00
Thomas Nagy
8f4df2085c
Support for single-number versioned libraries 2015-02-15 11:53:47 +01: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
fcc950dd46
Short build outputs by default in waf 1.8 2014-09-27 16:35:33 +02:00
Thomas Nagy
08c4b175bf
Include all static libraries specified in the use=line 2014-09-14 10:48:12 +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
063da21871
Changed the default installation folders for import libraries 2014-04-09 22:24:55 +02:00
Thomas Nagy
f4185e7a26 Added global file installation pointcut 2014-02-17 00:26:58 +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
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
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
d693385073 merged the openbsd shared library installation fixes from waf 1.7 2013-09-17 00:26:16 +02:00
Jérôme Carretero
a67c8c9017 fix shlib vnum for OpenBSD 2013-08-26 16:09:19 -04:00
Jerome Carretero
edf26656ab Tools: ccroot: fix typo introduced in e5cd63a6 2013-07-20 14:52:19 -04:00
Thomas Nagy
e5cd63a670 Issue 1320, do not propagate external libraries uselib vars 2013-05-26 09:58:11 +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
a308c89c35 Issue 1180 2013-02-10 11:45:35 +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
597e4a4f4c import libraries should go to LIBDIR along with the 2012-12-10 19:23:34 +01:00
Thomas Nagy
07c5337f8b possible osx fixes 2012-11-28 01:02:07 +01:00
Thomas Nagy
fcfeaed70c let the feature 'includes' propagate INCLUDES and FRAMEWORKPATH variables 2012-08-19 11:50:11 +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
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
a5c4b29ec4 Do not prevent Logs.error/warn/debug from getting replaced 2012-06-01 04:26:44 +02:00
Thomas Nagy
284c3a0810 Install all libraries with +x 2012-03-03 15:54:17 +01:00
Thomas Nagy
25783e94d9 extract the system paths to a constant 2012-02-25 14:17:12 +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
b5bb54ede7 remove more except: lines 2012-02-11 14:49:27 +01:00
Thomas Nagy
28dc361072 filtered_object -> accept_node_to_link (still bloatware but better name) 2012-02-08 21:40:01 +01:00
Jerome Carretero
1553cb2dd6 ccroot: implement bld.read_object("pouet.o") and aux. feature
I could use this !
2012-02-07 23:48:15 -05:00
Jerome Carretero
5c3f6c680b ccroot: alter add_objects_from_tgen which was too restrictive
The code was talking about filtering out .pdb but it was filtering out anything
that is not in .{o,obj}, preventing from injecting weird objects in the link task.
2012-02-07 22:48:23 -05:00
Thomas Nagy
00fda9dc84 Issue 1097 2012-01-04 20:37:53 +01:00
Thomas Nagy
0dda692b6f more osx stuff 2011-11-12 21:47:02 +01:00
Thomas Nagy
8e0552b5cf another attempt for osx 2011-11-12 21:38:21 +01:00