@@ -1006,51 +1006,6 @@ MESSAGE(STATUS "===== Configuring ASPECT documentation =============")
10061006
10071007add_subdirectory (doc )
10081008
1009-
1010- # Find the deal.II parameter GUI and install helper script
1011- find_program (PARAMETER_GUI_EXECUTABLE
1012- parameter_gui
1013- HINTS $ENV{PARAMETER_GUI_DIR} $ENV{PARAMETER_GUI_DIR} /bin ${PARAMETER_GUI_DIR} ${PARAMETER_GUI_DIR} /bin
1014- PATH bin)
1015- mark_as_advanced (CLEAR PARAMETER_GUI_EXECUTABLE)
1016-
1017- # Did the user specify something that doesn't exist?
1018- if (PARAMETER_GUI_EXECUTABLE
1019- AND
1020- (NOT EXISTS ${PARAMETER_GUI_EXECUTABLE} OR IS_DIRECTORY ${PARAMETER_GUI_EXECUTABLE} ))
1021- message (STATUS "Warning: PARAMETER_GUI_EXECUTABLE '${PARAMETER_GUI_EXECUTABLE} ' does not exist" )
1022- set (PARAMETER_GUI_EXECUTABLE "PARAMETER_GUI_EXECUTABLE-NOTFOUND" CACHE FILEPATH "" FORCE)
1023- endif ()
1024-
1025- if (NOT PARAMETER_GUI_EXECUTABLE)
1026- message (STATUS "Parameter GUI not found: install and provide a hint using -D PARAMETER_GUI_DIR or set -D PARAMETER_GUI_EXECUTABLE directly." )
1027- else ()
1028- message (STATUS "Found parameter GUI at: ${PARAMETER_GUI_EXECUTABLE} " )
1029- configure_file (
1030- ${CMAKE_SOURCE_DIR} /doc /aspect-gui
1031- ${CMAKE_BINARY_DIR} /aspect-gui
1032- @ONLY
1033- )
1034- install (FILES ${CMAKE_BINARY_DIR} /aspect-gui
1035- DESTINATION bin
1036- PERMISSIONS OWNER_EXECUTE OWNER_WRITE OWNER_READ
1037- GROUP_READ GROUP_EXECUTE
1038- WORLD_READ WORLD_EXECUTE)
1039- endif ()
1040-
1041-
1042-
1043- # A target to create parameters.json after building the ASPECT binary.
1044-
1045- add_custom_command (TARGET ${TARGET_EXE} POST_BUILD
1046- COMMAND sh -c 'echo "" | ./$<TARGET_PROPERTY:${TARGET_EXE} ,OUTPUT_NAME > --output -json -- > parameters.json'
1047- WORKING_DIRECTORY ${CMAKE_BINARY_DIR} )
1048-
1049-
1050-
1051- message (STATUS "" )
1052- message (STATUS "===== Writing final configuration ==================" )
1053-
10541009include (cmake/write_config)
10551010
10561011# print "info" if run for the first time:
0 commit comments