Closed v3rm0n closed 1 year ago
This will fix https://github.com/laamaa/m8c/issues/90 as well. Basically the process would be:
INSTALL_PREFIX=/some/absolute/path/where/you/want/your/app/bundle
mkdir build && cd build
cmake ..
cmake --build .
cmake --install . --prefix=$INSTALL_PREFIX
# MacOS specific part
codesign --deep --force --verify --verbose --timestamp --sign - "$INSTALL_PREFIX/m8c.app" "$INSTALL_PREFIX/m8c.app/Contents/Frameworks/libSDL2-2.0.0.dylib" "$INSTALL_PREFIX/m8c.app/Contents/Frameworks/libserialport.0.dylib"
This would replace all the custom MacOS script in the Github workflow (except the zipping part). Might work for all platforms, but I don't have access to Windows.
Thank you!
I'll try to mess with the GH actions config if we could get a nice automated MacOS build...
Should be identical to the Makefile (will basically replace the Makefile if needed), but allows better integration to other projects and IDE's