forked from AMReX-Codes/amrex
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCMakeLists.txt
54 lines (43 loc) · 994 Bytes
/
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
cmake_minimum_required (VERSION 3.5)
project (AMReX)
# Define the languages used by the project
enable_language (C)
enable_language (CXX)
enable_language (Fortran)
#
# Require C++11 standard
#
set (CMAKE_CXX_STANDARD 11)
set (CMAKE_CXX_STANDARD_REQUIRED ON)
set (CMAKE_CXX_EXTENSIONS OFF)
#
# Always verbose output during make
#
set ( CMAKE_VERBOSE_MAKEFILE on )
#
# Set the search path for cmake modules
#
set ( CMAKE_MODULE_PATH ${CMAKE_CURRENT_LIST_DIR}/Tools/CMake )
#
# Initialize all the global variables
#
include ( AMReX_CMakeVariables )
#
# Include modules with options, and custom macro and functions
#
include ( AMReX_Utils )
include ( AMReX_Version )
include ( AMReX_Options )
#
# Configure build
#
include ( AMReX_Config )
# Source files for all binaries and libraries found under src
add_subdirectory (Src)
#
# Tutorials
#
add_subdirectory (Tutorials)
#include (AMReX_BuildTutorials)
# Source file for postprocess exes
#add_subdirectory(Tools/Postprocessing/F_Src)