diff --git a/CMakeLists.txt b/CMakeLists.txt index 9966923..9b6c4cd 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -12,12 +12,6 @@ target_include_directories(${PROJECT_NAME} INTERFACE headers) target_compile_features(${PROJECT_NAME} INTERFACE cxx_std_17) if(BUILD_AS_STANDALONE) - option(BUILD_WITH_UNBENCH "Build with benchmarks" OFF) - if(BUILD_WITH_UNBENCH) - enable_testing() - add_subdirectory(unbench) - endif() - option(BUILD_WITH_UNTESTS "Build with unit tests" ON) if(BUILD_WITH_UNTESTS) enable_testing() diff --git a/unbench/CMakeLists.txt b/unbench/CMakeLists.txt deleted file mode 100644 index 0c19ac4..0000000 --- a/unbench/CMakeLists.txt +++ /dev/null @@ -1,39 +0,0 @@ -# 3.11 version is required for `FetchContent` -cmake_minimum_required(VERSION 3.11 FATAL_ERROR) - -project(ecs.hpp.unbench) - -# -# executable -# - -file(GLOB UNBENCH_SOURCES "*.cpp" "*.hpp") -add_executable(${PROJECT_NAME} ${UNBENCH_SOURCES}) -target_link_libraries(${PROJECT_NAME} ecs.hpp) - -target_compile_options(${PROJECT_NAME} - PRIVATE - $<$: - /W4> - PRIVATE - $<$,$,$>: - -Wall -Wextra -Wpedantic>) - -add_test(${PROJECT_NAME} ${PROJECT_NAME}) - -# -# google/benchmark -# - -include(FetchContent) -FetchContent_Declare( - google_benchmark - GIT_REPOSITORY https://github.com/google/benchmark) - -FetchContent_GetProperties(google_benchmark) -if(NOT google_benchmark_POPULATED) - FetchContent_Populate(google_benchmark) - set(BENCHMARK_ENABLE_TESTING OFF CACHE BOOL "" FORCE) - add_subdirectory(${google_benchmark_SOURCE_DIR} ${google_benchmark_BINARY_DIR}) - target_link_libraries(${PROJECT_NAME} benchmark_main) -endif() diff --git a/unbench/bench_base.hpp b/unbench/bench_base.hpp deleted file mode 100644 index 13ffbd2..0000000 --- a/unbench/bench_base.hpp +++ /dev/null @@ -1,13 +0,0 @@ -/******************************************************************************* - * This file is part of the "https://github.com/blackmatov/ecs.hpp" - * For conditions of distribution and use, see copyright notice in LICENSE.md - * Copyright (C) 2018-2020, by Matvey Cherevko (blackmatov@gmail.com) - ******************************************************************************/ - -#pragma once - -#include - -namespace ecs_hpp_unbench -{ -} diff --git a/unbench/ecs_join_bench.cpp b/unbench/ecs_join_bench.cpp deleted file mode 100644 index e3d3c0b..0000000 --- a/unbench/ecs_join_bench.cpp +++ /dev/null @@ -1,11 +0,0 @@ -/******************************************************************************* - * This file is part of the "https://github.com/blackmatov/ecs.hpp" - * For conditions of distribution and use, see copyright notice in LICENSE.md - * Copyright (C) 2018-2020, by Matvey Cherevko (blackmatov@gmail.com) - ******************************************************************************/ - -#include "bench_base.hpp" -using namespace ecs_hpp_unbench; - -#include -namespace ecs = ecs_hpp;