pacman/CMakeLists.txt

21 lines
747 B
CMake
Raw Normal View History

2020-11-27 13:10:09 +00:00
cmake_minimum_required(VERSION 3.17)
2020-11-27 14:09:41 +00:00
project(modern_cpp_exercises )
2020-11-23 18:59:11 +00:00
set(CMAKE_CXX_STANDARD 20)
2020-11-27 13:10:09 +00:00
# Download automatically, you can also just copy the conan.cmake file
if (NOT EXISTS "${CMAKE_BINARY_DIR}/conan.cmake")
message(STATUS "Downloading conan.cmake from https://github.com/conan-io/cmake-conan")
file(DOWNLOAD "https://github.com/conan-io/cmake-conan/raw/v0.15/conan.cmake"
"${CMAKE_BINARY_DIR}/conan.cmake")
endif ()
2020-11-23 18:59:11 +00:00
2020-11-28 16:18:43 +00:00
include(${CMAKE_BINARY_DIR}/conan.cmake)
conan_add_remote(NAME bincrafters INDEX 1 URL https://api.bintray.com/conan/bincrafters/public-conan)
2020-11-28 17:00:10 +00:00
set(CMAKE_MODULE_PATH ${CMAKE_BINARY_DIR}/pacman/;${CMAKE_BINARY_DIR}/pomodoro/)
2020-11-29 16:42:03 +00:00
add_subdirectory(lcd)
2020-11-27 14:09:41 +00:00
add_subdirectory(pacman)
2020-11-28 17:00:10 +00:00
add_subdirectory(pomodoro)