diff --git a/extras/Build/juceaide/CMakeLists.txt b/extras/Build/juceaide/CMakeLists.txt index 6a4b20ac7c..fb51feebd8 100644 --- a/extras/Build/juceaide/CMakeLists.txt +++ b/extras/Build/juceaide/CMakeLists.txt @@ -47,6 +47,8 @@ else() unset(ENV{CC}) unset(ENV{CXX}) + message(STATUS "Configuring juceaide") + # Looks like we're boostrapping, reinvoke CMake execute_process(COMMAND "${CMAKE_COMMAND}" "." @@ -61,9 +63,11 @@ else() RESULT_VARIABLE result_variable) if(result_variable) - message(FATAL_ERROR "Failed to configure tools\n${command_output}") + message(FATAL_ERROR "Failed to configure juceaide\n${command_output}") endif() + message(STATUS "Building juceaide") + execute_process(COMMAND "${CMAKE_COMMAND}" --build "${JUCE_BINARY_DIR}/tools" --config Debug @@ -72,9 +76,11 @@ else() RESULT_VARIABLE result_variable) if(result_variable) - message(FATAL_ERROR "Failed to build tools\n${command_output}") + message(FATAL_ERROR "Failed to build juceaide\n${command_output}") endif() + message(STATUS "Exporting juceaide") + # This will be generated by the recursive invocation of CMake (above) include("${JUCE_BINARY_DIR}/tools/JUCEToolsExport.cmake")