File tree Expand file tree Collapse file tree 2 files changed +3
-87
lines changed
Expand file tree Collapse file tree 2 files changed +3
-87
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11set (PYTHON_OPM_SIMULATORS_PACKAGE_PATH ${PROJECT_BINARY_DIR} /python/opm/simulators)
22
3- # Set the path to the input docstrings.json file and the output .hpp file
3+ # Set the path to the input docstrings.json file and the output .hpp files
44set (PYTHON_DOCSTRINGS_FILE "${PROJECT_SOURCE_DIR} /python/docstrings_simulators.json" )
55set (PYTHON_DOCSTRINGS_GENERATED_HPP "${PROJECT_BINARY_DIR} /python/PyBlackOilSimulatorDoc.hpp" )
6- set (PYTHON_GW_DOCSTRINGS_FILE "${PROJECT_SOURCE_DIR} /python/docstrings_gw_simulators.json" )
76set (PYTHON_GW_DOCSTRINGS_GENERATED_HPP "${PROJECT_BINARY_DIR} /python/PyGasWaterSimulatorDoc.hpp" )
87# Note: If the new find_package(Python3) is used in the top level CMakeLists.txt, the variable
98# ${PYTHON_EXECUTABLE} is set there to ${Python3_EXECUTABLE}
@@ -26,8 +25,8 @@ add_custom_command(
2625 OUTPUT ${PYTHON_GW_DOCSTRINGS_GENERATED_HPP}
2726 COMMAND ${CMAKE_COMMAND} -E env PYTHONPATH=${CMAKE_SOURCE_DIR}
2827 ${PYTHON_EXECUTABLE} ${PYTHON_GENERATE_DOCSTRINGS_PY}
29- ${PYTHON_GW_DOCSTRINGS_FILE } ${PYTHON_GW_DOCSTRINGS_GENERATED_HPP} PYGASWATERSIMULATORDOC_HPP "Opm::Pybind::DocStrings"
30- DEPENDS ${PYTHON_GW_DOCSTRINGS_FILE }
28+ ${PYTHON_DOCSTRINGS_FILE } ${PYTHON_GW_DOCSTRINGS_GENERATED_HPP} PYGASWATERSIMULATORDOC_HPP "Opm::Pybind::DocStrings" "GasWater "
29+ DEPENDS ${PYTHON_DOCSTRINGS_FILE }
3130 COMMENT "Generating PyGasWaterSimulatorDoc.hpp from JSON file"
3231)
3332# NOTE: The variable ${PYBIND11_SYSTEM} is set in python/CMakeLists.txt
You can’t perform that action at this time.
0 commit comments