-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating
The C++ Programmer's Mindset
By :
All that remains is to set up the repository for this particular project. We’ll follow some of the points we followed in the previous chapter about modularizing the project. We might consider splitting out the file reading infrastructure into a separate library so it can be extended with optional shared libraries. However, given that the client has not mentioned any other file types, this is not really necessary. (On the contrary, it looks as if they have run through the natural progression of formats and there is not likely to be another.) However, we should still separate out the components so we can test them independently of one another. The final structure of the repository will thus look something like this.
rubber_duckies
| clustering
| CMakeLists.txt
| clustering.h
| clustering.cpp
| test_clustering.cpp
| readers
| CMakeLists.txt
| file_reader.h
| file_reader.cpp
| test_file_reader.cpp
| CMakeLists...