summaryrefslogtreecommitdiffstats
path: root/languages/cpp/app_templates/cmakeqt3app/cmakeqt3app-CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'languages/cpp/app_templates/cmakeqt3app/cmakeqt3app-CMakeLists.txt')
-rw-r--r--languages/cpp/app_templates/cmakeqt3app/cmakeqt3app-CMakeLists.txt14
1 files changed, 14 insertions, 0 deletions
diff --git a/languages/cpp/app_templates/cmakeqt3app/cmakeqt3app-CMakeLists.txt b/languages/cpp/app_templates/cmakeqt3app/cmakeqt3app-CMakeLists.txt
new file mode 100644
index 00000000..819d0a7e
--- /dev/null
+++ b/languages/cpp/app_templates/cmakeqt3app/cmakeqt3app-CMakeLists.txt
@@ -0,0 +1,14 @@
+
+PROJECT(%{APPNAMELC})
+
+# at least cmake version 2.4.0 is required
+CMAKE_MINIMUM_REQUIRED(VERSION 2.4.0)
+
+# uncomment the following line if you require a special version of Qt
+# and adjust it accordingly
+# SET(QT_MIN_VERSION "3.0.0")
+
+# try to find Qt 3
+FIND_PACKAGE(Qt3 REQUIRED)
+
+ADD_SUBDIRECTORY(src)