<commit_before>cmake_minimum_required(VERSION 3.0)
project(AudioSwitch VERSION 0.2.0)

set(CPACK_PACKAGE_VERSION ${PROJECT_VERSION})

# For systems where the Visual C++ Redistributable
# for Visual Studio 2015 is not installed
# (missing MSVCP120D.dll)
add_definitions("/MT")

add_executable(audioswitch WIN32 main.cpp controller.cpp controller.h policy_config.h)

install(TARGETS audioswitch DESTINATION bin)

set(CPACK_GENERATOR WIX)
set(CPACK_RESOURCE_FILE_LICENSE "${CMAKE_CURRENT_SOURCE_DIR}/LICENSE.txt")
set(CPACK_PACKAGE_NAME "AudioSwitch")
set(CPACK_PACKAGE_VENDOR "<NAME>")
set(CPACK_PACKAGE_INSTALL_DIRECTORY "AudioSwitch")
set(CPACK_WIX_UPGRADE_GUID "30C45A60-C5D8-44d3-8E11-7394A401B813")
include(CPack)<commit_msg>Use /MTd for debug builds. Bump to 0.3<commit_after>cmake_minimum_required(VERSION 3.0)
project(AudioSwitch VERSION 0.3)

set(CPACK_PACKAGE_VERSION ${PROJECT_VERSION})

# For systems where the Visual C++ Redistributable
# for Visual Studio 2015 is not installed
# (missing MSVCP120D.dll) -> link statically
set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} /MT")
set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} /MTd")

add_executable(audioswitch WIN32 main.cpp controller.cpp controller.h policy_config.h)

install(TARGETS audioswitch DESTINATION bin)

set(CPACK_GENERATOR WIX)
set(CPACK_RESOURCE_FILE_LICENSE "${CMAKE_CURRENT_SOURCE_DIR}/LICENSE.txt")
set(CPACK_PACKAGE_NAME "AudioSwitch")
set(CPACK_PACKAGE_VENDOR "<NAME>")
set(CPACK_PACKAGE_INSTALL_DIRECTORY "AudioSwitch")
set(CPACK_WIX_UPGRADE_GUID "30C45A60-C5D8-44d3-8E11-7394A401B813")
include(CPack)
{'fraction_non_alphanumeric': 0.09837092731829573, 'fraction_numerical': 0.04824561403508772, 'mean_word_length': 9.10759493670886, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 6, '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': '6292002', 'n_tokens_mistral': 648, 'n_tokens_neox': 595, 'n_words': 107}