Changeset View
Changeset View
Standalone View
Standalone View
debuggers/common/CMakeLists.txt
Show All 27 Lines | 26 | set(debuggercommon_SRCS | |||
---|---|---|---|---|---|
28 | dialogs/processselection.cpp | 28 | dialogs/processselection.cpp | ||
29 | ) | 29 | ) | ||
30 | endif() | 30 | endif() | ||
31 | 31 | | |||
32 | ki18n_wrap_ui(debuggercommon_SRCS | 32 | ki18n_wrap_ui(debuggercommon_SRCS | ||
33 | dialogs/selectcoredialog.ui | 33 | dialogs/selectcoredialog.ui | ||
34 | ) | 34 | ) | ||
35 | 35 | | |||
36 | # Use old behavior (ignore the visibility properties for static libraries, object | ||||
37 | # libraries, and executables without exports) on target kdevdebuggercommon (so the | ||||
38 | # default public visibility is used). | ||||
39 | # kdevdebuggercommon is used by target test_gdb which is added by ecm_add_test, | ||||
40 | # which doesn't set CMP0063 so old behavior is used. | ||||
41 | # If kdevdebuggercommon honors visibility properties (set to hidden), it will cause | ||||
42 | # linker warnings about direct access to global weak symbol when link against test_gdb | ||||
43 | cmake_policy(SET CMP0063 OLD) | ||||
44 | | ||||
36 | add_library(kdevdebuggercommon STATIC ${debuggercommon_SRCS}) | 45 | add_library(kdevdebuggercommon STATIC ${debuggercommon_SRCS}) | ||
37 | target_link_libraries(kdevdebuggercommon | 46 | target_link_libraries(kdevdebuggercommon | ||
38 | PUBLIC | 47 | PUBLIC | ||
39 | KDev::Debugger | 48 | KDev::Debugger | ||
40 | PRIVATE | 49 | PRIVATE | ||
41 | Qt5::Core | 50 | Qt5::Core | ||
42 | Qt5::Gui | 51 | Qt5::Gui | ||
43 | KDev::Util | 52 | KDev::Util | ||
Show All 10 Lines |