<commit_before>cmake_minimum_required(VERSION 3.1.2)


string(FIND ${CMAKE_GENERATOR} "Win64" POS_X64)
if(POS_X64 GREATER -1)
	set(IS64 "TRUE")
	set(PLATFORM_DIR "win64")
else(POS_X64 GREATER -1)
	set(IS64 "FALSE")
	set(PLATFORM_DIR "win32")
endif(POS_X64 GREATER -1)

MESSAGE( STATUS "Generator: " ${CMAKE_GENERATOR} )
MESSAGE( STATUS "64bit: " ${IS64} )

project(LumixEngine)

set(LUMIX_ROOT_PATH ${PROJECT_SOURCE_DIR}/../)
set(SRC_PATH ${LUMIX_ROOT_PATH}src/)
set(EXTERNAL_PATH ${LUMIX_ROOT_PATH}external/)
set(CONFIG_DIR $<$<CONFIG:Debug>:Debug>$<$<NOT:$<CONFIG:Debug>>:Release>)

###################### ENGINE ######################

set(ENGINE_ROOT_PATH ${SRC_PATH}engine/)

file(GLOB CORE_ROOT_FILES ${ENGINE_ROOT_PATH}core/*.cpp ${ENGINE_ROOT_PATH}core/*.h)<commit_msg>treat warnings as errors<commit_after>cmake_minimum_required(VERSION 3.1.2)


string(FIND ${CMAKE_GENERATOR} "Win64" POS_X64)
if(POS_X64 GREATER -1)
	set(IS64 "TRUE")
	set(PLATFORM_DIR "win64")
else(POS_X64 GREATER -1)
	set(IS64 "FALSE")
	set(PLATFORM_DIR "win32")
endif(POS_X64 GREATER -1)

MESSAGE( STATUS "Generator: " ${CMAKE_GENERATOR} )
MESSAGE( STATUS "64bit: " ${IS64} )

project(LumixEngine)

SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /WX")
set(LUMIX_ROOT_PATH ${PROJECT_SOURCE_DIR}/../)
set(SRC_PATH ${LUMIX_ROOT_PATH}src/)
set(EXTERNAL_PATH ${LUMIX_ROOT_PATH}external/)
set(CONFIG_DIR $<$<CONFIG:Debug>:Debug>$<$<NOT:$<CONFIG:Debug>>:Release>)

###################### ENGINE ######################

set(ENGINE_ROOT_PATH ${SRC_PATH}engine/)

file(GLOB CORE_ROOT_FILES ${ENGINE_ROOT_PATH}core/*.cpp ${ENGINE_ROOT_PATH}core/*.h)
{'fraction_non_alphanumeric': 0.2085661080074488, 'fraction_numerical': 0.03476101800124146, 'mean_word_length': 8.595238095238095, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 13, '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': '7522258', 'n_tokens_mistral': 720, 'n_tokens_neox': 647, 'n_words': 99}