<commit_before>project(slack-gtk CXX)
cmake_minimum_required(VERSION 2.8)

include(FindPkgConfig)
pkg_check_modules(libsoup REQUIRED libsoup-2.4 libssl libcrypto)
include_directories(${libsoup_INCLUDE_DIRS})
link_directories(${libsoup_LIBRARY_DIRS})
link_libraries(${libsoup_LIBRARIES})

pkg_check_modules(jsoncpp REQUIRED jsoncpp)
include_directories(${jsoncpp_INCLUDE_DIRS})
link_directories(${jsoncpp_LIBRARY_DIRS})
link_libraries(${jsoncpp_LIBRARIES})

pkg_check_modules(gtk REQUIRED gtkmm-3.0)
include_directories(${gtk_INCLUDE_DIRS})
link_directories(${gtk_LIBRARY_DIRS})
link_libraries(${gtk_LIBRARIES})

link_libraries(pthread)

add_definitions(-std=c++11 -Wall -W)
set(CMAKE_CXX_FLAGS_RELEASE "-O3")
set(CMAKE_CXX_FLAGS_DEBUG "-Og -g")

include_directories("${CMAKE_SOURCE_DIR}/include")
set(SOURCES
  src/api_client.cc
  src/channel_row.cc
  src/main.cc
  src/main_window.cc
  src/message_entry.cc
  src/message_row.cc
  src/rtm_client.cc
  )
add_executable(slack-gtk ${SOURCES})

install(PROGRAMS slack-gtk DESTINATION bin)<commit_msg>Use `-O0` for clang compatibility<commit_after>project(slack-gtk CXX)
cmake_minimum_required(VERSION 2.8)

include(FindPkgConfig)
pkg_check_modules(libsoup REQUIRED libsoup-2.4 libssl libcrypto)
include_directories(${libsoup_INCLUDE_DIRS})
link_directories(${libsoup_LIBRARY_DIRS})
link_libraries(${libsoup_LIBRARIES})

pkg_check_modules(jsoncpp REQUIRED jsoncpp)
include_directories(${jsoncpp_INCLUDE_DIRS})
link_directories(${jsoncpp_LIBRARY_DIRS})
link_libraries(${jsoncpp_LIBRARIES})

pkg_check_modules(gtk REQUIRED gtkmm-3.0)
include_directories(${gtk_INCLUDE_DIRS})
link_directories(${gtk_LIBRARY_DIRS})
link_libraries(${gtk_LIBRARIES})

link_libraries(pthread)

add_definitions(-std=c++11 -Wall -W)
set(CMAKE_CXX_FLAGS_RELEASE "-O3")
set(CMAKE_CXX_FLAGS_DEBUG "-O0 -g")

include_directories("${CMAKE_SOURCE_DIR}/include")
set(SOURCES
  src/api_client.cc
  src/channel_row.cc
  src/main.cc
  src/main_window.cc
  src/message_entry.cc
  src/message_row.cc
  src/rtm_client.cc
  )
add_executable(slack-gtk ${SOURCES})

install(PROGRAMS slack-gtk DESTINATION bin)
{'fraction_non_alphanumeric': 0.11505681818181818, 'fraction_numerical': 0.00946969696969697, 'mean_word_length': 9.158653846153847, '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': '3895224', 'n_tokens_mistral': 906, 'n_tokens_neox': 822, 'n_words': 101}