At the moment the cmake setup we have works to build the test program but there are a couple of minor issues with it:
- the test program doesnt
depend on the library (because there is no library target) and so you can get in a situation where you make changes to the header and the test program isnt able to tell it needs to be rebuilt
- depending on how someone wants to use this library in a downstream project they may need to do some tricks. we should create a library target and mark it as an interface so that downstream users via cmake will know where to look for includes (this includes the test executable as well)
- we dont set a version or a description
- other little stuff?
At the moment the cmake setup we have works to build the test program but there are a couple of minor issues with it:
dependon the library (because there is no library target) and so you can get in a situation where you make changes to the header and the test program isnt able to tell it needs to be rebuilt