cmake_minimum_required(VERSION 3.11.0)
-project(atomic-benchmarks VERSION 0.1.0)
+project(benchmarks VERSION 0.1.0)
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
add_compile_options(-Wall -Wextra -Wimplicit-fallthrough)
-add_executable(atomic-benchmarks main.cpp harness.cpp)
+add_executable(benchmarks main.cpp harness.cpp)
set(CPACK_PROJECT_NAME ${PROJECT_NAME})
set(CPACK_PROJECT_VERSION ${PROJECT_VERSION})
.PHONY: all clean configure
-all: build-ppc64le/atomic-benchmarks build-aarch64/atomic-benchmarks build-x86_64/atomic-benchmarks
+all: build-ppc64le/benchmarks build-aarch64/benchmarks build-x86_64/benchmarks
common_cmake_flags = -S .
common_cmake_flags += -DCMAKE_EXPORT_COMPILE_COMMANDS:BOOL=TRUE
.PHONY: __force-run
-build-ppc64le/atomic-benchmarks: build-ppc64le/Makefile __force-run
- $(MAKE) -C build-ppc64le atomic-benchmarks
+build-ppc64le/benchmarks: build-ppc64le/Makefile __force-run
+ $(MAKE) -C build-ppc64le benchmarks
-build-aarch64/atomic-benchmarks: build-aarch64/Makefile __force-run
- $(MAKE) -C build-aarch64 atomic-benchmarks
+build-aarch64/benchmarks: build-aarch64/Makefile __force-run
+ $(MAKE) -C build-aarch64 benchmarks
-build-x86_64/atomic-benchmarks: build-x86_64/Makefile __force-run
- $(MAKE) -C build-x86_64 atomic-benchmarks
+build-x86_64/benchmarks: build-x86_64/Makefile __force-run
+ $(MAKE) -C build-x86_64 benchmarks
clean:
rm -fr build-ppc64le build-aarch64 build-x86_64