Skip to content

Commit

Permalink
ENH: Add no plugin configure options
Browse files Browse the repository at this point in the history
  • Loading branch information
LorenzE authored and juangpc committed Apr 13, 2021
1 parent bd280ca commit 108c492
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 3 deletions.
9 changes: 8 additions & 1 deletion applications/mne_analyze/mne_analyze.pro
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,11 @@ SUBDIRS += \

libs.depends =
plugins.depends = libs
mne_analyze.depends = libs plugins

contains(MNECPP_CONFIG, noMneAnalyzePlugins) {
message("Building MNE Analyze without plugins")
SUBDIRS -= plugins \
mne_analyze.depends = libs
} else {
mne_analyze.depends = libs plugins
}
10 changes: 9 additions & 1 deletion applications/mne_rt_server/mne_rt_server.pro
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,12 @@ SUBDIRS += \
mne_rt_server \

plugins.depends =
mne_rt_server.depends = plugins

contains(MNECPP_CONFIG, noMneRtServerPlugins) {
message("Building MNE Rt Server without plugins")
SUBDIRS -= plugins \
mne_rt_server.depends =
} else {
mne_rt_server.depends = plugins
}

9 changes: 8 additions & 1 deletion applications/mne_scan/mne_scan.pro
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,11 @@ SUBDIRS += \

libs.depends =
plugins.depends = libs
mne_scan.depends = libs plugins

contains(MNECPP_CONFIG, noMneScanPlugins) {
message("Building MNE Scan without plugins")
SUBDIRS -= plugins \
mne_scan.depends = libs
} else {
mne_scan.depends = libs plugins
}
3 changes: 3 additions & 0 deletions mne-cpp.pri
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@ QMAKE_TARGET_COPYRIGHT = Copyright (C) 2020 Authors of MNE-CPP. All rights reser
# To disable tests run: qmake MNECPP_CONFIG+=noTests
# To disable examples run: qmake MNECPP_CONFIG+=noExamples
# To disable applications run: qmake MNECPP_CONFIG+=noApplications
# To disable MNE Scan plugins run: qmake MNECPP_CONFIG+=noMneScanPlugins
# To disable MNE Analyze plugins run: qmake MNECPP_CONFIG+=noMneAnalyzePlugins
# To disable MNE Rt Server plugins run: qmake MNECPP_CONFIG+=noMneRtServerPlugins
# To build applications as .app bundles on MacOS run: qmake MNECPP_CONFIG+=withAppBundles
# To build MNE-CPP libraries and executables statically run: qmake MNECPP_CONFIG+=static
# To build MNE-CPP with FFTW support in Eigen (make sure to specify FFTW_DIRs below) run: qmake MNECPP_CONFIG+=useFFTW
Expand Down

0 comments on commit 108c492

Please sign in to comment.