Seems like the “Custom Xcode Resource Folders” option only works when using XCode, but doesn’t do anything in CLion (on Mac).
Tested with an empty standalone plugin.
Seems like the “Custom Xcode Resource Folders” option only works when using XCode, but doesn’t do anything in CLion (on Mac).
Tested with an empty standalone plugin.
For reference, the CMake code is:
timid bump here, might have a similar (and peculiar) issue :
When the application Icon is set CLion is actually trying to run the Icon.icns file instead of the executable inside the .app if I chmod+x the icon it actually runs it!
Error is
Error running ‘APP’: Cannot run program “/cmake-build-debug/myproject/Builds/CLion/myproject.app/Contents/Resources/Icon.icns” (in directory “/cmake-build-debug/myproject/Builds/CLion/myproject.app/Contents/Resources”): error=13, Permission denied
CmakeLists changes when I add the App Icon is this line, along with all the HEADER_ONLY image lines:
set_source_files_properties (“…/MacOSX/Icon.icns” PROPERTIES MACOSX_PACKAGE_LOCATION “Resources”)