summaryrefslogtreecommitdiffstats
path: root/bab
diff options
context:
space:
mode:
authorgregory guy <gregory-tde@laposte.net>2020-07-16 14:07:49 +0200
committerSlávek Banko <slavek.banko@axis.cz>2020-07-26 11:33:19 +0200
commitcd1471858e29d0d23355a93178e063fd0550d31c (patch)
tree6a4d62d831ce3a5a9b7cabac8cf578f622fd5b43 /bab
parent443bb972fa23026cdd48cfd5976b210c5dd470eb (diff)
downloadtde-style-baghira-cd1471858e29d0d23355a93178e063fd0550d31c.tar.gz
tde-style-baghira-cd1471858e29d0d23355a93178e063fd0550d31c.zip
Conversion to the cmake building system.
Added a man page taken from the Debian packaging system. Signed-off-by: gregory guy <gregory-tde@laposte.net> Resolve issues that occurred during CMake conversion. Concatenate the commands for generating pixmaps.h with CMake so that there is no need to use the GNU specific sed option -i. Signed-off-by: Slávek Banko <slavek.banko@axis.cz> Signed-off-by: gregory guy <gregory-tde@laposte.net> (cherry picked from commit d0c03cc9a910ea44cea57b1af43bbd90eb86d4bc)
Diffstat (limited to 'bab')
-rw-r--r--bab/CMakeLists.txt35
-rw-r--r--bab/bab.h2
2 files changed, 36 insertions, 1 deletions
diff --git a/bab/CMakeLists.txt b/bab/CMakeLists.txt
new file mode 100644
index 0000000..2d73e64
--- /dev/null
+++ b/bab/CMakeLists.txt
@@ -0,0 +1,35 @@
+
+include_directories(
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+ ${X11_INCLUDE_DIR}
+ ${XEXT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+ ${TDE_LIBRARY_DIRS}
+ ${X11_LIBRARY_DIRS}
+ ${XEXT_LIBRARY_DIRS}
+)
+
+
+##### bab (executable)
+
+tde_add_executable( bab AUTOMOC
+
+ SOURCES
+ main.cpp
+ styleconfdialog.cpp
+ bab_iface.skel
+ LINK
+ tdecore-shared
+ tdeui-shared
+ ${X11_LIBRARIES}
+ ${XEXT_LIBRARIES}
+
+ DESTINATION ${BIN_INSTALL_DIR}
+)
diff --git a/bab/bab.h b/bab/bab.h
index 6efeebd..571fc51 100644
--- a/bab/bab.h
+++ b/bab/bab.h
@@ -22,7 +22,7 @@
#define _BAB_H_
#ifdef HAVE_CONFIG_H
-#include <config.h>
+#include "config.h"
#endif
//#include <dcopclient.h>
#include "bab_iface.h"