Create your binaries
SOFA binaries
Prepare the sources
- Update SOFA version in CMakeLists.txt
 
- Update External Projects versions
 For each ExternalProject.cmake.in file in the sources, edit the lineGIT_TAG origin/<branch of the new release>
- Set the CMake variables
- If you want to generate an installer:- Install the latest Qt Installer Framework (Qt IFW)
- Set the CMake variables
 
 
- [MacOS] Set CMake variable for OSX compatibility version:
 
- [MacOS] If you want to generate a bundle (.app), set the CMake variables:
 
Generate the binaries
- Configure + Generate + Build
- Install: make installorninja install
- Make sure that linux-postinstall-fixup.shorwindows-postinstall-fixup.shormacos-postinstall-fixup.shwas triggered and its output is OK
- Your binaries should be in your build directory
Plugin binaries
Troubleshooting
- To show how Qt plugins are loaded and used: export QT_DEBUG_PLUGINS=1
- [Linux][MacOS] To fix library dependency resolution: export LD_LIBRARY_PATH=/path/to/sofa/bin:/path/to/sofa/lib:$LD_LIBRARY_PATH
- [MacOS] To show when dylibs are loaded: export DYLD_PRINT_LIBRARIES=1
Publishing a SOFA release
Once the binaries are generated: