projects
/
evaf
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c805098
)
Changes to the build system to enable building without QtGUI.
author
Enar Väikene
<enar@vaikene.net>
Mon, 4 Jun 2012 09:07:57 +0000
(12:07 +0300)
committer
Enar Väikene
<enar@vaikene.net>
Mon, 4 Jun 2012 09:07:57 +0000
(12:07 +0300)
src/apps/FileFinder/CMakeLists.txt
patch
|
blob
|
history
src/apps/PswGen/CMakeLists.txt
patch
|
blob
|
history
src/libs/CMakeLists.txt
patch
|
blob
|
history
src/main/CMakeLists.txt
patch
|
blob
|
history
src/plugins/CMakeLists.txt
patch
|
blob
|
history
diff --git
a/src/apps/FileFinder/CMakeLists.txt
b/src/apps/FileFinder/CMakeLists.txt
index cea62060c9e6e72b03c580dd06ea011649a71d0d..74c9f28a1e5fa0bf76ab2fd4735bcb1831ec75e5 100644
(file)
--- a/
src/apps/FileFinder/CMakeLists.txt
+++ b/
src/apps/FileFinder/CMakeLists.txt
@@
-1,2
+1,4
@@
add_subdirectory(Engine)
-add_subdirectory(GUI)
+if(QT_QTGUI_FOUND)
+ add_subdirectory(GUI)
+endif(QT_QTGUI_FOUND)
diff --git
a/src/apps/PswGen/CMakeLists.txt
b/src/apps/PswGen/CMakeLists.txt
index 01770c2e4c6f021d7602cddc0a904fe6265d6fad..3eadf22269486732b3c9eae9d7aad342a5298cc6 100644
(file)
--- a/
src/apps/PswGen/CMakeLists.txt
+++ b/
src/apps/PswGen/CMakeLists.txt
@@
-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)
diff --git
a/src/libs/CMakeLists.txt
b/src/libs/CMakeLists.txt
index 09e2f823ff740c963de6dedae7d347a49d0456bb..eabd2bc16def37539d1a6960c3c83cb787285286 100644
(file)
--- a/
src/libs/CMakeLists.txt
+++ b/
src/libs/CMakeLists.txt
@@
-1,3
+1,5
@@
add_subdirectory(Plugins)
add_subdirectory(Common)
-add_subdirectory(Gui)
+if(QT_QTGUI_FOUND)
+ add_subdirectory(Gui)
+endif(QT_QTGUI_FOUND)
diff --git
a/src/main/CMakeLists.txt
b/src/main/CMakeLists.txt
index 362aba67abe6c27eda6eb97091396c93e03ccb56..e5169f78393f277d4e60918a31f2ac473b8ed77f 100644
(file)
--- a/
src/main/CMakeLists.txt
+++ b/
src/main/CMakeLists.txt
@@
-1,2
+1,4
@@
-add_subdirectory(GUI)
+if(QT_QTGUI_FOUND)
+ add_subdirectory(GUI)
+endif(QT_QTGUI_FOUND)
add_subdirectory(CLI)
diff --git
a/src/plugins/CMakeLists.txt
b/src/plugins/CMakeLists.txt
index 133d289e0a3433a860911fecd5ad4a0a26fe564c..bffa7961512e4641e477405b7fa2c0e922c6f0fa 100644
(file)
--- a/
src/plugins/CMakeLists.txt
+++ b/
src/plugins/CMakeLists.txt
@@
-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)