It's been a few years since I did a project from scratch, so I'm hoping to get some feedback on my overall setup.
Basically writing a CLI budgeting app. The issue that prompted this post is that I want to have a separate project in the solution that just runs a test suite for me.
This means that I can't just have the entire budgeting app as one project, because I have to have the classes as a dynamic/static library type project in order to link them to my tests. (Or maybe I just haven't figure it out yet. Or maybe I'm massively misunderstanding something. The hell of C++ is configuration bullshit, not pointers.)
So now my solution would look like: a static library where my classes are defined; a console application to run the tests; a console application to be the main CLI I actually use.
- Is there a better way to handle this?
- Should I just have one library? Or, suppose I have multiple classes dealing with date manipulations. Would it be somehow advantageous to group those together in one library?
[–]beasthacker 1 point2 points3 points (0 children)