rules_foreign_cc/examples/ninja_simple
UebelAndre 32e222aeff
Enable more examples tests on windows (#718)
* Enable examples tests on windows

* Fixed windows absolute paths being treated as relative.

* Escape windows backslashes for sed replacement

* Improve `//cmake_hello_world_lib/static:libhello` example
2021-07-14 09:37:35 -07:00
..
code Enable more examples tests on windows (#718) 2021-07-14 09:37:35 -07:00
BUILD.bazel Enable more examples tests on windows (#718) 2021-07-14 09:37:35 -07:00
README.md Added `ninja` rule for building Ninja projects (#527) 2021-03-01 15:46:25 +00:00
test_libb.cpp Added `ninja` rule for building Ninja projects (#527) 2021-03-01 15:46:25 +00:00

README.md

Simple Ninja Example

Dependencies

  • clang
  • bazel

Executing the Example

To execute the example, run

   bazel test ...

Troubleshooting

If you receive an error of the form:

  ccache: FATAL: Failed to create /home/$USER/.ccache/2/f: Read-only file system

This is likely because you're have ccache set as your compiler. You can either disable ccache, or allow the sandbox to write to ~/.ccache:

  bazel test --sandbox_writable_path ~/.ccache ...