commontk/AppLauncher — Issue #7: Create Launcher library
Author: jcfr
Created: 2012-01-02 21:00:32+00:00
State: open

When packaging application on MacOSX (as bundle), no launcher is needed since all the libraries are "fixed up" so that they can be referenced relatively to the location of the executable.

When building a cross platform application, it resumes the path and other environment variables are setup in multiple location:

* Launcher settings for application distributed on windows/linux
* main.cpp or Q(Core)Application derived class.

On MacOSX, by creating a launcher library that could be linked (statically) against our application, we could ensure that all paths/environment variables are set a common location for all platform.

Thanks @finetjul for suggesting this approach.