Skip to content

Commit e3b5fb4

Browse files
author
Martin D. Weinberg
committed
Merge branch 'devel' into AddUnits
2 parents 77cc613 + 9e8faf2 commit e3b5fb4

73 files changed

Lines changed: 4609 additions & 1222 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

CMakeLists.txt

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ project(
77
LANGUAGES C CXX Fortran)
88

99
set(CMAKE_MODULE_PATH "${PROJECT_SOURCE_DIR}/cmake" ${CMAKE_MODULE_PATH})
10+
set(CMAKE_C_STANDARD 17)
1011
set(CMAKE_CXX_STANDARD 17)
1112
set(CMAKE_CXX_EXTENSIONS OFF)
1213

@@ -268,7 +269,13 @@ endif()
268269
# try to find pybind11 and build wrapper python module
269270
find_package(Python3 COMPONENTS Interpreter Development)
270271
message(STATUS "python3 include dirs: ${Python3_INCLUDE_DIRS}")
271-
272+
if(Python3_FOUND)
273+
set(HAVE_PYTHON3 TRUE)
274+
else()
275+
if(ENABLE_PYEXP)
276+
message(FATAL_ERROR "You asked for pyEXP but I cannot find a Python3 environment. Please make Python3 available or disable pyEXP. CMake will exit." )
277+
endif()
278+
endif()
272279

273280
# Force installation of the yaml-cpp libraries
274281
install(TARGETS yaml-cpp DESTINATION lib)

config_cmake.h_in

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@
1919
/* Defined if you have HDF5 support */
2020
#cmakedefine HAVE_HDF5 @HAVE_HDF5@
2121

22+
/* Defined if Python3 runtime exists */
23+
#cmakedefine HAVE_PYTHON3 1
24+
2225
/* Define to 1 if you have the `cuda' library. */
2326
#cmakedefine HAVE_LIBCUDA 1
2427

doc/exp.cfg

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -964,6 +964,8 @@ INPUT = ./intro.doc \
964964
../include \
965965
../src \
966966
../src/user \
967+
../exputil \
968+
../expui \
967969
../utils/ICs \
968970
../utils/Analysis \
969971
../utils/PhaseSpace
@@ -1788,7 +1790,7 @@ FORMULA_MACROFILE =
17881790
# The default value is: NO.
17891791
# This tag requires that the tag GENERATE_HTML is set to YES.
17901792

1791-
USE_MATHJAX = NO
1793+
USE_MATHJAX = YES
17921794

17931795
# With MATHJAX_VERSION it is possible to specify the MathJax version to be used.
17941796
# Note that the different versions of MathJax have different requirements with
@@ -1948,7 +1950,7 @@ EXTRA_SEARCH_MAPPINGS =
19481950
# If the GENERATE_LATEX tag is set to YES, doxygen will generate LaTeX output.
19491951
# The default value is: YES.
19501952

1951-
GENERATE_LATEX = NO
1953+
GENERATE_LATEX = YES
19521954

19531955
# The LATEX_OUTPUT tag is used to specify where the LaTeX docs will be put. If a
19541956
# relative path is entered the value of OUTPUT_DIRECTORY will be put in front of

0 commit comments

Comments
 (0)