<commit_before>#
# OSKAR CMAKE packaging script
#
# Description:
# Adds tagets: 
#   1. package (binary package)
#   2. package_source (source package) 
# 
# Notes:
#
# http://www.cmake.org/Wiki/CMake:CPackConfiguration
#
# http://www.cmake.org/Wiki/CMakeUserUseDebian
# 
# info: dpkg -I oskar-lib-0.0.0-Linux.deb
#
# http://wiki.clug.org.za/wiki/How_do_I_install_a_.deb_file_I_downloaded_without_compromising_dependencies%3F
# dpkg-scanpackages . /dev/null | gzip -c -9 > Packages.gz
# deb file:///home/debs /
#

SET(CPACK_PACKAGE_DESCRIPTION_FILE "${CMAKE_CURRENT_SOURCE_DIR}/readme.txt")
set(CPACK_PACKAGE_DESCRIPTION_SUMMARY "OSKAR-${OSKAR_VERSION}")
set(CPACK_PACKAGE_VENDOR "University of Oxford, Oxford e-Research Centre.")
SET(CPACK_RESOURCE_FILE_LICENSE "${CMAKE_CURRENT_SOURCE_DIR}/copying.txt")
SET(CPACK_PACKAGE_VERSION_MAJOR "${OSKAR_VERSION_MAJOR}")
SET(CPACK_PACKAGE_VERSION_MINOR "${OSKAR_VERSION_MINOR}")
SET(CPACK_PACKAGE_VERSION_PATCH "${OSKAR_VERSION_PATCH}")
set(CPACK_PACKAGE_VERSION "${OSKAR_VERSION}-beta1")

set(CPACK_INCLUDE_TOPLEVEL_DIRECTORY ON)

if (WIN32)
    # http://www.itk.org/Wiki/CMake:Component_Install_With_CPack
    set(CPACK_GENERATOR "NSIS")
elseif (UNIX)
    set(CPACK_GENERATOR "DEB;TGZ")
    set(CPACK_SOURCE_GENERATOR "TGZ")
    set(CPACK_DEBIAN_PACKAGE_MAINTAINER "OSKAR developer team.")
    set(CPACK_DEBIAN_PACKAGE_VERSION ${OSKAR_VERSION})
    set(CPACK_DEBIAN_PACKAGE_SECTION "Science")
    set(CPACK_DEBIAN_PACKAGE_ARCHITECTURE "amd64")
    #set(CPACK_DEBIAN_PACKAGE_DEPENDS "libcfitsio3 (>=3.0), libqt4-dev (>=4.5)")
endif ()
include(CPack)<commit_msg>updated packaging options, added example simulation directory<commit_after>#
# OSKAR CMAKE packaging script
#
# Description:
# Adds tagets: 
#   1. package (binary package)
#   2. package_source (source package) 
# 
# Notes:
#
# http://www.cmake.org/Wiki/CMake:CPackConfiguration
#
# http://www.cmake.org/Wiki/CMakeUserUseDebian
# 
# info: dpkg -I oskar-lib-0.0.0-Linux.deb
#
# http://wiki.clug.org.za/wiki/How_do_I_install_a_.deb_file_I_downloaded_without_compromising_dependencies%3F
# dpkg-scanpackages . /dev/null | gzip -c -9 > Packages.gz
# deb file:///home/debs /
#

SET(CPACK_PACKAGE_DESCRIPTION_FILE "${CMAKE_CURRENT_SOURCE_DIR}/readme.txt")
set(CPACK_PACKAGE_DESCRIPTION_SUMMARY "OSKAR-${OSKAR_VERSION}")
set(CPACK_PACKAGE_VENDOR "University of Oxford, Oxford e-Research Centre.")
SET(CPACK_RESOURCE_FILE_LICENSE "${CMAKE_CURRENT_SOURCE_DIR}/copying.txt")
SET(CPACK_PACKAGE_VERSION_MAJOR "${OSKAR_VERSION_MAJOR}")
SET(CPACK_PACKAGE_VERSION_MINOR "${OSKAR_VERSION_MINOR}")
SET(CPACK_PACKAGE_VERSION_PATCH "${OSKAR_VERSION_PATCH}")
set(CPACK_PACKAGE_VERSION "${OSKAR_VERSION}-beta")

set(CPACK_INCLUDE_TOPLEVEL_DIRECTORY ON)

if (WIN32)
    # http://www.itk.org/Wiki/CMake:Component_Install_With_CPack
    set(CPACK_GENERATOR "NSIS")
elseif (UNIX)
    #set(CPACK_GENERATOR "DEB;TGZ")
    set(CPACK_GENERATOR "TGZ")
    set(CPACK_SOURCE_GENERATOR "TGZ")
    set(CPACK_DEBIAN_PACKAGE_MAINTAINER "OSKAR developer team.")
    set(CPACK_DEBIAN_PACKAGE_VERSION "${OSKAR_VERSION}-beta")
    set(CPACK_DEBIAN_PACKAGE_SECTION "Science")
    set(CPACK_DEBIAN_PACKAGE_ARCHITECTURE "amd64")
    #set(CPACK_DEBIAN_PACKAGE_DEPENDS "libcfitsio3 (>=3.0), libqt4-dev (>=4.5) ")
endif ()
include(CPack)
{'fraction_non_alphanumeric': 0.12951167728237792, 'fraction_numerical': 0.010615711252653927, 'mean_word_length': 6.478458049886621, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 6, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1046661', 'n_tokens_mistral': 1358, 'n_tokens_neox': 1327, 'n_words': 173}