You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Deploying these assistive library files alongside the binaries allows for easy to link, bind and compile with CMake / PKGconfig and allows for easy versioning alongside now the Apple PKL formats describing the binaries and variant defines for those binaries.
This solves many linking issues in the build processes as these files contain all the info required by the build systems like versions and locations.
Generated files from build system:
Un-usable as files are full paths as per build location.
Fix: I've developed a bash script to automatically re-write the fullpaths created via CMake build system on install after apothecary builds and set the paths to relative to deploy locations and tests show it works!
Another location could be directly in the location of libraries like the PKL files are currently - depending on further analysis of how many files are generated
like: $1/lib/$PLATFORM/$ARCH/cmake_install.cmake $1/lib/$PLATFORM/$ARCH/zlib.pc
For xcFrameworks this would be within target for each platform:
The text was updated successfully, but these errors were encountered:
[CMake/pkgconfig]
To support the future of openFrameworks.
Deploying these assistive library files alongside the binaries allows for easy to link, bind and compile with CMake / PKGconfig and allows for easy versioning alongside now the Apple PKL formats describing the binaries and variant defines for those binaries.
This solves many linking issues in the build processes as these files contain all the info required by the build systems like versions and locations.
Generated files from build system:
Fix: I've developed a bash script to automatically re-write the fullpaths created via CMake build system on install after apothecary builds and set the paths to relative to deploy locations and tests show it works!
Currently the paths are like so:
$1/lib/$PLATFORM/$ARCH/pkgconfig/*pc
$1/lib/$PLATFORM/$ARCH/cmake/cmake_install.cmake
Another location could be directly in the location of libraries like the PKL files are currently - depending on further analysis of how many files are generated
like:
$1/lib/$PLATFORM/$ARCH/cmake_install.cmake
$1/lib/$PLATFORM/$ARCH/zlib.pc
For xcFrameworks this would be within target for each platform:
The text was updated successfully, but these errors were encountered: