mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
juceaide: Add basic test
This commit is contained in:
parent
110e23785c
commit
e1b3836f42
2 changed files with 20 additions and 0 deletions
|
|
@ -161,4 +161,17 @@ else()
|
|||
|
||||
get_filename_component(binary_name "${imported_location}" NAME)
|
||||
set(JUCE_JUCEAIDE_NAME "${binary_name}" CACHE INTERNAL "The name of the juceaide program")
|
||||
|
||||
message(STATUS "Testing juceaide")
|
||||
|
||||
execute_process(COMMAND "${imported_location}" version
|
||||
RESULT_VARIABLE result_variable
|
||||
OUTPUT_VARIABLE output
|
||||
ERROR_VARIABLE output)
|
||||
|
||||
if(result_variable)
|
||||
message(FATAL_ERROR "Testing juceaide failed:\noutput: ${output}")
|
||||
endif()
|
||||
|
||||
message(STATUS "Finished setting up juceaide")
|
||||
endif()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue