]> vaikene.ee Git - evaf/commitdiff
Changes to the build system to enable building without QtGUI.
authorEnar Väikene <enar@vaikene.net>
Mon, 4 Jun 2012 09:07:57 +0000 (12:07 +0300)
committerEnar Väikene <enar@vaikene.net>
Mon, 4 Jun 2012 09:07:57 +0000 (12:07 +0300)
src/apps/FileFinder/CMakeLists.txt
src/apps/PswGen/CMakeLists.txt
src/libs/CMakeLists.txt
src/main/CMakeLists.txt
src/plugins/CMakeLists.txt

index cea62060c9e6e72b03c580dd06ea011649a71d0d..74c9f28a1e5fa0bf76ab2fd4735bcb1831ec75e5 100644 (file)
@@ -1,2 +1,4 @@
 add_subdirectory(Engine)
-add_subdirectory(GUI)
+if(QT_QTGUI_FOUND)
+  add_subdirectory(GUI)
+endif(QT_QTGUI_FOUND)
index 01770c2e4c6f021d7602cddc0a904fe6265d6fad..3eadf22269486732b3c9eae9d7aad342a5298cc6 100644 (file)
@@ -1,6 +1,8 @@
 set(eVaf_INCLUDE ${eVaf_INCLUDE} ${CMAKE_SOURCE_DIR}/src/apps/PswGen)
 
-add_subdirectory(GUI)
+if(QT_QTGUI_FOUND)
+  add_subdirectory(GUI)
+endif(QT_QTGUI_FOUND)
 add_subdirectory(CLI)
 add_subdirectory(Generator)
 add_subdirectory(Storage)
index 09e2f823ff740c963de6dedae7d347a49d0456bb..eabd2bc16def37539d1a6960c3c83cb787285286 100644 (file)
@@ -1,3 +1,5 @@
 add_subdirectory(Plugins)
 add_subdirectory(Common)
-add_subdirectory(Gui)
+if(QT_QTGUI_FOUND)
+  add_subdirectory(Gui)
+endif(QT_QTGUI_FOUND)
index 362aba67abe6c27eda6eb97091396c93e03ccb56..e5169f78393f277d4e60918a31f2ac473b8ed77f 100644 (file)
@@ -1,2 +1,4 @@
-add_subdirectory(GUI)
+if(QT_QTGUI_FOUND)
+  add_subdirectory(GUI)
+endif(QT_QTGUI_FOUND)
 add_subdirectory(CLI)
index 133d289e0a3433a860911fecd5ad4a0a26fe564c..bffa7961512e4641e477405b7fa2c0e922c6f0fa 100644 (file)
@@ -1,3 +1,5 @@
-add_subdirectory(SdiWindow)
-add_subdirectory(LogView)
-add_subdirectory(Test)
+if(QT_QTGUI_FOUND)
+  add_subdirectory(SdiWindow)
+  add_subdirectory(LogView)
+  add_subdirectory(Test)
+endif(QT_QTGUI_FOUND)