-
Notifications
You must be signed in to change notification settings - Fork 2
/
CMakeLists.txt
66 lines (56 loc) · 1.7 KB
/
CMakeLists.txt
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
cmake_minimum_required(VERSION 3.23.5...3.27)
project(
unoapi_dpcpp_examples
VERSION 0.1
DESCRIPTION "oneAPI sample projects with CMake"
LANGUAGES CXX
)
# UnoAPI:CMakeLists-language-settings:begin
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_CXX_EXTENSIONS OFF)
# UnoAPI:CMakeLists-language-settings:end
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin)
include(FetchContent)
# UnoAPI:CMakeLists-fetchcontent:begin
FetchContent_Declare(
fmt
GIT_REPOSITORY https://github.com/fmtlib/fmt.git
GIT_TAG 8.1.1
)
FetchContent_MakeAvailable(fmt)
# UnoAPI:CMakeLists-fetchcontent:end
# Lots of compilation errors without this setting
option(SPDLOG_FMT_EXTERNAL "Use external fmt library instead of bundled" ON)
FetchContent_Declare(
spdlog
GIT_REPOSITORY https://github.com/gabime/spdlog.git
GIT_TAG v1.14.1
)
FetchContent_MakeAvailable(spdlog)
FetchContent_Declare(
scnlib
GIT_REPOSITORY https://github.com/eliaskosunen/scnlib.git
GIT_TAG v3.0.1
)
FetchContent_MakeAvailable(scnlib)
FetchContent_Declare(
cli11
GIT_REPOSITORY https://github.com/CLIUtils/CLI11.git
GIT_TAG v2.4.2
)
FetchContent_MakeAvailable(cli11)
FetchContent_Declare(
googletest
GIT_REPOSITORY https://github.com/google/googletest.git
GIT_TAG release-1.11.0
)
FetchContent_MakeAvailable(googletest)
add_subdirectory(integration)
add_subdirectory(matrix_mul)
add_subdirectory(montecarlo)
add_subdirectory(wordcloud)
add_subdirectory(technical_analysis)
add_subdirectory(bigmatrix)
add_subdirectory(cipher)
add_subdirectory(transitive_closure)