Changeset View
Changeset View
Standalone View
Standalone View
plugins/classbrowser/CMakeLists.txt
1 | add_definitions(-DTRANSLATION_DOMAIN=\"kdevclassbrowser\") | 1 | add_definitions(-DTRANSLATION_DOMAIN=\"kdevclassbrowser\") | ||
---|---|---|---|---|---|
2 | include_directories( | 2 | include_directories( | ||
3 | ${Boost_INCLUDE_DIRS} | 3 | ${Boost_INCLUDE_DIRS} | ||
4 | ) | 4 | ) | ||
5 | 5 | | |||
6 | # workaround a boost bug in 1.37 and 1.38 that causes link failure when exceptions are disabled | 6 | # workaround a boost bug in 1.37 and 1.38 that causes link failure when exceptions are disabled | ||
7 | # see https://svn.boost.org/trac/boost/ticket/2947 for details | 7 | # see https://svn.boost.org/trac/boost/ticket/2947 for details | ||
8 | if( ${Boost_MAJOR_VERSION}.${Boost_MINOR_VERSION}.${Boost_PATCH_VERSION} VERSION_GREATER 1.36.1 ) | 8 | if( ${Boost_MAJOR_VERSION}.${Boost_MINOR_VERSION}.${Boost_PATCH_VERSION} VERSION_GREATER 1.36.1 ) | ||
9 | kde_enable_exceptions() | 9 | kde_enable_exceptions() | ||
10 | endif() | 10 | endif() | ||
11 | 11 | | |||
12 | set(kdevclassbrowser_PART_SRCS | 12 | set(kdevclassbrowser_PART_SRCS | ||
13 | classbrowserplugin.cpp | 13 | classbrowserplugin.cpp | ||
14 | classwidget.cpp | 14 | classwidget.cpp | ||
15 | classtree.cpp | 15 | classtree.cpp | ||
16 | ) | 16 | ) | ||
17 | ecm_qt_declare_logging_category(kdevclassbrowser_PART_SRCS | ||||
18 | HEADER debug.h | ||||
19 | IDENTIFIER PLUGIN_CLASSBROWSER | ||||
20 | CATEGORY_NAME "kdevplatform.plugins.classbrowser" | ||||
21 | ) | ||||
17 | qt5_add_resources(kdevclassbrowser_PART_SRCS kdevclassbrowser.qrc) | 22 | qt5_add_resources(kdevclassbrowser_PART_SRCS kdevclassbrowser.qrc) | ||
18 | kdevplatform_add_plugin(kdevclassbrowser JSON kdevclassbrowser.json SOURCES ${kdevclassbrowser_PART_SRCS}) | 23 | kdevplatform_add_plugin(kdevclassbrowser JSON kdevclassbrowser.json SOURCES ${kdevclassbrowser_PART_SRCS}) | ||
19 | target_link_libraries(kdevclassbrowser KF5::TextEditor KDev::Util KDev::Language KDev::Interfaces) | 24 | target_link_libraries(kdevclassbrowser KF5::TextEditor KDev::Util KDev::Language KDev::Interfaces) |