thor/CMakeLists.txt

24 lines
539 B
CMake
Raw Normal View History

2023-01-03 19:29:07 +00:00
cmake_minimum_required(VERSION 3.14)
project(thro)
set(CMAKE_CXX_STANDARD 20)
file(GLOB_RECURSE SOURCES_FILES ${CMAKE_CURRENT_SOURCE_DIR}/src/*)
add_executable(thor ${SOURCES_FILES})
target_include_directories(thor PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/src)
target_link_libraries(thor cpp-terminal)
set(CPPTERMINAL_ENABLE_TESING OFF)
include(FetchContent)
FetchContent_Declare(
cpp-terminal
GIT_REPOSITORY https://github.com/jupyter-xeus/cpp-terminal.git
GIT_TAG origin/master
)
FetchContent_MakeAvailable(cpp-terminal)