-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathCMakeLists.txt
More file actions
28 lines (22 loc) · 766 Bytes
/
CMakeLists.txt
File metadata and controls
28 lines (22 loc) · 766 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
# MACIS Copyright (c) 2023, The Regents of the University of California,
# through Lawrence Berkeley National Laboratory (subject to receipt of
# any required approvals from the U.S. Dept. of Energy). All rights reserved.
#
# See LICENSE.txt for details
cmake_minimum_required(VERSION 3.14)
project(MACIS VERSION 0.1 LANGUAGES C CXX)
option( MACIS_ENABLE_MPI "Enable MPI Bindings" ON )
option( MACIS_ENABLE_OPENMP "Enable OpenMP Bindings" ON )
option( MACIS_ENABLE_BOOST "Enable Boost" ON )
# CMake Modules
list( APPEND CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/cmake )
include( macis-cmake-modules )
if( MACIS_ENABLE_OPENMP )
find_package(OpenMP)
endif()
add_subdirectory(src)
# Tests
include(CTest)
if(BUILD_TESTING)
add_subdirectory(tests)
endif()