aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Cullmann <[email protected]>2015-10-10 17:29:35 +0200
committerChristoph Cullmann <[email protected]>2015-10-10 17:29:35 +0200
commit62acea97ab45071d87c46733b9b8a5334ca80c0c (patch)
treef683aaed82a6e379143785717e8188594244ccf4
parent9d2fdf01bffd0b3a96aea7fe99f1f1341820d0d5 (diff)
guard some stuff for win ATM, better than patches
-rw-r--r--addons/CMakeLists.txt20
1 files changed, 12 insertions, 8 deletions
diff --git a/addons/CMakeLists.txt b/addons/CMakeLists.txt
index a18be833..1c9f9a6 100644
--- a/addons/CMakeLists.txt
+++ b/addons/CMakeLists.txt
@@ -24,8 +24,10 @@ ecm_optional_add_subdirectory (kate-ctags)
# backtrace
ecm_optional_add_subdirectory (backtracebrowser)
-# file browser
-ecm_optional_add_subdirectory (filebrowser)
+# file browser, atm guarded until we have a check for KIOWidgets
+if (NOT WIN32)
+ ecm_optional_add_subdirectory (filebrowser)
+endif()
# xml completion
ecm_optional_add_subdirectory (xmltools)
@@ -33,8 +35,10 @@ ecm_optional_add_subdirectory (xmltools)
# open header matching to current file
ecm_optional_add_subdirectory (openheader)
-# debugger plugin, needs windows love
-ecm_optional_add_subdirectory (gdbplugin)
+# debugger plugin, needs windows love, guarded until ported to win32
+if (NOT WIN32)
+ ecm_optional_add_subdirectory (gdbplugin)
+endif ()
# list symbols and functions in a file
ecm_optional_add_subdirectory (symbolviewer)
@@ -43,13 +47,13 @@ ecm_optional_add_subdirectory (symbolviewer)
ecm_optional_add_subdirectory (replicode)
# pipe text through some external command
-ecm_optional_add_subdirectory( textfilter )
+ecm_optional_add_subdirectory (textfilter)
# Rust complection plugin
-ecm_optional_add_subdirectory(rustcompletion)
+ecm_optional_add_subdirectory (rustcompletion)
# D completion plugin
-ecm_optional_add_subdirectory(lumen)
+ecm_optional_add_subdirectory (lumen)
if(KF5Notifications_FOUND)
# close document except this one (or similar)
@@ -80,5 +84,5 @@ if(KF5ItemModels_FOUND AND KF5ThreadWeaver_FOUND)
endif()
if (KF5Plasma_FOUND AND KF5Service_FOUND)
- ecm_optional_add_subdirectory(sessionapplet)
+ ecm_optional_add_subdirectory (sessionapplet)
endif()