Skip to content
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

linux lib is huge (12.4mb) #47

Open
TurkeyMan opened this issue Mar 2, 2014 · 2 comments
Open

linux lib is huge (12.4mb) #47

TurkeyMan opened this issue Mar 2, 2014 · 2 comments

Comments

@TurkeyMan
Copy link

I can't see -Os anywhere, and also -ggdb is probably adding a lot to the size unnecessarily.
glsl_optimizer seems to have a debug/release distinction, building release by default, which produces a small lib.
I suggest doing that here too.

@urkle
Copy link

urkle commented Mar 5, 2014

-DCMAKE_BUILD_TYPE=Release will switch cmake into release mode. Really the -ggdb isn't needed and should be removed.. using the cmake build type will handle all of that.. possible values are Debug, Release, RelWithDebInfo, RelMinSize

@aras-p
Copy link
Owner

aras-p commented Mar 5, 2014

"Maybe"? I'm not maintaining the linux builds (have never even tried if they work).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants