diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2024-11-20 12:06:08 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2024-11-20 12:06:08 +0200 |
commit | d282f0b8d41b7b8f584dff215fc892367895af3b (patch) | |
tree | bd7c4d68940c148077c06f02c352469959bc112d /NEWS | |
parent | 096362fa82e7ab390078089e4dbbf04da66c79e0 (diff) |
Handle config.import.*.<name>.lib in cc::search_library()
In particular, this provides support for using prefixed/suffixed installed
libraries (GH issue #449).
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 29 |
1 files changed, 29 insertions, 0 deletions
@@ -1,3 +1,32 @@ +Version 0.18.0 + + * Ability to override imported installed library path/name. + + Specifically, the config.import.<proj>.<name>.{lib,liba,libs} variables + can be used to specify alternative location and/or name for an installed + library. This, in particular, can be useful when trying to use a library + installed with a prefix or suffix. For example, if the library was + installed with the `D` suffix: + + config.import.libfoo.foo.lib=fooD + + For the config.*.lib variable, the valid values are a simple path (which + is used as a library name base), an absolute directory (which is used as a + library location), or both. For example: + + config.import.libfoo.foo.lib=/tmp/lib/ + config.import.libfoo.foo.lib=/tmp/lib/fooD + + For the config.*.{liba,libs} variables, the valid values are a simple name + (which is used as a library name), or an absolute path (which is used as a + library location and name). For example: + + config.import.libfoo.foo.libs=libfooD.so + config.import.libfoo.foo.liba=/tmp/lib/libfooD.a + + Note that on Windows, the shared library name/path should refer to the + import library, not the DLL. + Version 0.17.0 * C++20 modules support improvements: |