Commit Graph

66 Commits

Author SHA1 Message Date
Thomas Nagy 1721a505d9
Use the new syntax for sets 2016-09-02 20:20:43 +02:00
Thomas Nagy 1b1bad8231
Unused keyword 2016-07-07 07:47:15 +02:00
Thomas Nagy 850e9ad5fc
Simplify env['FOO'] -> env.FOO 2016-06-25 23:54:12 +02:00
Thomas Nagy fc02c1d42a
Api docs 2016-06-25 20:10:04 +02:00
Thomas Nagy 764645a014
Reduce the amount of paths added to unit test environment variable PATH 2016-06-17 22:02:41 +02:00
Thomas Nagy 98f495bda1
Simplify manifest file processing 2016-06-16 21:39:50 +02:00
Thomas Nagy 062a5263a0
Update conf.check_waf_version to 1.9 2016-06-04 09:33:13 +02:00
Thomas Nagy fd05cff103
Missing installation fixes 2016-05-17 19:49:44 +02:00
Thomas Nagy 145dba3fd1
Unused variable 2016-05-06 20:59:40 +02:00
Thomas Nagy b1f5c0f814
Create installation tasks directly
Task generators created from other task generators may be
skipped during partial builds. This change re-enables
install_task as a task attribute and provides a task
object with input and output nodes which can be re-used
by other tasks.
2016-05-06 15:54:36 +02:00
Thomas Nagy 6c21deb583
install_task -> install_tg 2016-05-03 23:14:10 +02:00
Thomas Nagy a64a8d1d29
Extend relative cwd processing to Task generators 2016-03-23 22:28:14 +01:00
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