-
Notifications
You must be signed in to change notification settings - Fork 76
Expand file tree
/
Copy pathCMakeLists.txt
More file actions
52 lines (37 loc) · 1.46 KB
/
CMakeLists.txt
File metadata and controls
52 lines (37 loc) · 1.46 KB
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
cmake_minimum_required( VERSION 3.25 )
if(DEFINED CMAKE_OSX_SYSROOT AND NOT EXISTS "${CMAKE_OSX_SYSROOT}")
unset(CMAKE_OSX_SYSROOT CACHE)
endif()
message( STATUS "Parallel Programming Course (PPC)" )
project(parallel_programming_course)
############################ Scoreboard #############################
message( STATUS "PPC step: Setup scoreboard generator" )
include(cmake/scoreboard.cmake)
add_subdirectory(scoreboard)
########################### Documentation ###########################
message( STATUS "PPC step: Setup documentation generation" )
include(cmake/sphinx.cmake)
add_subdirectory(docs)
if( USE_SCOREBOARD OR USE_DOCS )
return()
endif()
############################ Configures #############################
message( STATUS "PPC step: First configures" )
include(cmake/configure.cmake)
include(cmake/modes.cmake)
include(cmake/sanitizers.cmake)
foreach(dep json libenvpp stb)
include(cmake/${dep}.cmake)
endforeach()
################# Parallel programming technologies #################
message( STATUS "PPC step: Setup parallel programming technologies" )
foreach(dep mpi openmp onetbb)
include(cmake/${dep}.cmake)
endforeach()
######################### External projects #########################
message( STATUS "PPC step: Setup external projects" )
include(cmake/gtest.cmake)
############################## Modules ##############################
message( STATUS "PPC step: Setup modules" )
add_subdirectory(modules)
add_subdirectory(tasks)