hashmap-bench/CMakeLists.txt
2020-02-06 22:28:32 -03:00

32 lines
824 B
CMake

cmake_minimum_required(VERSION 3.15)
project(another_studproject)
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_FLAGS "-O3 -flto=thin -march=native")
# Process Abseil's CMake build system
add_subdirectory(./src/includes/3thparty/abseil-cpp
./src/includes/3thparty/tsl
)
add_executable(studproject
./src/includes/generator.h
./src/generator.cpp
./src/includes/tests.h
./src/includes/aggregate_tests.h
./src/includes/3thparty/emilib/loguru.cpp
main.cpp
)
target_link_libraries(studproject
absl::hash
absl::node_hash_map
absl::flat_hash_map
pthread
dl
)