-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathCMakeLists.txt
More file actions
29 lines (19 loc) · 841 Bytes
/
CMakeLists.txt
File metadata and controls
29 lines (19 loc) · 841 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
cmake_minimum_required(VERSION 3.9)
cmake_policy(SET CMP0054 NEW)
project(hackerrank)
set(CMAKE_BUILD_TYPE Debug)
set(USE_CONAN_BOOST FALSE CACHE BOOL "Download Boost from Conan Repo")
set(USE_CONAN_JSONCPP FALSE CACHE BOOL "Download JsonCpp from Conan Repo")
set(USE_CONAN_GTEST FALSE CACHE BOOL "Download GTest from Conan Repo")
set_property(GLOBAL PROPERTY USE_FOLDERS ON)
include(${CMAKE_SOURCE_DIR}/cmake/compiler_check.cmake)
include(${CMAKE_SOURCE_DIR}/cmake/list_folders.cmake)
include(${CMAKE_SOURCE_DIR}/cmake/project_add_all_folders.cmake)
include(${CMAKE_SOURCE_DIR}/cmake/conan_custom_setup.cmake)
include(${CMAKE_SOURCE_DIR}/cmake/hackerrank_challenge.cmake)
include(${CMAKE_SOURCE_DIR}/cmake/build_dependencies.cmake)
compiler_check()
enable_testing()
check_build_dependencies()
include(CTest)
add_subdirectory(src)