diff options
author | gregory guy <g-gregory@gmx.fr> | 2018-08-11 09:09:44 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2018-09-01 19:02:09 +0200 |
commit | d9576addaa0ca9588e484dba09dacc236b41a332 (patch) | |
tree | 2bc59dfe549facc5db3e355b7c328404b72b5ed8 /lilo-config | |
parent | 5a68382903e8a21e43a50fa9f87b1968d3cb00b9 (diff) | |
download | tdeadmin-d9576addaa0ca9588e484dba09dacc236b41a332.tar.gz tdeadmin-d9576addaa0ca9588e484dba09dacc236b41a332.zip |
First bach of cmake files in order to convert tdeadmin
from autotools to cmake building system.
(cherry picked from commit 88073834d0052272dce61556b9508e66b84cd494)
Diffstat (limited to 'lilo-config')
-rw-r--r-- | lilo-config/CMakeLists.txt | 6 | ||||
-rw-r--r-- | lilo-config/common/CMakeLists.txt | 21 | ||||
-rw-r--r-- | lilo-config/common/tests/CMakeLists.txt | 1 | ||||
-rw-r--r-- | lilo-config/kde-qt-common/CMakeLists.txt | 22 | ||||
-rw-r--r-- | lilo-config/kde/CMakeLists.txt | 32 | ||||
-rw-r--r-- | lilo-config/qt/CMakeLists.txt | 21 |
6 files changed, 103 insertions, 0 deletions
diff --git a/lilo-config/CMakeLists.txt b/lilo-config/CMakeLists.txt new file mode 100644 index 0000000..43cb7b8 --- /dev/null +++ b/lilo-config/CMakeLists.txt @@ -0,0 +1,6 @@ +# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer + +add_subdirectory( common ) +add_subdirectory( kde ) +#add_subdirectory( qt ) +#add_subdirectory( kde-qt-common ) diff --git a/lilo-config/common/CMakeLists.txt b/lilo-config/common/CMakeLists.txt new file mode 100644 index 0000000..9db95db --- /dev/null +++ b/lilo-config/common/CMakeLists.txt @@ -0,0 +1,21 @@ +# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer + +include_directories( + ${CMAKE_BINARY_DIR} + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_CURRENT_SOURCE_DIR} + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} + ${TDE_LIB_DIR} +) + + +##### common (static) ########################### + +tde_add_library( common STATIC_PIC AUTOMOC + SOURCES String.cc Files.cc Disks.cc Config.cc lilo.cc +) diff --git a/lilo-config/common/tests/CMakeLists.txt b/lilo-config/common/tests/CMakeLists.txt new file mode 100644 index 0000000..89a876b --- /dev/null +++ b/lilo-config/common/tests/CMakeLists.txt @@ -0,0 +1 @@ +# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer diff --git a/lilo-config/kde-qt-common/CMakeLists.txt b/lilo-config/kde-qt-common/CMakeLists.txt new file mode 100644 index 0000000..81e638a --- /dev/null +++ b/lilo-config/kde-qt-common/CMakeLists.txt @@ -0,0 +1,22 @@ +# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer + +include_directories( + ${CMAKE_BINARY_DIR} + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_CURRENT_SOURCE_DIR} + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} + ${TDE_LIB_DIR} +) + + +##### widgets (static) ########################## + +tde_add_library( widgets STATIC_PIC AUTOMOC + SOURCES mainwidget.cpp general.cpp images.cpp expert.cpp EditWidget.cpp + LINK common-shared +) diff --git a/lilo-config/kde/CMakeLists.txt b/lilo-config/kde/CMakeLists.txt new file mode 100644 index 0000000..49b1059 --- /dev/null +++ b/lilo-config/kde/CMakeLists.txt @@ -0,0 +1,32 @@ +# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer + +include_directories( + ${CMAKE_BINARY_DIR} + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_CURRENT_SOURCE_DIR} + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} + ${CMAKE_SOURCE_DIR}/lilo-config/kde-qt-common + ${CMAKE_SOURCE_DIR}/lilo-config/common/ +) + +link_directories( + ${TQT_LIBRARY_DIRS} + ${TDE_LIB_DIR} +) + + +##### kcm_lilo (kpart) ########################## + +tde_add_kpart( kcm_lilo AUTOMOC + SOURCES kcontrol.cpp Details.cpp InputBox.cpp + LINK tdeio-shared tdecore-shared tdeui-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) + + +##### other data ################################ + +install( FILES lilo.desktop + DESTINATION ${XDG_APPS_INSTALL_DIR} +) diff --git a/lilo-config/qt/CMakeLists.txt b/lilo-config/qt/CMakeLists.txt new file mode 100644 index 0000000..4e8c303 --- /dev/null +++ b/lilo-config/qt/CMakeLists.txt @@ -0,0 +1,21 @@ +# This file is genereted by trinity-automake-cmake-convert script by Fat-Zer + +include_directories( + ${CMAKE_BINARY_DIR} + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_CURRENT_SOURCE_DIR} + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### lilo-config (executable) ################## + +tde_add_executable( lilo-config AUTOMOC + SOURCES + DESTINATION ${BIN_INSTALL_DIR} +) |