summaryrefslogtreecommitdiffstats
path: root/lilo-config
diff options
context:
space:
mode:
authorgregory guy <g-gregory@gmx.fr>2018-08-11 09:09:44 +0200
committerSlávek Banko <slavek.banko@axis.cz>2018-09-01 18:41:34 +0200
commit88073834d0052272dce61556b9508e66b84cd494 (patch)
tree8df27acc26daca7dc9e6f15e134932cbb08d324b /lilo-config
parentb2bfb5e920d347f2f272c21e2d24cda1c943a4d5 (diff)
downloadtdeadmin-88073834d0052272dce61556b9508e66b84cd494.tar.gz
tdeadmin-88073834d0052272dce61556b9508e66b84cd494.zip
First bach of cmake files in order to convert tdeadmin
from autotools to cmake building system.
Diffstat (limited to 'lilo-config')
-rw-r--r--lilo-config/CMakeLists.txt6
-rw-r--r--lilo-config/common/CMakeLists.txt21
-rw-r--r--lilo-config/common/tests/CMakeLists.txt1
-rw-r--r--lilo-config/kde-qt-common/CMakeLists.txt22
-rw-r--r--lilo-config/kde/CMakeLists.txt32
-rw-r--r--lilo-config/qt/CMakeLists.txt21
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}
+)