<commit_before>project(colorgrab)

cmake_minimum_required(VERSION 2.8.11)

find_package(wxWidgets COMPONENTS core base xml xrc adv REQUIRED)

include(${wxWidgets_USE_FILE})

include_directories(src)

file(GLOB_RECURSE SRC_LIST src/*.cpp)

add_executable(${PROJECT_NAME} ${SRC_LIST})

target_link_libraries(${PROJECT_NAME} ${wxWidgets_LIBRARIES})<commit_msg>Update cmake file for building on Windows.<commit_after>project(colorgrab)

cmake_minimum_required(VERSION 2.8.11)

find_package(wxWidgets COMPONENTS core base xml xrc adv REQUIRED)

include(${wxWidgets_USE_FILE})

include_directories(src)

file(GLOB_RECURSE SRC_LIST src/*.cpp)

if(WIN32)
  set(wxWidgets_USE_STATIC true)
  set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS_RELEASE} -mwindows")
  set(SRC_LIST ${SRC_LIST} src/win_resources.rc)
  set(wxWidgets_CONFIG_OPTIONS --static=yes)
  add_executable(${PROJECT_NAME} WIN32 ${SRC_LIST})
else()
  add_executable(${PROJECT_NAME} ${SRC_LIST})
endif()


target_link_libraries(${PROJECT_NAME} ${wxWidgets_LIBRARIES})
{'fraction_non_alphanumeric': 0.11363636363636363, 'fraction_numerical': 0.011857707509881422, 'mean_word_length': 8.931372549019608, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, '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': '2074813', 'n_tokens_mistral': 406, 'n_tokens_neox': 382, 'n_words': 61}