Commit e4e55d16 authored by bonnell's avatar bonnell
Browse files

Add src_package target to windows build

git-svn-id: http://visit.ilight.com/svn/visit/trunk/src@11374 18c085ea-50e0-402c-830e-de6fd14e8384
parent bf67d6c7
......@@ -1595,6 +1595,18 @@ ELSE (NOT WIN32)
COMMAND ${CMAKE_COMMAND} -DBUILD_TYPE=${CMAKE_CFG_INTDIR} -P cmake_install.cmake)
SET_TARGET_PROPERTIES(_PACKAGE PROPERTIES EXCLUDE_FROM_DEFAULT_BUILD 1)
# source installer
ADD_CUSTOM_COMMAND(OUTPUT visitdev${VISIT_VERSION}.exe
COMMAND ${MAKENSIS}
/DVisItVersion=${VISIT_VERSION}
/DVISIT_SOURCE_DIR=${VSD_NATIVE}
/DINSTALL_PREFIX=${CIP_NATIVE}
${VISIT_WINDOWS_DIR}/installation/sourceinstallation.nsi
DEPENDS ${VISIT_WINDOWS_DIR}/installation/sourceinstallation.nsi
)
ADD_CUSTOM_TARGET(_SRC_PACKAGE ALL DEPENDS visitdev${VISIT_VERSION}.exe)
SET_TARGET_PROPERTIES(_SRC_PACKAGE PROPERTIES EXCLUDE_FROM_DEFAULT_BUILD 1)
ENDIF (${MAKENSIS_FOUND})
ENDIF (NOT WIN32)
......
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