I'm familiar with CMake, but now I need to work with JUCE. I've created CMakeLists.txt
file and added there things like
add_subdirectory(JUCE) # it's a submodule
juce_add_console_app(chess-test PRODUCT_NAME "ChessTest" VERSION "1.0.0.0")
target_sources(chess-test PUBLIC Source/Main.cpp)
target_link_libraries(chess-test PUBLIC juce_core)
juce_generate_juce_header(chess-test)
So I'm getting the application built in the command line on Windows with CMake and MSVC 2022. However, I don't know how to open/import/convert this project so that it appears in the Projucer application (GUI)? Or did I have to go the other way around, by first setting up the project in Projucer, and then exporting it as CMakeLists.txt
?
The app has to work on Windows, macOS, Android, and iOS.