diff --git a/CMakeLists.txt b/CMakeLists.txt index 1b0a7e5..bd2064e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -8,7 +8,7 @@ project(project add_subdirectory(extern/pybind11) ## Create the Python extension module from C++ source files -set(SOURCES libs/src_mock_cxx/mock.cpp) +set(SOURCES libs/mock_bindcxx/mock.cpp) pybind11_add_module(mock_cxx MODULE ${SOURCES}) # ## Link any necessary libraries (if needed) diff --git a/docs/doxygen/doxygen.dox b/docs/doxygen/doxygen.dox index c60e38a..bf2c642 100644 --- a/docs/doxygen/doxygen.dox +++ b/docs/doxygen/doxygen.dox @@ -949,7 +949,7 @@ WARN_LOGFILE = # spaces. See also FILE_PATTERNS and EXTENSION_MAPPING # Note: If this tag is empty the current directory is searched. -INPUT = ../libs/src_mock_cxx/ +INPUT = ../libs/mock_bindcxx/ # This tag can be used to specify the character encoding of the source files # that doxygen parses. Internally doxygen uses the UTF-8 encoding. Doxygen uses diff --git a/docs/source/conf.py b/docs/source/conf.py index 1a4e47c..78d0fe6 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -73,7 +73,7 @@ # Integrate doxygen with sphinx via breathe breathe_projects = { - "src_mock_cxx": "../build/doxygen/xml/", + "mock_bindcxx": "../build/doxygen/xml/", } breathe_default_project = "proj" diff --git a/docs/source/index.rst b/docs/source/index.rst index 749dca5..7457288 100644 --- a/docs/source/index.rst +++ b/docs/source/index.rst @@ -33,7 +33,7 @@ Contents thermo/index pympdata_bulk/index src_mock_py/index - src_mock_cxx/index + mock_bindcxx/index utility_functions/index GitHub Repo diff --git a/docs/source/src_mock_cxx/mock.rst b/docs/source/src_mock_cxx/mock.rst index e430a53..b3f5239 100644 --- a/docs/source/src_mock_cxx/mock.rst +++ b/docs/source/src_mock_cxx/mock.rst @@ -1,8 +1,8 @@ C++ Mock Module =============== -Header file: ```` -`[source] `_ +Header file: ```` +`[source] `_ .. doxygenfunction:: area_circle - :project: src_mock_cxx + :project: mock_bindcxx diff --git a/libs/src_mock_cxx/mock.cpp b/libs/mock_bindcxx/mock.cpp similarity index 96% rename from libs/src_mock_cxx/mock.cpp rename to libs/mock_bindcxx/mock.cpp index a974d38..de8f79e 100644 --- a/libs/src_mock_cxx/mock.cpp +++ b/libs/mock_bindcxx/mock.cpp @@ -3,7 +3,7 @@ * * ----- Microphysics Test Cases ----- * File: mock.cpp - * Project: src_mock_cxx + * Project: mock_bindcxx * Created Date: Wednesday 28th February 2024 * Author: Clara Bayley (CB) * Additional Contributors: diff --git a/libs/src_mock_cxx/mock.hpp b/libs/mock_bindcxx/mock.hpp similarity index 89% rename from libs/src_mock_cxx/mock.hpp rename to libs/mock_bindcxx/mock.hpp index a4715d2..97510aa 100644 --- a/libs/src_mock_cxx/mock.hpp +++ b/libs/mock_bindcxx/mock.hpp @@ -3,7 +3,7 @@ * * ----- Microphysics Test Cases ----- * File: mock.hpp - * Project: src_mock_cxx + * Project: mock_bindcxx * Created Date: Tuesday 27th February 2024 * Author: Clara Bayley (CB) * Additional Contributors: @@ -19,8 +19,8 @@ */ -#ifndef LIBS_SRC_MOCK_CXX_MOCK_HPP_ -#define LIBS_SRC_MOCK_CXX_MOCK_HPP_ +#ifndef LIBS_MOCK_BINDCXX_MOCK_HPP_ +#define LIBS_MOCK_BINDCXX_MOCK_HPP_ #include #include @@ -52,4 +52,4 @@ inline int add(const int ii, const int jj) { return ii + jj; } -#endif // LIBS_SRC_MOCK_CXX_MOCK_HPP_ +#endif // LIBS_MOCK_BINDCXX_MOCK_HPP_