-
Notifications
You must be signed in to change notification settings - Fork 82
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Install and CPack ? #252
Comments
Hi, apologies for replying late.
https://floooh.github.io/fips/docs/codegen/ There's no concept of a (system-wide) install step in fips, instead there are two special output directories, one is fips_build where all the intermediate build files are located, and the other is fips_deploy where the compiled executables go. "Core fips" itself has no concept of an asset pipeline (which would convert asset files and place them in the deploy directory), but a simple asset pipeline can be implemented with such custom "generator scripts". I'm surprised though that fipsutil_copy() doesn't appear to work, for the cgltf-sample the steps would be (from within the sokol-samples project directory):
During the build you should see output lines like this, this is output from the fipsutil_copy() script:
...and when looking in the fips-deploy directory, the files should be there:
|
Yes sorry, since then I got more familiar with fips and I'm trying to convert a few CMake only projects to fips. I'm still experimenting on a few harder cases project (mix of shared and static libraries, assets, etc..) right now so it's too early to report back properly but the idea was to be able to create a contained .app (windowed in fips terms) with everything inside:
Of course, using CMake commands directly is an option, but I like the ways fips 'constrain' libs and app declaration and that would not fit that philosophy (I might be wrong ?) In the case of the sokol-samples I was referring to, the assets DO get copied to the fips-deploy folder for some reason I missed that, but (I think you get it now :) ) I expected them to go to the Resources of the .app package. |
Hi,
While trying to use the sokol-samples on macOS, I'm not sure to understand what this line does:
To me, it parses the
cgltf-assets.yml
files and copies the assets referred in it on install, in the case of macOS to the resource of the bundle, but it doesn't seem to be doing anything?Looking at the doc of fips I did not find anything related to installing, but it seems to be doing it as it isolates everything in the fips-deploy folder?
I ask because except with the
./fips run xxx
command I can't run the deployed apps on their own, even using arelease
config.Thanks a lot for the sokol headers ;)
The text was updated successfully, but these errors were encountered: