Code: C++: Templates vs. Interfaces

Todo

Use this file to further describe what’s there

ADD_LIBRARY(c++-templates-vs-interfaces-thermometer 
  thermometer.h thermometer.cc
  histogram.h)

ADD_EXECUTABLE(c++-templates-vs-interfaces-spi-thermometer spi.cc)
TARGET_LINK_LIBRARIES(c++-templates-vs-interfaces-spi-thermometer c++-templates-vs-interfaces-thermometer)

ADD_EXECUTABLE(c++-templates-vs-interfaces-i2c-thermometer i2c.cc)
TARGET_LINK_LIBRARIES(c++-templates-vs-interfaces-i2c-thermometer c++-templates-vs-interfaces-thermometer)
.
├── CMakeLists.txt
├── histogram.cc
├── histogram.h
├── i2c.cc
├── index.rst
├── spi.cc
├── tests.cc
├── thermometer.cc
└── thermometer.h

0 directories, 9 files