Closed wimrijnders closed 4 years ago
I fully understand that adding so much code in one go can be daunting. I believe, however, that this is worthwhile. It's going to make adding command line parameters much easier.
The important file here is Examples/Rot3DLib/Parameters.cpp
. This contains the definitions of the command line parameters. My efforts are directed to making the defintions straightforward and intuitive ('as simple as is feasible').
@mn416 A thought I'm having: I'm beginning to dislike the addition of external project code CmdParameter
as a part of Rot3DLib
. I think it would be better to have external libraries separate from the QPULib
code.
Suggestion: add a directory Vendor
to the root directory of QPULib
and put 3rd party code there. The build of these tools should be as separate as possible from QPULib
, i.e. no 'pollution' in the Makefile
.
This is how I approach external code in my own projects. Tell me what you think.
This adds a more sophisticated handling of the command line to
Rot3DLib
.The reason for this is that I'm expecting many more options to be added to
Rot3DLib
, and I want solid handling in place before I continue enhancing this application.I started out by adding code of mine to
Rot3DLib
, but this quickly escalated in complexity[1]. I therefore decided to make a separate project (CmdParameter) for the full version, and include a 'lite' version withinRot3DLib
.The command line now works like this:
[1] This is mainly due to me wanting to do things right. Otherwise, why bother?