Code: C++: Inheritance, Interfaces, virtual

Todo

Use this file to further describe what’s there

ADD_LIBRARY(c++-inheritance-virtual-thermometer 
  thermometer.h thermometer.cc
  histogram.h histogram.cc)

ADD_EXECUTABLE(c++-inheritance-virtual-spi-thermometer spi.cc)
TARGET_LINK_LIBRARIES(c++-inheritance-virtual-spi-thermometer c++-inheritance-virtual-thermometer)

ADD_EXECUTABLE(c++-inheritance-virtual-i2c-thermometer i2c.cc)
TARGET_LINK_LIBRARIES(c++-inheritance-virtual-i2c-thermometer c++-inheritance-virtual-thermometer)
.
├── CMakeLists.txt
├── histogram.cc
├── histogram.h
├── i2c.cc
├── index.rst
├── spi.cc
├── thermometer.cc
└── thermometer.h

1 directory, 8 files