Is there any reason for JUCE to be generating cmake_install.cmake files? Would it be useful to set this variable to True in the CMakeLists.txt files within the JUCE project itself?
Its quite handy when, for example, using an IDE such as CLion to do debugging/testing …
@ibisum I am using Xcode and Visual Studio, and generally set up JUCE as a submodule in my repository. How do the cmake_install.cmake files generated in the JUCE folder help with debugging and testing? I’m very interested in improving my process. Thanks.
Some people like to install JUCE and then use find_package rather than add_subdirectory to include JUCE in their project.
That would prevent all users from being able to install the project. If you don’t need the install targets, it’s better to just set this cache variable locally, e.g. by passing it on the command-line when configuring the project.
1 Like
