Join Slack
Powered by
I compiled Hello World sample from CLion, but on O...
# kotlin-native
a
Art
11/18/2017, 5:20 PM
I compiled Hello World sample from CLion, but on OSX the executable size is 7M. How can I make it smaller?
s
suresh
11/18/2017, 9:07 PM
That’s a debug build i think.
suresh
11/18/2017, 9:07 PM
Add
set(CMAKE_BUILD_TYPE Release)
to your cmake file and try it
👍 1
a
Art
11/19/2017, 4:41 PM
Thanks! This reduced its size to 200k
2
Views
Open in Slack
Previous
Next