2
0
Fork 0
mirror of https://github.com/bazel-contrib/rules_foreign_cc synced 2024-11-29 12:33:51 +00:00
rules_foreign_cc/examples/BUILD
irengrig 515c15a392
Add a feature of generating CMake toolchain file and writing tools and flags information there (#70)
* cmake toolchain files support

* extract cmake script consruction code into a separate file

for further testing

* simplify cmake script creation code

* first four tests for CMake script creation functions

* + move_dict_values_test for CMake script creation functions

* + reverse_descriptor_dict_test for CMake script creation functions

* + toolchain_and_user_values_test for CMake script creation functions

* add create_cmake_script_no_toolchain_file_test for CMake script creation

* do not insert executable linker rule option if it uses cxx compiler

since it would be the same as default
add one more test for command line

* add test for cmake script with toolchain file

* add test for cmake script with toolchain file with user values

* propagate information about target into CMake toolchain file
2018-08-30 13:12:51 +02:00

13 lines
356 B
Python

test_suite(
name = "tests",
tests = [
"//examples/cmake:test_libgd",
"//examples/cmake:test_libpng",
"//examples/cmake:test_zlib",
"//examples/cmake_cares:test_c_ares",
"//examples/cmake_nghttp2:test_nghttp2",
"//examples/ninja:test_ninja_version",
"//test:cmake_script_test_suite",
],
)