summaryrefslogtreecommitdiffstats
path: root/tqt/CMakeLists.txt
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2021-12-09 01:40:38 +0100
committerSlávek Banko <slavek.banko@axis.cz>2021-12-09 02:07:16 +0100
commit347f0b28701932eba7eb063d9093e446b81debae (patch)
treeb6941843b550f83221b13a3b2643b5a95cd428db /tqt/CMakeLists.txt
parent5da5cb1c824c608159126a82011d8a8943b360e0 (diff)
downloadtqscintilla-347f0b28.tar.gz
tqscintilla-347f0b28.zip
Rename Qt => TQt.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'tqt/CMakeLists.txt')
-rw-r--r--tqt/CMakeLists.txt80
1 files changed, 80 insertions, 0 deletions
diff --git a/tqt/CMakeLists.txt b/tqt/CMakeLists.txt
new file mode 100644
index 0000000..fa173d3
--- /dev/null
+++ b/tqt/CMakeLists.txt
@@ -0,0 +1,80 @@
+include_directories(
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${TQT_INCLUDE_DIRS}
+ ${CMAKE_SOURCE_DIR}/include
+ ${CMAKE_SOURCE_DIR}/src
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+add_definitions( -DTQT )
+
+##### tqscintilla (shared)
+
+tde_add_library( tqscintilla SHARED AUTOMOC
+
+ SOURCES
+ tqextscintilla.cpp
+ tqextscintillaapis.cpp
+ tqextscintillabase.cpp
+ tqextscintillacommand.cpp
+ tqextscintillacommandset.cpp
+ tqextscintilladocument.cpp
+ tqextscintillalexer.cpp
+ tqextscintillalexerbash.cpp
+ tqextscintillalexerbatch.cpp
+ tqextscintillalexercpp.cpp
+ tqextscintillalexercsharp.cpp
+ tqextscintillalexercss.cpp
+ tqextscintillalexerdiff.cpp
+ tqextscintillalexerhtml.cpp
+ tqextscintillalexeridl.cpp
+ tqextscintillalexerjava.cpp
+ tqextscintillalexerjavascript.cpp
+ tqextscintillalexerlua.cpp
+ tqextscintillalexermakefile.cpp
+ tqextscintillalexerperl.cpp
+ tqextscintillalexerpov.cpp
+ tqextscintillalexerproperties.cpp
+ tqextscintillalexerpython.cpp
+ tqextscintillalexerruby.cpp
+ tqextscintillalexersql.cpp
+ tqextscintillalexertex.cpp
+ tqextscintillamacro.cpp
+ tqextscintillaprinter.cpp
+ SciListBox.cpp
+ PlatTQt.cpp
+ ScintillaTQt.cpp
+ LINK
+ ${TQT_LIBRARIES}
+ src-static
+
+ VERSION 7.0.1
+
+ DESTINATION ${LIB_INSTALL_DIR}
+)
+
+
+###### other data
+# translations
+
+file( GLOB _translations RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} tqscintilla_*.qm )
+
+install(
+ FILES ${_translations}
+ DESTINATION ${TQT_TRANSLATIONS_DIR}
+)
+
+
+# headers
+
+file( GLOB _includes RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} tqextscintilla*.h )
+
+install(
+ FILES ${_includes}
+ DESTINATION ${TQT_INCLUDES_DIR}
+)