UebelAndre
a7f1c9e604
Docs are now auto-generated using mdbook ( #692 )
2021-06-22 13:10:31 -07:00
UebelAndre
3dbe409720
Removed legacy *env_vars
attributes from cmake
and configure_make
rule ( #675 )
...
* Removed legacy `*env_vars` attributes from `cmake` and `configure_make` rule. Use `env` instead.
* Updated examples
* Improved variable expansion
* Fixed missing `build_data` attribute for `configure_make`
* Fix environment variable quotes
* Attempt to address quoted environment variables.
* Updated documentation
2021-06-21 08:24:34 -07:00
UebelAndre
9932c7dbc2
Removed make_commands
attribute and fixed configure_make
( #671 )
2021-06-16 13:09:15 +00:00
UebelAndre
3b3960267c
Added tool_prefix
attribute ( #676 )
...
* Added `build_data` attribute and deprecated `additional_inputs`, `additional_tools`, and `tool_deps`.
* Added `tool_prefix` and `configure_prefix` attributes
* Updated examples
* Fixed typo
2021-06-14 16:59:49 +00:00
UebelAndre
f471bbfeb2
Updated documentation and removed the need to commit updated docs ( #652 )
2021-06-02 19:58:56 +01:00
James Sharpe
cef5ee61ff
Set MAKE env var ( #638 )
...
* Set MAKE env var
* Update foreign_cc/private/configure_script.bzl
Co-authored-by: UebelAndre <github@uebelandre.com>
Co-authored-by: UebelAndre <andre.brisco@gmail.com>
Co-authored-by: UebelAndre <github@uebelandre.com>
2021-05-09 15:44:57 -07:00
UebelAndre
32b0c10972
configure_make hard requires configure_in_place
for certain attributes ( #633 )
2021-05-09 05:24:30 +00:00
UebelAndre
4eb5c5c0c2
Added a new platform_info
target to the foreign_cc framework ( #629 )
...
* Added a new `platform_info` target to the foreign_cc framework
* Update foreign_cc/private/framework/platform.bzl
Co-authored-by: James Sharpe <james.sharpe@zenotech.com>
Co-authored-by: James Sharpe <james.sharpe@zenotech.com>
2021-05-05 21:35:54 +01:00
UebelAndre
1bd2a8c547
Refactored framework to avoid polymorphism complexity ( #612 )
...
* Refactored framework to be less complex
* Deleted default commands (aka 'stale linux commands')
* Restored toolchain name
2021-04-30 17:03:32 +01:00
James Sharpe
b66074cdd2
Add incompatible_use_toolchain_transition = True as per https://github.com/bazelbuild/bazel/issues/11584 ( #617 )
2021-04-19 08:01:50 -07:00
James Sharpe
ede2c80a51
Keep lines of scripts as a list of commands until script creation ( #572 )
...
This reduced the large amount of `"\n".join()` calls
2021-03-17 14:50:25 -07:00
UebelAndre
e4399415b8
Added "targets" API ( #556 )
...
* Added `targets` API to all existing build rules
* Updated examples
* Restore making the make toolchain always available.
* Add support for generator cmake parsing and setting CMAKE_MAKE_PROGRAM
* Cleaned up duplicate generator arguments
* Fixed cmake tests
* Updated docs
* Addressed PR feedback
* Fixed missing and incorrect generators
* Fixed `generate_args` name
2021-03-17 13:42:44 +00:00
UebelAndre
edbfa3bfa9
Restructured rules to match architecture ( #555 )
...
* Restructured rules to match architecture
* Added exports of all symbols in the deprecated location for legacy support
* Updated examples
2021-03-12 16:54:14 +00:00