<commit_before>project(siplasplas)
cmake_minimum_required(VERSION 2.8)

list(APPEND CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/3rdParty ${CMAKE_SOURCE_DIR}/cmake)

if(NOT CMAKE_BUILD_TYPE)
    set(CMAKE_BUILD_TYPE Debug)
endif()

set(SIPLASPLAS_VERSION_MAJOR 0)
set(SIPLASPLAS_VERSION_MINOR 0)
set(SIPLASPLAS_VERSION_PATCH 0)

set(SIPLASPLAS_DRLPARSER_PYTHON_VERSION 2.7)
set(SIPLASPLAS_BUILDING_FROM_SOURCES TRUE CACHE INTERNAL "")
set(SIPLASPLAS_ROOT "${CMAKE_SOURCE_DIR}")

include(cmake/deftargets.cmake)
include(cmake/install.cmake)
include(cmake/git.cmake)

option(SIPLASPLAS_VERBOSE_CONFIG "Run siplasplas configuration with detailed output" OFF)
option(SIPLASPLAS_BUILD_TESTS    "Build tests"    OFF)
option(SIPLASPLAS_BUILD_EXAMPLES "Build examples" OFF)
option(SIPLASPLAS_BUILD_DOCS     "Build doxygen documentation" OFF)
option(SIPLASPLAS_DEPLOY_DOCS    "Generate target to deploy branch docs to website" OFF)
option(SIPLASPLAS_CI_BUILD                        "siplasplas running on continuous integration build" FALSE)
option(SIPLASPLAS_INSTALL_DRLPARSER_DEPENDENCIES  "Automatically install DRLParser dependencies" ON)
option(SIPLASPLAS_DOWNLOAD_LIBCLANG               "Download libclang from llvm mirror instead of using system LLVM installation" OFF)
option(SIPLASPLAS_COPY_DLL_DEPENDENCIES "Copy dll dependencies to the dependant target binary dir" ON)
option(SIPLASPLAS_USE_SYSTEM_SFML       "Use SFML system distribution instead of build from sources" OFF)
option(SIPLASPLAS_ENABLE_VALGRIND "Enable memory check of executable targets" OFF)
option(SIPLASPLAS_ENABLE_ASSERTS "Force assertions, which are disabled by default on Release build" OFF)
option(SIPLASPLAS_DUMP_ERRORS "Dump error logs after running an executable. Implies SIPLASPLAS_CLEAR_LOGS" ON)
option(SIPLASPLAS_IMGUI_SFML_EXAMPLES_ENABLED "Enable examples using imgui and SFML" OFF)
option(SIPLASPLAS_VERBOSE_DRLPARSER "Run reflection parser with detailed diagnostics" OFF)

include(cmake/siplasplas.cmake)

add_subdirectory(cmake)
add_subdirectory(3rdParty)
add_subdirectory(src)

if(SIPLASPLAS_BUILD_TESTS)
    enable_testing()
    add_subdirectory(test)
endif()
if(SIPLASPLAS_BUILD_EXAMPLES)
    add_subdirectory(examples)
endif()
if(SIPLASPLAS_BUILD_DOCS)<commit_msg>[#63] Build tests and examples by default. Update version number<commit_after>project(siplasplas)
cmake_minimum_required(VERSION 2.8)

list(APPEND CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/3rdParty ${CMAKE_SOURCE_DIR}/cmake)

if(NOT CMAKE_BUILD_TYPE)
    set(CMAKE_BUILD_TYPE Debug)
endif()

set(SIPLASPLAS_VERSION_MAJOR 0)
set(SIPLASPLAS_VERSION_MINOR 0)
set(SIPLASPLAS_VERSION_PATCH 1)

set(SIPLASPLAS_DRLPARSER_PYTHON_VERSION 2.7)
set(SIPLASPLAS_BUILDING_FROM_SOURCES TRUE CACHE INTERNAL "")
set(SIPLASPLAS_ROOT "${CMAKE_SOURCE_DIR}")

include(cmake/deftargets.cmake)
include(cmake/install.cmake)
include(cmake/git.cmake)

option(SIPLASPLAS_VERBOSE_CONFIG "Run siplasplas configuration with detailed output" OFF)
option(SIPLASPLAS_BUILD_TESTS    "Build tests"    ON)
option(SIPLASPLAS_BUILD_EXAMPLES "Build examples" ON)
option(SIPLASPLAS_BUILD_DOCS     "Build doxygen documentation" OFF)
option(SIPLASPLAS_DEPLOY_DOCS    "Generate target to deploy branch docs to website" OFF)
option(SIPLASPLAS_CI_BUILD                        "siplasplas running on continuous integration build" FALSE)
option(SIPLASPLAS_INSTALL_DRLPARSER_DEPENDENCIES  "Automatically install DRLParser dependencies" ON)
option(SIPLASPLAS_DOWNLOAD_LIBCLANG               "Download libclang from llvm mirror instead of using system LLVM installation" OFF)
option(SIPLASPLAS_COPY_DLL_DEPENDENCIES "Copy dll dependencies to the dependant target binary dir" ON)
option(SIPLASPLAS_USE_SYSTEM_SFML       "Use SFML system distribution instead of build from sources" OFF)
option(SIPLASPLAS_ENABLE_VALGRIND "Enable memory check of executable targets" OFF)
option(SIPLASPLAS_ENABLE_ASSERTS "Force assertions, which are disabled by default on Release build" OFF)
option(SIPLASPLAS_DUMP_ERRORS "Dump error logs after running an executable. Implies SIPLASPLAS_CLEAR_LOGS" ON)
option(SIPLASPLAS_IMGUI_SFML_EXAMPLES_ENABLED "Enable examples using imgui and SFML" OFF)
option(SIPLASPLAS_VERBOSE_DRLPARSER "Run reflection parser with detailed diagnostics" OFF)

include(cmake/siplasplas.cmake)

add_subdirectory(cmake)
add_subdirectory(3rdParty)
add_subdirectory(src)

if(SIPLASPLAS_BUILD_TESTS)
    enable_testing()
    add_subdirectory(test)
endif()
if(SIPLASPLAS_BUILD_EXAMPLES)
    add_subdirectory(examples)
endif()
if(SIPLASPLAS_BUILD_DOCS)
{'fraction_non_alphanumeric': 0.06427470834250495, 'fraction_numerical': 0.004402377283733216, 'mean_word_length': 7.461824953445065, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, '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': '5673556', 'n_tokens_mistral': 1689, 'n_tokens_neox': 1601, 'n_words': 344}