denniskb / spice2

The Spice SNN Simulator
Other
6 stars 0 forks source link

Check header self-containment with CMake #18

Closed denniskb closed 2 years ago

denniskb commented 2 years ago

Add a custom CMake target that attempts to compile each header individually (by including it in a single, empty .cpp file) to make sure our headers are self-contained.

denniskb commented 2 years ago

This has very little utility as most of our classes are templated. Templates will not be checked unless instantiated.