Repository navigation
Simplify directory structure - #293
ClausKlein wants to merge 1 commit into
Conversation
|
This branch contains three separate changes and should be split up into three pull requests. The first change is to fix the duplicative The second change is to move the test files from The third change is to remove the You should write more descriptive commit titles and commit messages. A commit title named "Simplify directory structure" whose commit message is the output of a |
|
I agree, but you should note, for What would be the use case to write tow or more libs apart from this? |
I don't think we need to be that strict about "one CMakeLists.txt per library." Both the modules CMake target and the header-only CMake target can be thought of as being part of the same "library" for these purposes. We can keep the modules C++ code in the same directory structure as the headers, and keep the modules CMake code in the same CMakeLists.txt files that define the header only libraries.
Some papers are large enough that there may be reasons to split them up in to separate libraries. Alternatively, we might want to split up a project into C++26 and C++29 components; |
bash-5.3$ tree --gitignore . ├── CMakeLists.txt ├── CMakePresets.json ├── LICENSE ├── README.md ├── cmake │ └── beman.exemplar-config.cmake.in ├── examples │ ├── CMakeLists.txt │ ├── identity_as_default_projection.cpp │ └── identity_direct_usage.cpp ├── include │ └── beman │ └── exemplar │ ├── CMakeLists.txt │ └── identity.hpp ├── lockfile.json └── tests ├── CMakeLists.txt └── identity.test.cpp 7 directories, 13 files bash-5.3$fix #292 too