This repository has been archived on 2024-12-15. You can view files and clone it, but cannot push or open issues or pull requests.
CppPatterns/Functor/CMakeLists.txt
2024-03-15 10:28:47 +01:00

22 lines
523 B
CMake

cmake_minimum_required(VERSION 3.20)
project(
Functor
VERSION 0.1.0
LANGUAGES CXX)
list(APPEND CMAKE_MODULE_PATH "${PROJECT_SOURCE_DIR}/../cmake")
include(ExportCompileCommands)
include(sccache)
add_executable(Functor main.cpp)
target_compile_features(Functor PUBLIC cxx_std_20)
set_target_properties(
Functor
PROPERTIES ARCHIVE_OUTPUT_DIRECTORY "${PROJECT_SOURCE_DIR}/bin"
RUNTIME_OUTPUT_DIRECTORY "${PROJECT_SOURCE_DIR}/bin"
RUNTIME_OUTPUT_DIRECTORY "${PROJECT_SOURCE_DIR}/bin")