diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2021-11-13 19:53:11 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2021-11-13 19:53:22 +0900 |
commit | 98b37ff3b1d307add5fe3f9e1f9c7923831debd4 (patch) | |
tree | f99bdc8ee40242e1baba1d09b2522e1344098c5d /gui/CMakeLists.txt | |
parent | 8f1d08da58bce00523534cf39807732f7dee91ce (diff) | |
download | polkit-tqt-98b37ff3b1d307add5fe3f9e1f9c7923831debd4.tar.gz polkit-tqt-98b37ff3b1d307add5fe3f9e1f9c7923831debd4.zip |
Conversion of 'gui' library module.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'gui/CMakeLists.txt')
-rw-r--r-- | gui/CMakeLists.txt | 41 |
1 files changed, 17 insertions, 24 deletions
diff --git a/gui/CMakeLists.txt b/gui/CMakeLists.txt index 7db12e36e..2a071e12c 100644 --- a/gui/CMakeLists.txt +++ b/gui/CMakeLists.txt @@ -10,8 +10,10 @@ ################################################# include_directories( - ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_SOURCE_DIR} + ${CMAKE_SOURCE_DIR}/core ${CMAKE_CURRENT_SOURCE_DIR} + ${CMAKE_CURRENT_BINARY_DIR} ${TQT_INCLUDE_DIRS} ) @@ -22,38 +24,29 @@ link_directories( ##### install headers ########################### -install( FILES - dummy-gui.h - DESTINATION ${INCLUDE_INSTALL_DIR} ) +install( + FILES + polkit-tqt-gui-action.h + polkit-tqt-gui-actionbutton.h + polkit-tqt-gui-actionbuttons.h + DESTINATION ${INCLUDE_INSTALL_DIR} +) ##### polkit-tqt-gui (shared) ######################### tde_add_library( polkit-tqt-gui SHARED AUTOMOC - SOURCES ${polkit_tqt_MOCS} - dummy-gui.cpp + SOURCES ${polkit_tqt_gui_MOCS} + polkit-tqt-gui-action.cpp + polkit-tqt-gui-actionbutton.cpp + polkit-tqt-gui-actionbuttons.cpp VERSION 0.0.0 - LINK ${TQT_LIBRARIES} + LINK ${TQT_LIBRARIES} ${POLKIT_LIBRARIES} polkit-tqt-core-shared DESTINATION ${LIB_INSTALL_DIR} ) -## set(polkit_tqt_gui_SRCS -## polkittqt1-gui-action.cpp -## polkittqt1-gui-actionbutton.cpp -## polkittqt1-gui-actionbuttons.cpp -## ) -## -## target_link_libraries(polkit-tqt-gui-1 -## ${TQT_TQTCORE_LIBRARY} -## ${TQT_TQTGUI_LIBRARY} -## ${TQT_TQTDBUS_LIBRARY} -## ${POLKIT_LIBRARIES} -## polkit-tqt-core-1 -## ) -## ## set_target_properties(polkit-tqt-gui-1 PROPERTIES VERSION ${POLKITTQT-1_LIBRARY_VERSION} ## SOVERSION ${POLKITTQT-1_ABI_VERSION} -## DEFINE_SYMBOL MAKE_POLKITTQT1_LIB) -## -## install(TARGETS polkit-tqt-gui-1 ${INSTALL_TARGETS_DEFAULT_ARGS}) +## DEFINE_SYMBOL MAKE_POLKIT_TQT_LIB) +## |