<commit_before>project(org_blueberry_osgi)

MACRO_CREATE_CTK_PLUGIN(
  EXPORT_DIRECTIVE BERRY_OSGI
  EXPORTED_INCLUDE_SUFFIXES src src/application src/event src/service
  )

target_link_libraries(${PLUGIN_TARGET} PUBLIC Poco::Foundation Poco::Util Poco::XML)

# Set compiler flags
target_compile_definitions(${PLUGIN_TARGET} PUBLIC "$<$<PLATFORM_ID:Windows>:POCO_NO_UNWINDOWS;WIN32_LEAN_AND_MEAN>")

if(MITK_USE_Qt5)
  target_link_libraries(${PLUGIN_TARGET} PRIVATE Concurrent Gui Sql)
endif()

add_executable(${OSGI_APP} MACOSX_BUNDLE "src/application/berryMain.cpp")

target_link_libraries(${OSGI_APP} PRIVATE ${PROJECT_NAME} mbilog)
if(_ctk_test_plugins)
  add_dependencies(${OSGI_APP} ${_ctk_test_plugins})
  add_dependencies(BlueBerry ${OSGI_APP})
  set_property(TARGET ${OSGI_APP} APPEND PROPERTY LABELS BlueBerry)
endif()

configure_file(src/application/solstice.ini
               ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/${OSGI_APP}.ini)


add_executable(${OSGI_UI_APP} MACOSX_BUNDLE "src/application/berryMainUI.cpp")

if(MITK_USE_Qt5)
  target_link_libraries(${OSGI_UI_APP} PRIVATE Widgets)
endif()<commit_msg>Fixed some BlueBerry Qt5 include issues<commit_after>project(org_blueberry_osgi)

MACRO_CREATE_CTK_PLUGIN(
  EXPORT_DIRECTIVE BERRY_OSGI
  EXPORTED_INCLUDE_SUFFIXES src src/application src/event src/service
  )

target_link_libraries(${PLUGIN_TARGET} PUBLIC Poco::Foundation Poco::Util Poco::XML)

# Set compiler flags
target_compile_definitions(${PLUGIN_TARGET} PUBLIC "$<$<PLATFORM_ID:Windows>:POCO_NO_UNWINDOWS;WIN32_LEAN_AND_MEAN>")

if(MITK_USE_Qt5)
  target_link_libraries(${PLUGIN_TARGET} PRIVATE Qt5::Concurrent Qt5::Gui Qt5::Sql)
endif()

add_executable(${OSGI_APP} MACOSX_BUNDLE "src/application/berryMain.cpp")

target_link_libraries(${OSGI_APP} PRIVATE ${PROJECT_NAME} mbilog)
if(_ctk_test_plugins)
  add_dependencies(${OSGI_APP} ${_ctk_test_plugins})
  add_dependencies(BlueBerry ${OSGI_APP})
  set_property(TARGET ${OSGI_APP} APPEND PROPERTY LABELS BlueBerry)
endif()

configure_file(src/application/solstice.ini
               ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/${OSGI_APP}.ini)


add_executable(${OSGI_UI_APP} MACOSX_BUNDLE "src/application/berryMainUI.cpp")

if(MITK_USE_Qt5)
  target_link_libraries(${OSGI_UI_APP} PRIVATE Qt5::Widgets)
endif()
{'fraction_non_alphanumeric': 0.10817941952506596, 'fraction_numerical': 0.005716798592788039, 'mean_word_length': 8.891304347826088, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '7654083', 'n_tokens_mistral': 906, 'n_tokens_neox': 879, 'n_words': 116}