2022-04-22 03:05:07 -05:00
|
|
|
cmake_minimum_required(VERSION 3.16 FATAL_ERROR)
|
2021-08-06 13:08:57 -05:00
|
|
|
|
2021-11-24 04:59:59 -06:00
|
|
|
project(omnitrace-dyninst-examples LANGUAGES CXX)
|
2021-08-06 13:08:57 -05:00
|
|
|
|
2021-09-29 18:16:13 -05:00
|
|
|
set(CMAKE_VISIBILITY_INLINES_HIDDEN OFF)
|
|
|
|
|
set(CMAKE_CXX_VISIBILITY_PRESET "default")
|
|
|
|
|
|
2021-08-06 13:08:57 -05:00
|
|
|
add_subdirectory(transpose)
|
2021-09-02 11:38:39 -05:00
|
|
|
add_subdirectory(parallel-overhead)
|
2022-04-25 17:00:52 -05:00
|
|
|
add_subdirectory(code-coverage)
|
2022-03-07 20:40:48 -06:00
|
|
|
add_subdirectory(user-api)
|
|
|
|
|
add_subdirectory(openmp)
|
2022-04-27 16:58:45 -05:00
|
|
|
add_subdirectory(mpi)
|
2022-01-24 20:49:17 -06:00
|
|
|
|
2022-04-22 03:05:07 -05:00
|
|
|
if(CMAKE_VERSION VERSION_LESS 3.16 AND (NOT DEFINED LULESH_BUILD_KOKKOS
|
|
|
|
|
OR LULESH_BUILD_KOKKOS))
|
|
|
|
|
message(
|
|
|
|
|
AUTHOR_WARNING
|
|
|
|
|
"lulesh example cannot build Kokkos (requires CMake 3.16+, current version is ${CMAKE_VERSION})"
|
|
|
|
|
)
|
|
|
|
|
else()
|
|
|
|
|
option(BUILD_SHARED_LIBS "Build dynamic libraries" ON)
|
2022-01-24 20:49:17 -06:00
|
|
|
|
2022-04-22 03:05:07 -05:00
|
|
|
add_subdirectory(lulesh)
|
|
|
|
|
endif()
|