<commit_before>#
# project: yakc
#
cmake_minimum_required(VERSION 2.8)

# include the fips main cmake file
get_filename_component(FIPS_ROOT_DIR "../fips" ABSOLUTE)
include("${FIPS_ROOT_DIR}/cmake/fips.cmake")

option(YAKC_UI "Include the debugger UI" ON)
if (YAKC_UI)
    add_definitions("-DYAKC_UI=1")
endif()

set(SOLOUD_LIBMODPLUG OFF CACHE BOOL "Do not use libmodplug")

fips_setup()
fips_project(yakc)

if (FIPS_MSVC)
    add_definitions(-D_CRT_SECURE_NO_WARNINGS)
endif()

# manual imports
fips_ide_group("Oryol")
fips_import_oryol_Core()
fips_import_oryol_Gfx()
fips_import_oryol_IO()
fips_import_oryol_HTTP()
fips_import_oryol_Input()
fips_import_oryol_imgui_IMUI()
fips_import_oryol_Resource()
fips_import_oryol_Assets()
fips_ide_group("Libs")
fips_import_fips_zlib_zlib()
if (ORYOL_OPENGL AND NOT FIPS_RASPBERRYPI)
    fips_import_fips_glfw_glfw3()
endif()
fips_import_fips_imgui_imgui()
fips_import_fips_soloud_soloud()
fips_import_fips_unittestpp_unittestpp()
if (FIPS_PROFILING)
    fips_import_fips_remotery_Remotery()
endif()
fips_ide_group("")

fips_include_directories(src)
fips_add_subdirectory(src/roms)
fips_add_subdirectory(src/core)
fips_add_subdirectory(src/z80)
fips_add_subdirectory(src/kc85)
fips_add_subdirectory(src/z1013)
fips_add_subdirectory(src/emu)
fips_add_subdirectory(src/test)
if (YAKC_UI)
    fips_add_subdirectory(src/ui)
endif()
fips_add_subdirectory(src/yakc)
fips_finish()


<commit_msg>cmake: moved all yakc source into its own IDE group<commit_after>#
# project: yakc
#
cmake_minimum_required(VERSION 2.8)

# include the fips main cmake file
get_filename_component(FIPS_ROOT_DIR "../fips" ABSOLUTE)
include("${FIPS_ROOT_DIR}/cmake/fips.cmake")

option(YAKC_UI "Include the debugger UI" ON)
if (YAKC_UI)
    add_definitions("-DYAKC_UI=1")
endif()

set(SOLOUD_LIBMODPLUG OFF CACHE BOOL "Do not use libmodplug")

fips_setup()
fips_project(yakc)

if (FIPS_MSVC)
    add_definitions(-D_CRT_SECURE_NO_WARNINGS)
endif()

# manual imports
fips_ide_group("Oryol")
fips_import_oryol_Core()
fips_import_oryol_Gfx()
fips_import_oryol_IO()
fips_import_oryol_HTTP()
fips_import_oryol_Input()
fips_import_oryol_imgui_IMUI()
fips_import_oryol_Resource()
fips_import_oryol_Assets()
fips_ide_group("Libs")
fips_import_fips_zlib_zlib()
if (ORYOL_OPENGL AND NOT FIPS_RASPBERRYPI)
    fips_import_fips_glfw_glfw3()
endif()
fips_import_fips_imgui_imgui()
fips_import_fips_soloud_soloud()
fips_import_fips_unittestpp_unittestpp()
if (FIPS_PROFILING)
    fips_import_fips_remotery_Remotery()
endif()

fips_ide_group("YAKC")
fips_include_directories(src)
fips_add_subdirectory(src/roms)
fips_add_subdirectory(src/core)
fips_add_subdirectory(src/z80)
fips_add_subdirectory(src/kc85)
fips_add_subdirectory(src/z1013)
fips_add_subdirectory(src/emu)
fips_add_subdirectory(src/test)
if (YAKC_UI)
    fips_add_subdirectory(src/ui)
endif()
fips_add_subdirectory(src/yakc)
fips_finish()



{'fraction_non_alphanumeric': 0.09758620689655173, 'fraction_numerical': 0.008275862068965517, 'mean_word_length': 9.587591240875913, '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': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4758725', 'n_tokens_mistral': 1284, 'n_tokens_neox': 1263, 'n_words': 171}