Closed fwyzard closed 5 years ago
This PR is built on top of, and includes, #106 .
@fwyzard Thanks for the pull request. We discussed offline that we like to keep the possibility to have different cpp files (to support parallel builds) and like to have the possibility to use the code as header only project. We started for that the issue: https://github.com/ComputationalRadiationPhysics/cupla/issues/108
Your current suggestion has side effects on the compile time if cupla is used in a large project. I will keep this PR open and provide also a PR next week then we can discuss the dis/advantages of both implementations and side what we will merge.
Just to clarify: we like the proposal and want to implement header-only vs. partly pre-compiled side-by-side, for the sake of compile time.
For our projects, we try to reduce header-only where possible for faster development cycles and try to speed up header-only parts with PCH and C++ modules.
@fwyzard Sry for the delay. I implemented the header-only, standalone header in #112
Sure, and thanks for merging #112.
Move the implementation of the Driver and of the API to the respective header files.