<commit_before>
PROJECT( MarbleNavigatorPlugin )
cmake_minimum_required(VERSION 2.4.0)

FIND_PACKAGE(Qt4 REQUIRED)

INCLUDE_DIRECTORIES(
 ${CMAKE_SOURCE_DIR}/src/plugins/navigator
 ${CMAKE_BINARY_DIR}/src/plugins/navigator
 ${QT_INCLUDE_DIR}
 ${QT_QTDESIGNER_INCLUDE_DIR}
)
INCLUDE(${QT_USE_FILE})

set(marblenavigator_SRCS
           MarbleNavigator.cpp
           MarbleNavigatorPlugin.cpp
)
MESSAGE( STATUS ${marblenavigator_SRCS} )

set(marblenavigator_HDRS
           MarbleNavigator.h
           MarbleNavigatorPlugin.h
)
MESSAGE( STATUS ${marblenavigator_HDRS} )

set(marblenavigator_UI
           MarbleNavigator.ui
)
MESSAGE( STATUS ${marblenavigator_UI} )

qt4_add_resources(marblenavigator_SRCS ../../marble.qrc)

ADD_DEFINITIONS(${QT_DEFINITIONS})
ADD_DEFINITIONS(-DQT_PLUGIN)
ADD_DEFINITIONS(-DQT_NO_DEBUG)
ADD_DEFINITIONS(-DQT_SHARED)
ADD_DEFINITIONS(-DQT_DLL)

if (QTONLY)
  qt4_wrap_ui(marblenavigator_SRCS ${marblenavigator_UI})
  qt4_automoc(${marblenavigator_SRCS})
  kde4_add_library(MarbleNavigatorPlugin SHARED ${marblenavigator_SRCS})
  target_link_libraries (MarbleNavigatorPlugin ${QT_QTCORE_LIBRARY} ${QT_QTDBUS_LIBRARY} ${QT_QTGUI_LIBRARY} ${QT_QTXML_LIBRARY} ${QT_QTSVG_LIBRARY} ${QT_QTNETWORK_LIBRARY} ${QT_QTMAIN_LIBRARY})
else (QTONLY)
  kde4_add_ui_files(marblenavigator_SRCS ${marblenavigator_UI})<commit_msg>don't use a kde macro in qt mode :)<commit_after>
PROJECT( MarbleNavigatorPlugin )
cmake_minimum_required(VERSION 2.4.0)

FIND_PACKAGE(Qt4 REQUIRED)

INCLUDE_DIRECTORIES(
 ${CMAKE_SOURCE_DIR}/src/plugins/navigator
 ${CMAKE_BINARY_DIR}/src/plugins/navigator
 ${QT_INCLUDE_DIR}
 ${QT_QTDESIGNER_INCLUDE_DIR}
)
INCLUDE(${QT_USE_FILE})

set(marblenavigator_SRCS
           MarbleNavigator.cpp
           MarbleNavigatorPlugin.cpp
)
MESSAGE( STATUS ${marblenavigator_SRCS} )

set(marblenavigator_HDRS
           MarbleNavigator.h
           MarbleNavigatorPlugin.h
)
MESSAGE( STATUS ${marblenavigator_HDRS} )

set(marblenavigator_UI
           MarbleNavigator.ui
)
MESSAGE( STATUS ${marblenavigator_UI} )

qt4_add_resources(marblenavigator_SRCS ../../marble.qrc)

ADD_DEFINITIONS(${QT_DEFINITIONS})
ADD_DEFINITIONS(-DQT_PLUGIN)
ADD_DEFINITIONS(-DQT_NO_DEBUG)
ADD_DEFINITIONS(-DQT_SHARED)
ADD_DEFINITIONS(-DQT_DLL)

if (QTONLY)
  qt4_wrap_ui(marblenavigator_SRCS ${marblenavigator_UI})
  qt4_automoc(${marblenavigator_SRCS})
  add_library(MarbleNavigatorPlugin SHARED ${marblenavigator_SRCS})
  target_link_libraries (MarbleNavigatorPlugin ${QT_QTCORE_LIBRARY} ${QT_QTDBUS_LIBRARY} ${QT_QTGUI_LIBRARY} ${QT_QTXML_LIBRARY} ${QT_QTSVG_LIBRARY} ${QT_QTNETWORK_LIBRARY} ${QT_QTMAIN_LIBRARY})
else (QTONLY)
  kde4_add_ui_files(marblenavigator_SRCS ${marblenavigator_UI})
{'fraction_non_alphanumeric': 0.10107367641614216, 'fraction_numerical': 0.006293965198074787, 'mean_word_length': 6.92375366568915, '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': '2121300', 'n_tokens_mistral': 1195, 'n_tokens_neox': 1096, 'n_words': 123}