How to include resources(images,sounds,etc..) in the final exe(WIN) or app(MAC) c++ with clion???? Follow
Answered
How to include resources(images,sounds,etc..) in the final exe or app c++ with clion????
I don't see everywhere a clear answer to make this work...Can somebody answer me to this problem??
Thanks a lot, Lestroso....
Please sign in to leave a comment.
Hello!
In CLion there is no special feature to package a project as a standalone app. This should be done by means of the build system that you use in your project. For macOS and CMake, for example, I found several related threads, you can check them out: https://stackoverflow.com/questions/44421278/how-to-include-libraries-in-osx-bundles-with-cmake, https://discourse.libsdl.org/t/creating-an-easily-distributable-executable-file/24413/12, https://discourse.libsdl.org/t/running-sdl2-app-on-mac-linux-that-dont-have-sdl2-installed-static-linking-cmake-clion/26046/11.