cmake: Add some air to configure summary

Change-Id: I3408957d8a81ac3080eac28e48dbafe9059e22f5
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
This commit is contained in:
Tor Arne Vestbø 2020-07-26 16:39:20 +02:00
parent 9a8fe34e4d
commit 3251adb919

View File

@ -21,16 +21,15 @@ function(qt_print_build_instructions)
set(build_command "cmake --build . --parallel") set(build_command "cmake --build . --parallel")
set(install_command "cmake --install .") set(install_command "cmake --install .")
message("Qt is now configured for building. Just run '${build_command}'") message("Qt is now configured for building. Just run '${build_command}'\n")
if(QT_WILL_INSTALL) if(QT_WILL_INSTALL)
message("Once everything is built, you must run '${install_command}'") message("Once everything is built, you must run '${install_command}'")
message("Qt will be installed into '${CMAKE_INSTALL_PREFIX}'") message("Qt will be installed into '${CMAKE_INSTALL_PREFIX}'")
else() else()
message("Once everything is built, Qt is installed.") message("Once everything is built, Qt is installed. You should NOT run '${install_command}'")
message("You should NOT run '${install_command}'")
message("Note that this build cannot be deployed to other machines or devices.") message("Note that this build cannot be deployed to other machines or devices.")
endif() endif()
message("To configure and build other modules, you can use the following convenience script: message("\nTo configure and build other modules, you can use the following convenience script:
${QT_STAGING_PREFIX}/${INSTALL_BINDIR}/qt-cmake") ${QT_STAGING_PREFIX}/${INSTALL_BINDIR}/qt-cmake")
message("\nIf reconfiguration fails for some reason, try to remove 'CMakeCache.txt' \ message("\nIf reconfiguration fails for some reason, try to remove 'CMakeCache.txt' \
from the build directory \n") from the build directory \n")