summaryrefslogtreecommitdiff
blob: 2dc071ab25d90710fe0fdb7a2a90cf925000e1c4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
--- csharp/CMakeLists.txt	2009-09-02 13:30:38.045355025 +0300
+++ csharp/CMakeLists.txt	2009-09-02 13:31:40.426071410 +0300
@@ -3,6 +3,7 @@
 OPTION(ENABLE_QTTEST "build QtTest" ON)
 OPTION(ENABLE_QTUITOOLS_SHARP "build QtUiTools" ON)
 OPTION(ENABLE_QTWEBKIT_SHARP "build QtWebKit" ON)
+OPTION(ENABLE_PLASMA_SHARP "build PlasmaSharp" ON)
 OPTION(ENABLE_PHONON_SHARP "build PhononSharp" OFF)
 OPTION(ENABLE_QSCINTILLA_SHARP "build QScintillaSharp" OFF)
 OPTION(ENABLE_KHTML_SHARP "build KHTML" ON)
@@ -15,7 +16,8 @@
 set(QTTEST_ENABLED "no")
 SET(QTWEBKIT_ENABLED "no")
 SET(QTUITOOLS_ENABLED "no")
-SET(QTWEBKIT_ENABLED "no")
+SET(QTWEBKIT_SHARP_ENABLED "no")
+SET(PLASMA_SHARP_ENABLED "no")
 SET(PHONON_SHARP_ENABLED "no")
 SET(QSCINTILLA_SHARP_ENABLED "no")
 SET(AKONADI_ENABLED "no")
@@ -102,8 +104,10 @@
             set(AKONADI_ENABLED "yes")
         endif(KDEPIMLIBS_FOUND AND Akonadi_FOUND)
 
-        SET(PLASMA_SHARP_ENABLED "yes")
-        ADD_SUBDIRECTORY(plasma)
+        IF(ENABLE_PLASMA_SHARP)
+         SET(PLASMA_SHARP_ENABLED "yes")
+         ADD_SUBDIRECTORY(plasma)
+        ENDIF(ENABLE_PLASMA_SHARP)
 
     ENDIF (CMAKE_CSharp_COMPILER_LOADED)
 endif(ENABLE_QYOTO)
@@ -114,6 +118,7 @@
 message(STATUS "Build SopranoSharp... " ${SOPRANO_SHARP_ENABLED})
 message(STATUS "Build NepomukSharp... " ${NEPOMUK_SHARP_ENABLED})
 message(STATUS "Build PlasmaSharp... " ${PLASMA_SHARP_ENABLED})
+message(STATUS "Build QtWebkitSharp... " ${QTWEBKIT_SHARP_ENABLED})
 message(STATUS "Build Kimono... " ${KIMONO_ENABLED})
 message(STATUS "Build KHTMLSharp... " ${KHTML_SHARP_ENABLED})
 message(STATUS "Build KTextEditorSharp... " ${KHTML_SHARP_ENABLED})