<commit_before>###############################################################################
#
# Qumulus UML editor
# Author: <NAME>
#
###############################################################################

cmake_minimum_required(VERSION 2.8.8)
project(Qumulus)
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake")

# CPack
SET(CPACK_PACKAGE_DESCRIPTION_SUMMARY "Qumulus UML editor")
SET(CPACK_PACKAGE_VENDOR "<NAME> and <NAME>")
SET(CPACK_PACKAGE_VERSION_MAJOR "0")
SET(CPACK_PACKAGE_VERSION_MINOR "1")
SET(CPACK_PACKAGE_VERSION_PATCH "0")

if(WIN32)
    set(QUMULUS "qumulus")

    set(BINARY_DEST ".")
    set(RESOURCE_DEST "data")

elseif(APPLE)
    set(CPACK_PACKAGE_FILE_NAME 
        "Qumulus-${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKAGE_VERSION_MINOR}")
    set(CPACK_DMG_VOLUME_NAME "Qumulus")
    set(CPACK_GENERATOR "DragNDrop")

    set(QUMULUS "Qumulus")
    set(QUMULUS_BUNDLE_ROOT "${QUMULUS}.app/Contents")

    set(PLIST_PATH "${CMAKE_SOURCE_DIR}/Info.plist")

    set(BINARY_DEST ".")
    set(RESOURCE_DEST "${QUMULUS_BUNDLE_ROOT}/Resources")
    set(QT_PLUGIN_DEST_DIR "${QUMULUS_BUNDLE_ROOT}/plugins")
    set(QT_CONFIG_DEST_DIR "${RESOURCE_DEST}")

elseif(UNIX AND NOT APPLE)
    set(QUMULUS "qumulus")

    set(BINARY_DEST "bin")
    set(RESOURCE_DEST "share")
endif()

# This needs to be done after we set all options
include(CPack)
include(InstallRequiredSystemLibraries)

# C++11 support
include(EnableCxx11)

# MOC
set(CMAKE_AUTOMOC ON)<commit_msg>Add option to create nightly builds.<commit_after>###############################################################################
#
# Qumulus UML editor
# Author: <NAME>rens
#
###############################################################################

cmake_minimum_required(VERSION 2.8.8)
project(Qumulus)
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake")

# CPack
set(CPACK_PACKAGE_DESCRIPTION_SUMMARY "Qumulus UML editor")
set(CPACK_PACKAGE_VENDOR "<NAME> and <NAME>")
set(CPACK_PACKAGE_VERSION_MAJOR "0")
set(CPACK_PACKAGE_VERSION_MINOR "1")
set(CPACK_PACKAGE_VERSION_PATCH "0")

if(NOT ${QUMULUS_NIGHTLY})
    set(QUMULUS_VERSION
        "${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKAGE_VERSION_MINOR}")
else()
    set(QUMULUS_VERSION "nightly")
endif()

if(WIN32)
    set(QUMULUS "qumulus")

    set(BINARY_DEST ".")
    set(RESOURCE_DEST "data")

elseif(APPLE)
    set(CPACK_PACKAGE_FILE_NAME 
        "Qumulus-${QUMULUS_VERSION}")
    set(CPACK_DMG_VOLUME_NAME "Qumulus")
    set(CPACK_GENERATOR "DragNDrop")

    set(QUMULUS "Qumulus")
    set(QUMULUS_BUNDLE_ROOT "${QUMULUS}.app/Contents")

    set(PLIST_PATH "${CMAKE_SOURCE_DIR}/Info.plist")

    set(BINARY_DEST ".")
    set(RESOURCE_DEST "${QUMULUS_BUNDLE_ROOT}/Resources")
    set(QT_PLUGIN_DEST_DIR "${QUMULUS_BUNDLE_ROOT}/plugins")
    set(QT_CONFIG_DEST_DIR "${RESOURCE_DEST}")

elseif(UNIX AND NOT APPLE)
    set(QUMULUS "qumulus")

    set(BINARY_DEST "bin")
    set(RESOURCE_DEST "share")
endif()

# This needs to be done after we set all options
include(CPack)
include(InstallRequiredSystemLibraries)

# C++11 support
include(EnableCxx11)

# MOC
set(CMAKE_AUTOMOC ON)
{'fraction_non_alphanumeric': 0.21223588773257648, 'fraction_numerical': 0.007568590350047304, 'mean_word_length': 6.661835748792271, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1248226', 'n_tokens_mistral': 1234, 'n_tokens_neox': 1201, 'n_words': 176}