From cbf3f8de6755ebb3835649375556868fd09ba284 Mon Sep 17 00:00:00 2001 From: Daniel <d.hornung@indiscale.com> Date: Tue, 9 Nov 2021 08:37:59 +0100 Subject: [PATCH] FIX: Fixed conanfile.py. Also some formatting. --- conanfile.py | 5 ++++- doc/CMakeLists.txt | 8 ++++---- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/conanfile.py b/conanfile.py index 04d2b1f..8b2b956 100644 --- a/conanfile.py +++ b/conanfile.py @@ -18,7 +18,10 @@ class CaosdbConan(ConanFile): ("gtest/1.11.0"), ("grpc/1.38.0"), ] - exports = "*.cpp", "*.h", "*.cmake", "*CMakeLists.txt", "*.in", "*.proto", "*.c" + exports = ("*.cmake", "*CMakeLists.txt", "*.in", + "*.h", "*.proto", "*.c", "*.cpp", + "*.rst", "*.md", + ) exports_sources = "src", "doc", "include", "test", "cmake", "proto" def config_options(self): diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt index ee34711..6c123d2 100644 --- a/doc/CMakeLists.txt +++ b/doc/CMakeLists.txt @@ -89,12 +89,12 @@ if (DOXYGEN_FOUND) VERBATIM ) # Copying files is necessary: https://stackoverflow.com/a/45808534/232888 - FILE(COPY - Examples.rst - README_SETUP.md + file(COPY + Examples.rst + README_SETUP.md DEPENDENCIES.md # Tutorial.rst - DESTINATION "${CMAKE_CURRENT_BINARY_DIR}") + DESTINATION "${CMAKE_CURRENT_BINARY_DIR}") else () message("Sphinx need to be installed to generate the sphinx documentation") endif () -- GitLab