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

aux_source_directory(. SRC_LIST)
aux_source_directory(MathLib SRC_LIST)
aux_source_directory(ficl-4.1.0 SRC_LIST)
aux_source_directory(ficl-4.1.0/ficlplatform SRC_LIST)
aux_source_directory(io SRC_LIST)
aux_source_directory(lpeg-0.12 SRC_LIST)
aux_source_directory(lua-5.1.4/src SRC_LIST)
aux_source_directory(Neural SRC_LIST)
aux_source_directory(OpenGlut/src SRC_LIST)
aux_source_directory(s7 SRC_LIST)
aux_source_directory(Voxel SRC_LIST)

list(REMOVE_ITEM SRC_LIST "lua-5.1.4/src/luac.c")
list(REMOVE_ITEM SRC_LIST "lua-5.1.4/src/lua.c")
list(REMOVE_ITEM SRC_LIST "ficl-4.1.0/ficlplatform/unix.c")
list(REMOVE_ITEM SRC_LIST "s7/ffitest.c")
list(REMOVE_ITEM SRC_LIST "s7/glistener.c")

include_directories(./MathLib/)
include_directories(./World/)
include_directories(./OpenGlut/include/)
include_directories(./lua-5.1.4/src/)
include_directories(./Voxel/)
include_directories(./Neural/)
include_directories(./freetype-2.3.5/include/)
include_directories(./fmodapi375win/inc/)

add_definitions(-D__PRAXIS_WINDOWS__)
add_definitions(-D__WINDOWS_MM__)
add_definitions(-DFREETYPE2_STATIC)
add_definitions(-D_CRT_SECURE_NO_WARNINGS)
add_definitions(-DWIN32)

add_library(fmod     STATIC IMPORTED)
add_library(freetype STATIC IMPORTED)

set_property(TARGET fmod      PROPERTY IMPORTED_LOCATION ${CMAKE_CURRENT_SOURCE_DIR}/fmodapi375win/lib/fmodvc.lib)
set_property(TARGET freetype  PROPERTY IMPORTED_LOCATION ${CMAKE_CURRENT_SOURCE_DIR}/freetype-2.3.5/objs/freetype235.lib)

set(CMAKE_CXX_STANDARD_LIBRARIES "${CMAKE_CXX_STANDARD_LIBRARIES} shell32.lib wsock32.lib")

add_executable(${PROJECT_NAME} ${SRC_LIST})

target_link_libraries(${PROJECT_NAME} fmod)
target_link_libraries(${PROJECT_NAME} freetype)
<commit_msg>Updated CMakeLists.txt, praxis now compiles with cmake generated sln again<commit_after>project(praxis)
cmake_minimum_required(VERSION 2.8)

aux_source_directory(. SRC_LIST)
aux_source_directory(MathLib SRC_LIST)
aux_source_directory(pforth SRC_LIST)
aux_source_directory(ficl-4.1.0 SRC_LIST)
aux_source_directory(ficl-4.1.0/ficlplatform SRC_LIST)
aux_source_directory(io SRC_LIST)
aux_source_directory(lpeg-1.0.0 SRC_LIST)
aux_source_directory(lua-5.2.4/src SRC_LIST)
aux_source_directory(Neural SRC_LIST)
aux_source_directory(OpenGlut/src SRC_LIST)
aux_source_directory(glew/source SRC_LIST)
aux_source_directory(s7 SRC_LIST)
aux_source_directory(Voxel SRC_LIST)

list(REMOVE_ITEM SRC_LIST "lua-5.2.4/src/luac.c")
list(REMOVE_ITEM SRC_LIST "lua-5.2.4/src/lua.c")
list(REMOVE_ITEM SRC_LIST "ficl-4.1.0/ficlplatform/unix.c")
list(REMOVE_ITEM SRC_LIST "s7/ffitest.c")
list(REMOVE_ITEM SRC_LIST "s7/glistener.c")

include_directories(./)
include_directories(./MathLib/)
include_directories(./World/)
include_directories(./OpenGlut/include/)
include_directories(./glew/include/)
include_directories(./lua-5.2.4/src/)
include_directories(./Voxel/)
include_directories(./Neural/)
include_directories(./freetype-2.3.5/include/)
include_directories(./fmodapi375win/inc/)

add_definitions(-D__PRAXIS_WINDOWS__)
add_definitions(-D__WINDOWS_MM__)
add_definitions(-DPF_SUPPORT_FP)
add_definitions(-D_ALLOW_KEYWORD_MACROS)
add_definitions(-DFREETYPE2_STATIC)
add_definitions(-D_CRT_SECURE_NO_WARNINGS)
add_definitions(-DWIN32)

add_library(fmod     STATIC IMPORTED)
add_library(freetype STATIC IMPORTED)

set_property(TARGET fmod      PROPERTY IMPORTED_LOCATION ${CMAKE_CURRENT_SOURCE_DIR}/fmodapi375win/lib/fmodvc.lib)
set_property(TARGET freetype  PROPERTY IMPORTED_LOCATION ${CMAKE_CURRENT_SOURCE_DIR}/freetype-2.3.5/objs/freetype235.lib)

set(CMAKE_CXX_STANDARD_LIBRARIES "${CMAKE_CXX_STANDARD_LIBRARIES} shell32.lib wsock32.lib")

add_executable(${PROJECT_NAME} ${SRC_LIST})

target_link_libraries(${PROJECT_NAME} fmod)
target_link_libraries(${PROJECT_NAME} freetype)

{'fraction_non_alphanumeric': 0.11238293444328824, 'fraction_numerical': 0.026534859521331947, 'mean_word_length': 8.493827160493828, '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': '5652074', 'n_tokens_mistral': 1599, 'n_tokens_neox': 1558, 'n_words': 175}