The easiest is to just use CMake as it will order things properly. The most reliable way is to have CMake generate a project that links to the libraries you want and to grab the order from the link line.
The easiest is to just use CMake as it will order things properly. The most reliable way is to have CMake generate a project that links to the libraries you want and to grab the order from the link line.