mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
CMake: Add diagnostic output while building juceaide
This commit is contained in:
parent
29c8b2358d
commit
04b6d1c1cf
1 changed files with 8 additions and 2 deletions
|
|
@ -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")
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue