#
# This file is part of the GROMACS molecular simulation package.
#
-# Copyright (c) 2014,2015,2016, by the GROMACS development team, led by
+# Copyright (c) 2014,2015,2016,2017,2018, by the GROMACS development team, led by
# Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
# and including many others, as listed in the AUTHORS file in the
# top-level source directory and at http://www.gromacs.org.
# Settings specific to source packages.
set(CPACK_SOURCE_GENERATOR TGZ)
set(CPACK_SOURCE_PACKAGE_FILE_NAME "${CPACK_PACKAGE_NAME}-${CPACK_PACKAGE_VERSION}")
- set(CPACK_SOURCE_IGNORE_FILES
- "\\\\.isreposource$;\\\\.git/;\\\\.gitignore$;\\\\.gitattributes;INSTALL-dev;")
+ list(APPEND FILES_NOT_INCLUDED_IN_SOURCE_PACKAGE
+ \\\\.isreposource
+ \\\\.git
+ \\\\.gitignore
+ \\\\.gitattributes
+ INSTALL-dev
+ cmake/FindCUDA\\\\.cmake
+ cmake/FindCUDA)
+ set(CPACK_SOURCE_IGNORE_FILES ${FILES_NOT_INCLUDED_IN_SOURCE_PACKAGE})
+
# Get the list of directories added with gmx_cpack_add_generated_source_directory()
get_property(CPACK_SOURCE_INSTALLED_DIRECTORIES
GLOBAL PROPERTY GMX_CPACK_SOURCE_INSTALLED_DIRECTORIES)