From 283eabd1a88f1c50627492feaed5f65981d7ae48 Mon Sep 17 00:00:00 2001 From: Jeff Date: Fri, 4 Feb 2022 14:31:16 -0500 Subject: [PATCH] use COPYONLY for the non templated configure_file targets --- docs/CMakeLists.txt | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/docs/CMakeLists.txt b/docs/CMakeLists.txt index 85899e706..677de943c 100644 --- a/docs/CMakeLists.txt +++ b/docs/CMakeLists.txt @@ -60,13 +60,14 @@ add_custom_command( add_custom_target(doc DEPENDS html) +configure_file(Doxyfile.in Doxyfile @ONLY) +configure_file(index.md.in index.md @ONLY) + +configure_file(config.json config.json COPYONLY) +configure_file(mkdocs.yml mkdocs.yml COPYONLY) + # we seperate this step out so we force clean_markdown to run before markdown target add_custom_command( OUTPUT markdown/index.md COMMAND ${CMAKE_COMMAND} -E copy index.md markdown/index.md DEPENDS clean_markdown) - -configure_file(Doxyfile.in Doxyfile @ONLY) -configure_file(config.json config.json @ONLY) -configure_file(mkdocs.yml mkdocs.yml @ONLY) -configure_file(index.md.in index.md @ONLY)