Hi Juce team!
The new CMake build system in Juce 6 is awesome. However, I have a question.
How do I enable automatic reference counting (ARC) for my Objective-C files in a user Juce module?
Say, my project is organised like this:
project (folder)
- CMakeLists.txt (project CMakeLists file)
- my_module (folder)
- CMakeLists.txt (my_module CMakeLists file)
- my_module (folder)
- my_module.h
- my_module.mm
In the CMakeList file in āmy_moduleā I include the user module like this ājuce_add_modules(my_module)ā.
Iāve tried using āset_source_files_properties( my_module/my_module.mm PROPERTIES COMPILE_FLAGS ā-fobjc-arcā)ā, which doesnāt work.