Skip to content
Snippets Groups Projects
Commit 741c785a authored by Dan Nixon's avatar Dan Nixon
Browse files

Install reset scripts alongside executable

Refs #10015
parent 11586051
No related merge requests found
......@@ -817,12 +817,26 @@ if ( APPLE )
set_source_files_properties(MANTID_RC_FILE PROPERTIES MACOSX_PACKAGE_LOCATION Resources)
endif ()
###########################################################################
# Config reset scripts
###########################################################################
if( WIN32 )
file( COPY
${CMAKE_CURRENT_SOURCE_DIR}/reset_settings_windows.bat
DESTINATION ${CMAKE_LIBRARY_OUTPUT_DIRECTORY} )
else ()
file( COPY
${CMAKE_CURRENT_SOURCE_DIR}/reset_settings_unix.sh
DESTINATION ${CMAKE_LIBRARY_OUTPUT_DIRECTORY} )
endif ()
###########################################################################
# Required Python config files
###########################################################################
# Top-level python scripts
set( PY_FILES mantidplotrc.py mantidplot.py )
set( PY_FILES mantidplotrc.py mantidplot.py qt_settings_editor.py )
copy_python_files_to_dir ( "${PY_FILES}"
${CMAKE_CURRENT_SOURCE_DIR}
${CMAKE_LIBRARY_OUTPUT_DIRECTORY}/${CMAKE_CFG_INTDIR}
......
:: Copyright © 2007-2014 ISIS Rutherford Appleton Laboratory & NScD Oak Ridge National Laboratory
:: This file is part of Mantid.
:: Mantid is free software; you can redistribute it and/or modify
:: it under the terms of the GNU General Public License as published by
:: the Free Software Foundation; either version 3 of the License, or
:: (at your option) any later version.
:: Mantid is distributed in the hope that it will be useful,
:: but WITHOUT ANY WARRANTY; without even the implied warranty of
:: MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
:: GNU General Public License for more details.
:: You should have received a copy of the GNU General Public License
:: along with this program. If not, see <http://www.gnu.org/licenses/>.
:: File change history is stored at: <https://github.com/mantidproject/mantid>.
:: Code Documentation is available at: <http://doxygen.mantidproject.org>
::TODO
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment