feat: provide and use a common calling interface to all chapter tests

This commit is contained in:
Michael Mandl 2023-10-21 12:31:23 +02:00
parent dfaee89d56
commit 89d1469088
Signed by: mandlm
GPG key ID: 4AA25D647AA54CC7
13 changed files with 52 additions and 26 deletions

View 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)

View file

@ -0,0 +1,7 @@
#pragma once
class ChapterTest {
public:
virtual ~ChapterTest() = default;
virtual void test() = 0;
};