summaryrefslogtreecommitdiffstats
path: root/src/translators/pilotdb
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2016-09-18 20:59:45 +0200
committerSlávek Banko <[email protected]>2016-09-18 20:59:45 +0200
commit3f7006b6807add37a3de957c525600a31424a498 (patch)
treec0a1c00a80c3ec28c7f38da2e5e91ff6e3a385be /src/translators/pilotdb
parent3fbf943ee75e74a85c489508303987cfd5f8ea01 (diff)
downloadtellico-3f7006b6807add37a3de957c525600a31424a498.tar.gz
tellico-3f7006b6807add37a3de957c525600a31424a498.zip
Initial cmake conversion
Signed-off-by: Slávek Banko <[email protected]>
Diffstat (limited to 'src/translators/pilotdb')
-rw-r--r--src/translators/pilotdb/CMakeLists.txt35
-rw-r--r--src/translators/pilotdb/libflatfile/CMakeLists.txt29
-rw-r--r--src/translators/pilotdb/libpalm/CMakeLists.txt29
3 files changed, 93 insertions, 0 deletions
diff --git a/src/translators/pilotdb/CMakeLists.txt b/src/translators/pilotdb/CMakeLists.txt
new file mode 100644
index 0000000..1be9904
--- /dev/null
+++ b/src/translators/pilotdb/CMakeLists.txt
@@ -0,0 +1,35 @@
+#################################################
+#
+# (C) 2016 Slávek Banko
+# slavek (DOT) banko (AT) axis.cz
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+include_directories(
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### pilotdb (static) ##########################
+
+tde_add_library( pilotdb STATIC_PIC AUTOMOC
+ SOURCES pilotdb.cpp strop.cpp
+)
+
+
+##### directories ###############################
+
+add_subdirectory( libflatfile )
+add_subdirectory( libpalm )
diff --git a/src/translators/pilotdb/libflatfile/CMakeLists.txt b/src/translators/pilotdb/libflatfile/CMakeLists.txt
new file mode 100644
index 0000000..78c6c29
--- /dev/null
+++ b/src/translators/pilotdb/libflatfile/CMakeLists.txt
@@ -0,0 +1,29 @@
+#################################################
+#
+# (C) 2016 Slávek Banko
+# slavek (DOT) banko (AT) axis.cz
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+include_directories(
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### pilotdb_flatfile (static) #################
+
+tde_add_library( pilotdb_flatfile STATIC_PIC AUTOMOC
+ SOURCES DB.cpp Database.cpp
+)
diff --git a/src/translators/pilotdb/libpalm/CMakeLists.txt b/src/translators/pilotdb/libpalm/CMakeLists.txt
new file mode 100644
index 0000000..af5d274
--- /dev/null
+++ b/src/translators/pilotdb/libpalm/CMakeLists.txt
@@ -0,0 +1,29 @@
+#################################################
+#
+# (C) 2016 Slávek Banko
+# slavek (DOT) banko (AT) axis.cz
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+include_directories(
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### pilotdb_palm (static) #####################
+
+tde_add_library( pilotdb_palm STATIC_PIC AUTOMOC
+ SOURCES Database.cpp Block.cpp
+)