Skip to content
Snippets Groups Projects
Commit 1cf48e5b authored by Dilawar Singh's avatar Dilawar Singh
Browse files

The uninstall happens successfully. Need to test if make install aslo runs make

again.
parent df41948a
No related branches found
No related tags found
No related merge requests found
...@@ -28,7 +28,7 @@ install(CODE ...@@ -28,7 +28,7 @@ install(CODE
execute_process(COMMAND ctest --output-on-failure execute_process(COMMAND ctest --output-on-failure
WORKING_DIRECTORY ${MOOSE_CORE_BUILD_DIR}) WORKING_DIRECTORY ${MOOSE_CORE_BUILD_DIR})
execute_process(COMMAND ${CMAKE_COMMAND} install execute_process(COMMAND make install
WORKING_DIRECTORY ${MOOSE_CORE_BUILD_DIR}) WORKING_DIRECTORY ${MOOSE_CORE_BUILD_DIR})
" "
) )
...@@ -52,13 +52,11 @@ add_custom_target(uninstall ...@@ -52,13 +52,11 @@ add_custom_target(uninstall
) )
add_custom_command(OUTPUT __uninstall_moose-core__ add_custom_command(OUTPUT __uninstall_moose-core__
COMMAND make uninstall COMMAND xargs rm -rf < install_manifest.txt
WORKING_DIRECTORY ${MOOSE_CORE_BUILD_DIR}
) )
add_custom_command(OUTPUT __uninstall_moose-gui__ add_custom_command(OUTPUT __uninstall_moose-gui__
COMMAND ${CMAKE_COMMAND} -E remove_directory COMMAND ${CMAKE_COMMAND} -E remove_directory
${CMAKE_INSTALL_PREFIX}/lib/moose ${CMAKE_INSTALL_PREFIX}/lib/moose/gui
COMMAND ${CMAKE_COMMAND} -R remove ${CMAKE_INSTALL_PREFIX}/bin/moosegui COMMAND ${CMAKE_COMMAND} -E remove ${CMAKE_INSTALL_PREFIX}/bin/moosegui
WORKING_DIRECTORY ${CMAKE_BINARY_DIR}
) )
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment