summaryrefslogtreecommitdiffstats
path: root/example/CMakeLists.txt
diff options
context:
space:
mode:
authorgregory guy <gregory-tde@laposte.net>2021-10-07 15:17:57 +0200
committergregory guy <gregory-tde@laposte.net>2021-11-30 11:04:08 +0100
commita69b55c674b0528c00598bea54b7a661f4e49f27 (patch)
tree93ab3c9c6a8c3be0d8e0da81391904a07f515a57 /example/CMakeLists.txt
parent0896465ce705beabf8562afbabd49f8b92bf3412 (diff)
downloadtqscintilla-a69b55c674b0528c00598bea54b7a661f4e49f27.tar.gz
tqscintilla-a69b55c674b0528c00598bea54b7a661f4e49f27.zip
Conversion to the cmake building system.
Signed-off-by: gregory guy <gregory-tde@laposte.net>
Diffstat (limited to 'example/CMakeLists.txt')
-rw-r--r--example/CMakeLists.txt24
1 files changed, 24 insertions, 0 deletions
diff --git a/example/CMakeLists.txt b/example/CMakeLists.txt
new file mode 100644
index 0000000..9512ae3
--- /dev/null
+++ b/example/CMakeLists.txt
@@ -0,0 +1,24 @@
+include_directories(
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${TQT_INCLUDE_DIRS}
+ ${CMAKE_SOURCE_DIR}/qt
+ ${CMAKE_SOURCE_DIR}/src
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### app (executable)
+
+tde_add_executable( app AUTOMOC
+
+ SOURCES
+ application.cpp
+ main.cpp
+ LINK
+ qscintilla-shared
+)