Browse Source

Let's try fixing the doxygen-python again

7.0
Marek Roszko 3 years ago
parent
commit
020f8f61db
  1. 4
      CMakeLists.txt
  2. 2
      doxygen/doxygen.Dockerfile

4
CMakeLists.txt

@ -26,6 +26,10 @@ cmake_minimum_required( VERSION 3.21 FATAL_ERROR )
# Generate DEPFILES without transforming relative paths
cmake_policy( SET CMP0116 OLD )
# Needed to allow the doxygen-python process that depends on swig generation running twice to occur
# The current structure requires the add_custom_command to get called twice, the NEW behavior deduplicates it
cmake_policy( SET CMP0113 OLD )
# Default to CMAKE_BUILD_TYPE = Release unless overridden on command line
# http://www.cmake.org/pipermail/cmake/2008-September/023808.html
if( DEFINED CMAKE_BUILD_TYPE )

2
doxygen/doxygen.Dockerfile

@ -14,8 +14,10 @@ RUN cmake .. -DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DKICAD_SCRIPTING_WXPYTHON=ON \
-DKICAD_SPICE=ON
RUN make doxygen-docs
RUN make doxygen-python
FROM scratch as output-image
COPY --from=build-doxygen-env /src/doxygen/out/html /doxygen-docs_html
COPY --from=build-doxygen-env /src/build/pcbnew/doxygen-python/html /doxygen-python_html
Loading…
Cancel
Save