How to include resources(images,sounds,etc..) in the final exe(WIN) or app(MAC) c++ with clion????

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....

1 comment
Comment actions Permalink

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-cmakehttps://discourse.libsdl.org/t/creating-an-easily-distributable-executable-file/24413/12https://discourse.libsdl.org/t/running-sdl2-app-on-mac-linux-that-dont-have-sdl2-installed-static-linking-cmake-clion/26046/11.

0

Please sign in to leave a comment.