feat: provide and use a common calling interface to all chapter tests
This commit is contained in:
parent
dfaee89d56
commit
89d1469088
13 changed files with 52 additions and 26 deletions
3
chapters/interface/CMakeLists.txt
Normal file
3
chapters/interface/CMakeLists.txt
Normal file
|
@ -0,0 +1,3 @@
|
|||
add_library(chapter_interface INTERFACE)
|
||||
target_compile_features(chapter_interface INTERFACE cxx_std_20)
|
||||
target_include_directories(chapter_interface INTERFACE include)
|
7
chapters/interface/include/chapter_interface.h
Normal file
7
chapters/interface/include/chapter_interface.h
Normal file
|
@ -0,0 +1,7 @@
|
|||
#pragma once
|
||||
|
||||
class ChapterTest {
|
||||
public:
|
||||
virtual ~ChapterTest() = default;
|
||||
virtual void test() = 0;
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue