<commit_before>project(netcatpaste)
cmake_minimum_required(VERSION 3.0)

set(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake/Modules/" ${CMAKE_MODULE_PATH})

set(CMAKE_AUTOMOC ON)
set(CMAKE_INCLUDE_CURRENT_DIR ON)

find_package(Qt5Widgets REQUIRED)
find_package(Qt5Network REQUIRED)
find_package(QCA2 REQUIRED)

link_directories( ${QCA2_LIBRARY_DIRS} )
include_directories( ${QCA2_INCLUDE_DIR} )
add_definitions( -DQCA2 )

#include_directories(${CMAKE_CURRENT_BINARY_DIR})
#include_directories(${Qt5Widgets_QT_INCLUDES})
#include_directories(${Qt5Network_QT_INCLUDES})

#add_definitions(${Qt5Widgets_DEFINITIONS})
#add_definitions(${Qt5Network_DEFINITIONS})

#set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS}
#    ${Qt5Widgets_EXECUTABLE_COMPILE_FLAGS} ${Qt5Network_EXECUTABLE_COMPILE_FLAGS}")

set(netcatpaste_SRCS netcatclient.cpp netcatpaste.cpp main.cpp)

add_executable(netcatpaste ${netcatpaste_SRCS})

#qt5_use_package(netcatpaste Widgets Network)
target_link_libraries(netcatpaste Qt5::Widgets Qt5::Network ${QCA2_LIBRARIES})<commit_msg>build system: link against qtcore instead qtwidgets<commit_after>project(netcatpaste)
cmake_minimum_required(VERSION 3.0)

set(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake/Modules/" ${CMAKE_MODULE_PATH})

set(CMAKE_AUTOMOC ON)
set(CMAKE_INCLUDE_CURRENT_DIR ON)

find_package(Qt5Core REQUIRED)
find_package(Qt5Network REQUIRED)
find_package(QCA2 REQUIRED)

link_directories( ${QCA2_LIBRARY_DIRS} )
include_directories( ${QCA2_INCLUDE_DIR} )
add_definitions( -DQCA2 )

set(netcatpaste_SRCS netcatclient.cpp netcatpaste.cpp main.cpp)

add_executable(netcatpaste ${netcatpaste_SRCS})

target_link_libraries(netcatpaste Qt5::Core Qt5::Network ${QCA2_LIBRARIES})
{'fraction_non_alphanumeric': 0.10361160449970397, 'fraction_numerical': 0.017169923031379514, 'mean_word_length': 12.629032258064516, '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': '7506324', 'n_tokens_mistral': 704, 'n_tokens_neox': 650, 'n_words': 81}