<commit_before>include_directories(
  ${CMAKE_CURRENT_SOURCE_DIR}/../..
  ${CMAKE_CURRENT_SOURCE_DIR}
  ${CMAKE_CURRENT_BINARY_DIR}
  )


set(test_app_UIS mainwin.ui)
set(test_app_MOC_HDRS
  mainwin.hpp
  my_custom_button.hpp
  script_ext.hpp
  )
if ("${QT_VARIANT}" STREQUAL "qt4")
  qt4_wrap_ui(test_app_UIS_H ${test_app_UIS})
  qt4_wrap_cpp(test_app_MOC_SRCS ${test_app_MOC_HDRS})
elseif ("${QT_VARIANT}" STREQUAL "qt5")
  qt5_wrap_ui(test_app_UIS_H ${test_app_UIS})
  qt5_wrap_cpp(test_app_MOC_SRCS ${test_app_MOC_HDRS})
endif ()

add_executable(test_app
  ${test_app_UIS_H}
  ${test_app_MOC_SRCS}
  ${test_app_MOC_HDRS}
  my_custom_button.cpp
  mainwin.cpp
  script_ext.cpp
  main.cpp
  )
target_link_libraries(test_app qtmonkey_agent ${QT_LIBRARIES})<commit_msg>fix bug with mac os x menu enabling without refocusing<commit_after>include_directories(
  ${CMAKE_CURRENT_SOURCE_DIR}/../..
  ${CMAKE_CURRENT_SOURCE_DIR}
  ${CMAKE_CURRENT_BINARY_DIR}
  )


set(test_app_UIS mainwin.ui)
set(test_app_MOC_HDRS
  mainwin.hpp
  my_custom_button.hpp
  script_ext.hpp
  )
if ("${QT_VARIANT}" STREQUAL "qt4")
  qt4_wrap_ui(test_app_UIS_H ${test_app_UIS})
  qt4_wrap_cpp(test_app_MOC_SRCS ${test_app_MOC_HDRS})
elseif ("${QT_VARIANT}" STREQUAL "qt5")
  qt5_wrap_ui(test_app_UIS_H ${test_app_UIS})
  qt5_wrap_cpp(test_app_MOC_SRCS ${test_app_MOC_HDRS})
endif ()

set(test_app_SRCS
  ${test_app_UIS_H}
  ${test_app_MOC_SRCS}
  ${test_app_MOC_HDRS}
  my_custom_button.cpp
  mainwin.cpp
  script_ext.cpp
  main.cpp
  )
if (${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
    add_executable(test_app MACOSX_BUNDLE ${test_app_SRCS})
else ()
    add_executable(test_app ${test_app_SRCS})
endif ()
target_link_libraries(test_app qtmonkey_agent ${QT_LIBRARIES})
{'fraction_non_alphanumeric': 0.11341393206678181, 'fraction_numerical': 0.0069084628670120895, 'mean_word_length': 6.656387665198238, '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': '1757939', 'n_tokens_mistral': 827, 'n_tokens_neox': 797, 'n_words': 95}