* add Jordan Williams to both CONTRIBUTORS and AUTHORS * alias benchmark libraries Provide aliased CMake targets for the benchmark and benchmark_main targets. The alias targets are namespaced under benchmark::, which is the namespace when they are exported. I chose not to use either the PROJECT_NAME or the namespace variable but to hard-code the namespace. This is because the benchmark and benchmark_main targets are hard-coded by name themselves. Hard-coding the namespace is also much cleaner and easier to read. * link to aliased benchmark targets It is safer to link against namespaced targets because of how CMake interprets the double colon. Typo's will be caught by CMake at configuration-time instead of during compile / link time. * document the provided alias targets * add "Usage with CMake" section in documentation This section covers linking against the alias/import CMake targets and including them using either find_package or add_subdirectory. * format the "Usage with CMake" README section Added a newline after the "Usage with CMake" section header. Dropped the header level of the section by one to make it a direct subsection of the "Usage" section. Wrapped lines to be no longer than 80 characters in length.
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| AssemblyTests.cmake | Loading commit data... | |
| BUILD | Loading commit data... | |
| CMakeLists.txt | Loading commit data... | |
| basic_test.cc | Loading commit data... | |
| benchmark_gtest.cc | Loading commit data... | |
| benchmark_name_gtest.cc | Loading commit data... | |
| benchmark_test.cc | Loading commit data... | |
| clobber_memory_assembly_test.cc | Loading commit data... | |
| commandlineflags_gtest.cc | Loading commit data... | |
| complexity_test.cc | Loading commit data... | |
| cxx03_test.cc | Loading commit data... | |
| diagnostics_test.cc | Loading commit data... | |
| display_aggregates_only_test.cc | Loading commit data... | |
| donotoptimize_assembly_test.cc | Loading commit data... | |
| donotoptimize_test.cc | Loading commit data... | |
| filter_test.cc | Loading commit data... | |
| fixture_test.cc | Loading commit data... | |
| internal_threading_test.cc | Loading commit data... | |
| link_main_test.cc | Loading commit data... | |
| map_test.cc | Loading commit data... | |
| memory_manager_test.cc | Loading commit data... | |
| multiple_ranges_test.cc | Loading commit data... | |
| options_test.cc | Loading commit data... | |
| output_test.h | Loading commit data... | |
| output_test_helper.cc | Loading commit data... | |
| register_benchmark_test.cc | Loading commit data... | |
| report_aggregates_only_test.cc | Loading commit data... | |
| reporter_output_test.cc | Loading commit data... | |
| skip_with_error_test.cc | Loading commit data... | |
| state_assembly_test.cc | Loading commit data... | |
| statistics_gtest.cc | Loading commit data... | |
| string_util_gtest.cc | Loading commit data... | |
| templated_fixture_test.cc | Loading commit data... | |
| user_counters_tabular_test.cc | Loading commit data... | |
| user_counters_test.cc | Loading commit data... | |
| user_counters_thousands_test.cc | Loading commit data... |