this_algorithm/test-data/generator/CMakeLists.txt

18 lines
453 B
CMake
Raw Normal View History

2023-02-22 18:41:45 -05:00
cmake_minimum_required(VERSION 3.10)
project(my_project)
set(CMAKE_POSITION_INDEPENDENT_CODE ON)
# Abseil requires C++14
set(CMAKE_CXX_STANDARD 14)
# Process Abseil's CMake build system
add_subdirectory(/Source/abseil-cpp /Source/abseil-cpp/build)
add_subdirectory(/Source/s2geometry /Source/s2geometry/build)
add_executable(generate generate.cpp)
# Declare dependency on the absl::strings library
target_link_libraries(generate absl::strings s2)