rules_foreign_cc/for_workspace
irengrig c51480261c
Extract shell fragments into a toolchain (#196)
* Extract shell fragments into a toolchain

Construct script in framework.bzl using special notation for calling
shell fragments, defining and referencing environment variables;
have the script converted from this special notation into a real script
(see README.md notes.)
The special notation is used to keep script construction in code still readable.

Tools scripts (cmake, ninja) were also converted.

* Fix reference to environment variables in examples

.. and reference it correctly $$var_name$$ so it is replaced further

* Review comments: documentation, explicitly mark functions from toolchain

- mark functions from shell toolchain as ##funname##, so that they
can not be mixed with usual shell functions

* Fix operating system name for windows in toolchain file

* Additional env vars for windows

* Correct cmake tool build

* Do not build ninja on Windows

* When run on Windows under msys, find utility from Window could "leak"...

into the script. Use heuristics to use /usr/bin/find if it exists.
Also, use pwd -W to get Windows-styled paths (for cmake)
2019-01-18 18:06:10 +01:00
..
BUILD Extract shell fragments into a toolchain (#196) 2019-01-18 18:06:10 +01:00
cmake_build.bzl Extract shell fragments into a toolchain (#196) 2019-01-18 18:06:10 +01:00
compilation_mode.bzl Pass the value of --compilation_mode dbg to the rule and to CMake (#96) 2018-09-14 10:18:38 +02:00
install_ws_dependency.bzl do not use 'workspace' as top level package name (#73) 2018-08-30 18:08:44 +02:00
ninja_build.bzl Extract shell fragments into a toolchain (#196) 2019-01-18 18:06:10 +01:00
repositories.bzl Fixes for Bazel --all_incompatible_changes (#194) 2019-01-08 18:25:04 +01:00
starlark_api_change_support.bzl Do not support Bazel before 0.20 (#195) 2019-01-08 18:21:22 +01:00