From a4d0b28d8a495272c6150818c9fad181236b3e0f Mon Sep 17 00:00:00 2001 From: Jon Rood Date: Wed, 13 Sep 2023 14:55:02 -0600 Subject: [PATCH] Keep docs cmakelists.txt. --- Docs/CMakeLists.txt | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 Docs/CMakeLists.txt diff --git a/Docs/CMakeLists.txt b/Docs/CMakeLists.txt new file mode 100644 index 000000000..3029b5cb8 --- /dev/null +++ b/Docs/CMakeLists.txt @@ -0,0 +1,10 @@ +cmake_minimum_required (VERSION 3.10) +project(PelePhysics-Docs NONE) +list(APPEND CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake") + +find_package(Sphinx REQUIRED) + +add_custom_target(sphinx ALL + COMMAND ${SPHINX_EXECUTABLE} -M html + "${CMAKE_CURRENT_SOURCE_DIR}/sphinx" "${CMAKE_CURRENT_BINARY_DIR}/sphinx" + -c ${CMAKE_CURRENT_SOURCE_DIR}/sphinx -W --keep-going -n)