Commit afb1517d authored by whitlocb's avatar whitlocb
Browse files

I moved host .xml files to a svn_bin/hosts subdirectory and updated the...

I moved host .xml files to a svn_bin/hosts subdirectory and updated the CMakeLists.txt to install them from there.



git-svn-id: http://visit.ilight.com/svn/visit/trunk/src@16399 18c085ea-50e0-402c-830e-de6fd14e8384
parent 201be798
#*****************************************************************************
#
# Copyright (c) 2000 - 2008, Lawrence Livermore National Security, LLC
# Copyright (c) 2000 - 2011, Lawrence Livermore National Security, LLC
# Produced at the Lawrence Livermore National Laboratory
# LLNL-CODE-400142
# All rights reserved.
......@@ -46,16 +46,20 @@
# VISIT_INSTALL_PROFILES_TO_HOSTS to "nersc", "ornl" etc. to create
# a global "hosts" directory in the VisIt install and copy over the
# corresponding host profiles.
#
# Brad Whitlock, Wed Oct 12 09:24:00 PDT 2011
# Move host-related files to hosts subdirectory.
#
#*****************************************************************************
## find all host profiles to install using a glob
FILE(GLOB HPROF_FILES "${CMAKE_CURRENT_SOURCE_DIR}/host_*.xml")
FILE(GLOB HPROF_FILES "${CMAKE_CURRENT_SOURCE_DIR}/hosts/host_*.xml")
## find all ini files to install using a glob
FILE(GLOB INI_FILES "${CMAKE_CURRENT_SOURCE_DIR}/visit-*.ini")
FILE(GLOB INI_FILES "${CMAKE_CURRENT_SOURCE_DIR}/hosts/visit-*.ini")
IF(APPLE)
LIST(APPEND INI_FILES ${CMAKE_CURRENT_SOURCE_DIR}/default_configs.dat)
LIST(APPEND INI_FILES ${CMAKE_CURRENT_SOURCE_DIR}/networks.dat)
LIST(APPEND INI_FILES ${CMAKE_CURRENT_SOURCE_DIR}/hosts/default_configs.dat)
LIST(APPEND INI_FILES ${CMAKE_CURRENT_SOURCE_DIR}/hosts/networks.dat)
ENDIF (APPLE)
## provide proper install structure windows vs other:
......@@ -81,10 +85,10 @@ INSTALL(FILES ${HPROF_FILES}
PERMISSIONS OWNER_READ OWNER_WRITE GROUP_READ GROUP_WRITE WORLD_READ
)
# Infall local host profiles if specified
# Install local host profiles if specified
IF (VISIT_INSTALL_PROFILES_TO_HOSTS)
FILE(GLOB LPROF_FILES
"${CMAKE_CURRENT_SOURCE_DIR}/host_${VISIT_INSTALL_PROFILES_TO_HOSTS}_*.xml")
"${CMAKE_CURRENT_SOURCE_DIR}/hosts/host_${VISIT_INSTALL_PROFILES_TO_HOSTS}_*.xml")
INSTALL(FILES ${LPROF_FILES}
DESTINATION ${LPROF_DEST}
PERMISSIONS OWNER_READ OWNER_WRITE GROUP_READ GROUP_WRITE WORLD_READ
......
Markdown is supported
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