Skip to content

Commit

Permalink
Instruct to use 'cmake --build build'
Browse files Browse the repository at this point in the history
  • Loading branch information
daljit46 committed Dec 17, 2024
1 parent bd6e49e commit de4bee8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cmake/BuildInfo.cmake
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
function(mrtrix_print_build_instructions)
set(message_list "\n")
file(RELATIVE_PATH relative_build_path "${PROJECT_SOURCE_DIR}" "${PROJECT_BINARY_DIR}")
list(APPEND message_list "MRtrix3 has been successfully configured for compilation.")
list(APPEND message_list "To build MRtrix3, run 'cmake --build .' from the build directory.")
list(APPEND message_list "To build it, run 'cmake --build ${relative_build_path}'")

list(APPEND message_list "To reconfigure the project, run CMake again with the same arguments.")
list(APPEND message_list "If reconfiguration fails, remove the CMakeCache.txt file in the build "
Expand Down

0 comments on commit de4bee8

Please sign in to comment.