aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/General/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/General/CMakeLists.txt')
-rw-r--r--src/plugins/General/CMakeLists.txt24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/plugins/General/CMakeLists.txt b/src/plugins/General/CMakeLists.txt
new file mode 100644
index 000000000..e4769ef9d
--- /dev/null
+++ b/src/plugins/General/CMakeLists.txt
@@ -0,0 +1,24 @@
+SET(USE_DBUS TRUE CACHE BOOL "enable/disable dbus plugin")
+SET(USE_SCROBBLER TRUE CACHE BOOL "enable/disable scrobbler plugin")
+SET(USE_STATICON TRUE CACHE BOOL "enable/disable status icon plugin")
+
+IF(USE_DBUS)
+MESSAGE(STATUS "DBUS ON")
+#add_subdirectory(dbuscontrol)
+ELSE(USE_DBUS)
+MESSAGE(STATUS "DBUS OFF")
+ENDIF(USE_DBUS)
+
+IF(USE_SCROBBLER)
+MESSAGE( STATUS "SCROBBLER ON")
+add_subdirectory(scrobbler)
+ELSE(USE_SCROBBLER)
+MESSAGE( STATUS "SCROBBLER OFF")
+ENDIF(USE_SCROBBLER)
+
+IF(USE_STATICON)
+MESSAGE( STATUS "STATICON ON")
+add_subdirectory(statusicon)
+ELSE(USE_STATICON)
+MESSAGE( STATUS "STATICON OFF")
+ENDIF(USE_STATICON) \ No newline at end of file