• Dominik Charousset's avatar
    Use the Canonical Project Structure for caf_test · aba625e2
    Dominik Charousset authored
    For the Canonical Project Structure, see
    https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2018/p1204r0.html.
    
    With the new structure, we drop the `src` sub-directory and place the
    source files next to the header files. Further, we place the unit test
    next to the source file with `.test.cpp` suffix.
    
    Instead of assembling all unit tests into a single large binary and then
    have `ctest` pick suites individually, we simply create one binary per
    unit test now. This makes the entire CMake setup much easier.
    
    This also frees up the `test` folder (that we will probably rename to
    `tests`) for module tests.
    aba625e2
test.cpp 805 Bytes