Windows Build Size #65
-
Heyhey i succesfully build openrv, but i'm wondering why the size of the app folder is about 4.45 GB. I was following the build instructions (for the release version). Do i have to do anything else to make sure only the release is build? Thanks for your help in advance :) |
Beta Was this translation helpful? Give feedback.
Replies: 7 comments
-
Hi @jonassorgenfrei. You can get aRelease build with the If you like, you can also use the aliases to do it for you. If you do Hope that helps! |
Beta Was this translation helpful? Give feedback.
-
Hello @jonassorgenfrei, In addition to what Roger has just mentioned, you can do an extra step, the install step, that will prune the pdb files from your build. You can invoke the build step with the Once you've run the install step, you should end up with an RV taking about 1.5 GB of disk space. I hope this helps. |
Beta Was this translation helpful? Give feedback.
-
Hmm I'm pretty sure i copied the commands just like this from the docs:
But may be accidentally deleted an important part of the command; will double check but thanks for the help will let you know if this fixed and removed the debug. Or is it correct that the folder in cmake-build/stage/app is that big and contains the pdb files even during release build? |
Beta Was this translation helpful? Give feedback.
-
The stage/app folder contains EVERYTHINGS, so you can easily debug stuff. You need to run the install step to copy it into a final folder with unrequired files filtered out. |
Beta Was this translation helpful? Give feedback.
-
I see that makes sense allright will give it a try. Thank you for your help |
Beta Was this translation helpful? Give feedback.
-
I just noticed (thanks!) that the docs don't mention about the install step properly. |
Beta Was this translation helpful? Give feedback.
-
Hey @geffrak thanks for your help this was exactly the thing i missed. With installing using the command you provided i get a build size of around 1.5 gig. |
Beta Was this translation helpful? Give feedback.
I just noticed (thanks!) that the docs don't mention about the install step properly.
cmake --install cmake-build --config Release --prefix /Absolute/path/to/final/location/RV