This PR changes how command line arguments are captured in Cinder. The motivating case is simplifying the passing of arguments which need to be accessed before the app::App has been instantiated, such arguments which need to influence settings on the default Renderer.
The changes move command line argument accessors to be exposed via Platform::get()->getCommandLineArgs() rather than from the app::Settings.
It also updates the test\cmdLineArgs and Windows screensaver test. Note that it's a breaking change, although in an infrequently used feature.
This PR changes how command line arguments are captured in Cinder. The motivating case is simplifying the passing of arguments which need to be accessed before the
app::App
has been instantiated, such arguments which need to influence settings on the defaultRenderer
.The changes move command line argument accessors to be exposed via
Platform::get()->getCommandLineArgs()
rather than from theapp::Settings
.It also updates the
test\cmdLineArgs
and Windows screensaver test. Note that it's a breaking change, although in an infrequently used feature.