2
0
Fork 0
mirror of https://github.com/bazel-contrib/rules_foreign_cc synced 2024-12-04 08:02:31 +00:00
rules_foreign_cc/examples/cmake
irengrig 4965090335
External C/C++ libraries rules need to pass transitive info (#112)
* External C/C++ libraries rules need to pass transitive info

- to have the same interface as cc_library to hide the "implementation details",
so that the information about the install directory and its contents of non-direct external dependencies of external library was available for external build
- this is particularly needed for configure-make rule, where we do not control the way needed libraries are found, so we want to provide the install directory and the -L, -I flags (include and library directories to be searched) consistently,
pointing to the directories under $EXT_BUILD_DEPS
- as a side effect, *.la files that contained links to absolute paths of dependencies (pointing somewhere under ...sandbox/bazel-out/...) now will point to directories under $EXT_BUILD_DEPS and so will be replaced correctly/will not point to paths under the previous sandbox

* External C/C++ libraries rules need to pass transitive info [improve]
By review comments;

- rename to do not collate with internally reserved list, dir, provider
- rename providers to use the same "foreign_cc" prefix and be shorter
- improve providers description
- return back output groups to do not reduce the flexibility

* External C/C++ libraries rules need to pass transitive info [improve]
By review comments:

- some more renames

* External C/C++ libraries rules need to pass transitive info: version++

* Correct review comments
2018-10-05 22:04:54 +02:00
..
arc.c move examples into examples directory (#14) 2018-08-13 11:55:05 +02:00
bazel-icon-transparent.png move examples into examples directory (#14) 2018-08-13 11:55:05 +02:00
BUILD External C/C++ libraries rules need to pass transitive info (#112) 2018-10-05 22:04:54 +02:00
libpng_usage_example.cpp first tests for ci (#16) 2018-08-13 12:44:53 +02:00
test_libgd.sh More windows tests corrections (#87) 2018-09-11 13:55:25 +02:00
test_libpng.sh More windows tests corrections (#87) 2018-09-11 13:55:25 +02:00
test_zlib.sh More windows tests corrections (#87) 2018-09-11 13:55:25 +02:00
zlib-example.cpp move examples into examples directory (#14) 2018-08-13 11:55:05 +02:00