Skip to content

Commit

Permalink
MAINT: Let libraries deploy themselves again on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
LorenzE committed May 14, 2020
1 parent 1994460 commit 3e786e2
Show file tree
Hide file tree
Showing 68 changed files with 152 additions and 68 deletions.
2 changes: 1 addition & 1 deletion applications/mne_analyze/mne_analyze/mne_analyze.pro
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ UI_DIR = $$PWD/formfiles
# Deploy dependencies
win32:!contains(MNECPP_CONFIG, static) {
EXTRA_ARGS =
DEPLOY_CMD = $$winDeployArgs($${TARGET},$${MNE_BINARY_DIR},$${MNE_LIBRARY_DIR},$${EXTRA_ARGS})
DEPLOY_CMD = $$winDeployAppArgs($${TARGET},$${MNE_BINARY_DIR},$${MNE_LIBRARY_DIR},$${EXTRA_ARGS})
QMAKE_POST_LINK += $${DEPLOY_CMD}
}
unix:!macx {
Expand Down
2 changes: 1 addition & 1 deletion applications/mne_anonymize/mne_anonymize.pro
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ unix: QMAKE_CXXFLAGS += -isystem $$EIGEN_INCLUDE_DIR
# Deploy dependencies
win32:!contains(MNECPP_CONFIG, static) {
EXTRA_ARGS =
DEPLOY_CMD = $$winDeployArgs($${TARGET},$${MNE_BINARY_DIR},$${MNE_LIBRARY_DIR},$${EXTRA_ARGS})
DEPLOY_CMD = $$winDeployAppArgs($${TARGET},$${MNE_BINARY_DIR},$${MNE_LIBRARY_DIR},$${EXTRA_ARGS})
QMAKE_POST_LINK += $${DEPLOY_CMD}
}
unix:!macx {
Expand Down
2 changes: 1 addition & 1 deletion applications/mne_dipole_fit/mne_dipole_fit.pro
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ unix: QMAKE_CXXFLAGS += -isystem $$EIGEN_INCLUDE_DIR
# Deploy dependencies
win32:!contains(MNECPP_CONFIG, static) {
EXTRA_ARGS =
DEPLOY_CMD = $$winDeployArgs($${TARGET},$${MNE_BINARY_DIR},$${MNE_LIBRARY_DIR},$${EXTRA_ARGS})
DEPLOY_CMD = $$winDeployAppArgs($${TARGET},$${MNE_BINARY_DIR},$${MNE_LIBRARY_DIR},$${EXTRA_ARGS})
QMAKE_POST_LINK += $${DEPLOY_CMD}
}
unix:!macx {
Expand Down
2 changes: 1 addition & 1 deletion applications/mne_forward_solution/mne_forward_solution.pro
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ unix: QMAKE_CXXFLAGS += -isystem $$EIGEN_INCLUDE_DIR
# Deploy dependencies
win32:!contains(MNECPP_CONFIG, static) {
EXTRA_ARGS =
DEPLOY_CMD = $$winDeployArgs($${TARGET},$${MNE_BINARY_DIR},$${MNE_LIBRARY_DIR},$${EXTRA_ARGS})
DEPLOY_CMD = $$winDeployAppArgs($${TARGET},$${MNE_BINARY_DIR},$${MNE_LIBRARY_DIR},$${EXTRA_ARGS})
QMAKE_POST_LINK += $${DEPLOY_CMD}
}
unix:!macx {
Expand Down
2 changes: 1 addition & 1 deletion applications/mne_rt_server/mne_rt_server/mne_rt_server.pro
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ INCLUDEPATH += $${MNE_INCLUDE_DIR}
# Deploy dependencies
win32:!contains(MNECPP_CONFIG, static) {
EXTRA_ARGS =
DEPLOY_CMD = $$winDeployArgs($${TARGET},$${MNE_BINARY_DIR},$${MNE_LIBRARY_DIR},$${EXTRA_ARGS})
DEPLOY_CMD = $$winDeployAppArgs($${TARGET},$${MNE_BINARY_DIR},$${MNE_LIBRARY_DIR},$${EXTRA_ARGS})
QMAKE_POST_LINK += $${DEPLOY_CMD}
}
unix:!macx {
Expand Down
2 changes: 1 addition & 1 deletion applications/mne_scan/mne_scan/mne_scan.pro
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ macx {
# Deploy dependencies
win32:!contains(MNECPP_CONFIG, static) {
EXTRA_ARGS =
DEPLOY_CMD = $$winDeployArgs($${TARGET},$${MNE_BINARY_DIR},$${MNE_LIBRARY_DIR},$${EXTRA_ARGS})
DEPLOY_CMD = $$winDeployAppArgs($${TARGET},$${MNE_BINARY_DIR},$${MNE_LIBRARY_DIR},$${EXTRA_ARGS})
QMAKE_POST_LINK += $${DEPLOY_CMD}
}
unix:!macx {
Expand Down
2 changes: 1 addition & 1 deletion doc/gh-pages/pages/development/deployment.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Applications, tests, and examples link against MNE-CPP libraries (internal depen

| Platform | Dependency solving |
| --------------------------- | -------------------------------------- |
| Windows | All MNE-CPP libraries are copied from `mne-cpp/lib` to `mne-cpp/bin` via the `defineReplace(winDeployArgs)` function in [mne-cpp.pri](https://github.com/mne-tools/mne-cpp/blob/master/mne-cpp.pri){:target="_blank" rel="noopener"}, since `windeployqt` only takes care of Qt related dependencies.|
| Windows | `windployqt` is called on all MNE-CPP libraries. Also, all MNe-CPP libraries are copied from `mne-cpp/lib` to `mne-cpp/bin` via the library's .pro file. This is needed since `windeployqt` only takes care of Qt related dependencies.|
| Linux | MNE-CPP libraries reside in `mne-cpp/lib`. `QMAKE_RPATHDIR` is specified in the executable's .pro file in order to link to the libraries in `mne-cpp/lib`. |
| MacOS | MNE-CPP libraries are copied to the .app `Frameworks` folder by `macdeployqt`. Tests and examples are created as normal executables and therefore need `DYLD_LIBRARY_PATH` to include the `mne-cpp/lib` folder. |

Expand Down
2 changes: 1 addition & 1 deletion examples/ex_cancel_noise/ex_cancel_noise.pro
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ INCLUDEPATH += $${MNE_INCLUDE_DIR}
# Deploy dependencies
win32:!contains(MNECPP_CONFIG, static) {
EXTRA_ARGS =
DEPLOY_CMD = $$winDeployArgs($${TARGET},$${MNE_BINARY_DIR},$${MNE_LIBRARY_DIR},$${EXTRA_ARGS})
DEPLOY_CMD = $$winDeployAppArgs($${TARGET},$${MNE_BINARY_DIR},$${MNE_LIBRARY_DIR},$${EXTRA_ARGS})
QMAKE_POST_LINK += $${DEPLOY_CMD}
}
unix:!macx {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ INCLUDEPATH += $${MNE_INCLUDE_DIR}
# Deploy dependencies
win32:!contains(MNECPP_CONFIG, static) {
EXTRA_ARGS =
DEPLOY_CMD = $$winDeployArgs($${TARGET},$${MNE_BINARY_DIR},$${MNE_LIBRARY_DIR},$${EXTRA_ARGS})
DEPLOY_CMD = $$winDeployAppArgs($${TARGET},$${MNE_BINARY_DIR},$${MNE_LIBRARY_DIR},$${EXTRA_ARGS})
QMAKE_POST_LINK += $${DEPLOY_CMD}
}
unix:!macx {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ INCLUDEPATH += $${MNE_INCLUDE_DIR}
# Deploy dependencies
win32:!contains(MNECPP_CONFIG, static) {
EXTRA_ARGS =
DEPLOY_CMD = $$winDeployArgs($${TARGET},$${MNE_BINARY_DIR},$${MNE_LIBRARY_DIR},$${EXTRA_ARGS})
DEPLOY_CMD = $$winDeployAppArgs($${TARGET},$${MNE_BINARY_DIR},$${MNE_LIBRARY_DIR},$${EXTRA_ARGS})
QMAKE_POST_LINK += $${DEPLOY_CMD}
}
unix:!macx {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ INCLUDEPATH += $${MNE_INCLUDE_DIR}
# Deploy dependencies
win32:!contains(MNECPP_CONFIG, static) {
EXTRA_ARGS =
DEPLOY_CMD = $$winDeployArgs($${TARGET},$${MNE_BINARY_DIR},$${MNE_LIBRARY_DIR},$${EXTRA_ARGS})
DEPLOY_CMD = $$winDeployAppArgs($${TARGET},$${MNE_BINARY_DIR},$${MNE_LIBRARY_DIR},$${EXTRA_ARGS})
QMAKE_POST_LINK += $${DEPLOY_CMD}
}
unix:!macx {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ INCLUDEPATH += $${MNE_INCLUDE_DIR}
# Deploy dependencies
win32:!contains(MNECPP_CONFIG, static) {
EXTRA_ARGS =
DEPLOY_CMD = $$winDeployArgs($${TARGET},$${MNE_BINARY_DIR},$${MNE_LIBRARY_DIR},$${EXTRA_ARGS})
DEPLOY_CMD = $$winDeployAppArgs($${TARGET},$${MNE_BINARY_DIR},$${MNE_LIBRARY_DIR},$${EXTRA_ARGS})
QMAKE_POST_LINK += $${DEPLOY_CMD}
}
unix:!macx {
Expand Down
2 changes: 1 addition & 1 deletion examples/ex_compute_forward/ex_compute_forward.pro
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ INCLUDEPATH += $${MNE_INCLUDE_DIR}
# Deploy dependencies
win32:!contains(MNECPP_CONFIG, static) {
EXTRA_ARGS =
DEPLOY_CMD = $$winDeployArgs($${TARGET},$${MNE_BINARY_DIR},$${MNE_LIBRARY_DIR},$${EXTRA_ARGS})
DEPLOY_CMD = $$winDeployAppArgs($${TARGET},$${MNE_BINARY_DIR},$${MNE_LIBRARY_DIR},$${EXTRA_ARGS})
QMAKE_POST_LINK += $${DEPLOY_CMD}
}
unix:!macx {
Expand Down
2 changes: 1 addition & 1 deletion examples/ex_connectivity/ex_connectivity.pro
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ INCLUDEPATH += $${MNE_INCLUDE_DIR}
# Deploy dependencies
win32:!contains(MNECPP_CONFIG, static) {
EXTRA_ARGS =
DEPLOY_CMD = $$winDeployArgs($${TARGET},$${MNE_BINARY_DIR},$${MNE_LIBRARY_DIR},$${EXTRA_ARGS})
DEPLOY_CMD = $$winDeployAppArgs($${TARGET},$${MNE_BINARY_DIR},$${MNE_LIBRARY_DIR},$${EXTRA_ARGS})
QMAKE_POST_LINK += $${DEPLOY_CMD}
}
unix:!macx {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ INCLUDEPATH += $${MNE_INCLUDE_DIR}
# Deploy dependencies
win32:!contains(MNECPP_CONFIG, static) {
EXTRA_ARGS =
DEPLOY_CMD = $$winDeployArgs($${TARGET},$${MNE_BINARY_DIR},$${MNE_LIBRARY_DIR},$${EXTRA_ARGS})
DEPLOY_CMD = $$winDeployAppArgs($${TARGET},$${MNE_BINARY_DIR},$${MNE_LIBRARY_DIR},$${EXTRA_ARGS})
QMAKE_POST_LINK += $${DEPLOY_CMD}
}
unix:!macx {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ INCLUDEPATH += $${MNE_INCLUDE_DIR}
# Deploy dependencies
win32:!contains(MNECPP_CONFIG, static) {
EXTRA_ARGS =
DEPLOY_CMD = $$winDeployArgs($${TARGET},$${MNE_BINARY_DIR},$${MNE_LIBRARY_DIR},$${EXTRA_ARGS})
DEPLOY_CMD = $$winDeployAppArgs($${TARGET},$${MNE_BINARY_DIR},$${MNE_LIBRARY_DIR},$${EXTRA_ARGS})
QMAKE_POST_LINK += $${DEPLOY_CMD}
}
unix:!macx {
Expand Down
2 changes: 1 addition & 1 deletion examples/ex_disp/ex_disp.pro
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ UI_DIR = $$PWD
# Deploy dependencies
win32:!contains(MNECPP_CONFIG, static) {
EXTRA_ARGS =
DEPLOY_CMD = $$winDeployArgs($${TARGET},$${MNE_BINARY_DIR},$${MNE_LIBRARY_DIR},$${EXTRA_ARGS})
DEPLOY_CMD = $$winDeployAppArgs($${TARGET},$${MNE_BINARY_DIR},$${MNE_LIBRARY_DIR},$${EXTRA_ARGS})
QMAKE_POST_LINK += $${DEPLOY_CMD}
}
unix:!macx {
Expand Down
2 changes: 1 addition & 1 deletion examples/ex_disp_3D/ex_disp_3D.pro
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ INCLUDEPATH += $${MNE_INCLUDE_DIR}
# Deploy dependencies
win32:!contains(MNECPP_CONFIG, static) {
EXTRA_ARGS =
DEPLOY_CMD = $$winDeployArgs($${TARGET},$${MNE_BINARY_DIR},$${MNE_LIBRARY_DIR},$${EXTRA_ARGS})
DEPLOY_CMD = $$winDeployAppArgs($${TARGET},$${MNE_BINARY_DIR},$${MNE_LIBRARY_DIR},$${EXTRA_ARGS})
QMAKE_POST_LINK += $${DEPLOY_CMD}
}
unix:!macx {
Expand Down
2 changes: 1 addition & 1 deletion examples/ex_evoked_grad_amp/ex_evoked_grad_amp.pro
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ INCLUDEPATH += $${MNE_INCLUDE_DIR}
# Deploy dependencies
win32:!contains(MNECPP_CONFIG, static) {
EXTRA_ARGS =
DEPLOY_CMD = $$winDeployArgs($${TARGET},$${MNE_BINARY_DIR},$${MNE_LIBRARY_DIR},$${EXTRA_ARGS})
DEPLOY_CMD = $$winDeployAppArgs($${TARGET},$${MNE_BINARY_DIR},$${MNE_LIBRARY_DIR},$${EXTRA_ARGS})
QMAKE_POST_LINK += $${DEPLOY_CMD}
}
unix:!macx {
Expand Down
2 changes: 1 addition & 1 deletion examples/ex_fiff_io/ex_fiff_io.pro
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ INCLUDEPATH += $${MNE_INCLUDE_DIR}
# Deploy dependencies
win32:!contains(MNECPP_CONFIG, static) {
EXTRA_ARGS =
DEPLOY_CMD = $$winDeployArgs($${TARGET},$${MNE_BINARY_DIR},$${MNE_LIBRARY_DIR},$${EXTRA_ARGS})
DEPLOY_CMD = $$winDeployAppArgs($${TARGET},$${MNE_BINARY_DIR},$${MNE_LIBRARY_DIR},$${EXTRA_ARGS})
QMAKE_POST_LINK += $${DEPLOY_CMD}
}
unix:!macx {
Expand Down
2 changes: 1 addition & 1 deletion examples/ex_filtering/ex_filtering.pro
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ contains(MNECPP_CONFIG, withCodeCov) {
# Deploy dependencies
win32:!contains(MNECPP_CONFIG, static) {
EXTRA_ARGS =
DEPLOY_CMD = $$winDeployArgs($${TARGET},$${MNE_BINARY_DIR},$${MNE_LIBRARY_DIR},$${EXTRA_ARGS})
DEPLOY_CMD = $$winDeployAppArgs($${TARGET},$${MNE_BINARY_DIR},$${MNE_LIBRARY_DIR},$${EXTRA_ARGS})
QMAKE_POST_LINK += $${DEPLOY_CMD}
}
unix:!macx {
Expand Down
2 changes: 1 addition & 1 deletion examples/ex_find_evoked/ex_find_evoked.pro
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ INCLUDEPATH += $${MNE_INCLUDE_DIR}
# Deploy dependencies
win32:!contains(MNECPP_CONFIG, static) {
EXTRA_ARGS =
DEPLOY_CMD = $$winDeployArgs($${TARGET},$${MNE_BINARY_DIR},$${MNE_LIBRARY_DIR},$${EXTRA_ARGS})
DEPLOY_CMD = $$winDeployAppArgs($${TARGET},$${MNE_BINARY_DIR},$${MNE_LIBRARY_DIR},$${EXTRA_ARGS})
QMAKE_POST_LINK += $${DEPLOY_CMD}
}
unix:!macx {
Expand Down
2 changes: 1 addition & 1 deletion examples/ex_fs_surface/ex_fs_surface.pro
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ INCLUDEPATH += $${MNE_INCLUDE_DIR}
# Deploy dependencies
win32:!contains(MNECPP_CONFIG, static) {
EXTRA_ARGS =
DEPLOY_CMD = $$winDeployArgs($${TARGET},$${MNE_BINARY_DIR},$${MNE_LIBRARY_DIR},$${EXTRA_ARGS})
DEPLOY_CMD = $$winDeployAppArgs($${TARGET},$${MNE_BINARY_DIR},$${MNE_LIBRARY_DIR},$${EXTRA_ARGS})
QMAKE_POST_LINK += $${DEPLOY_CMD}
}
unix:!macx {
Expand Down
2 changes: 1 addition & 1 deletion examples/ex_histogram/ex_histogram.pro
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ INCLUDEPATH += $${MNE_INCLUDE_DIR}
# Deploy dependencies
win32:!contains(MNECPP_CONFIG, static) {
EXTRA_ARGS =
DEPLOY_CMD = $$winDeployArgs($${TARGET},$${MNE_BINARY_DIR},$${MNE_LIBRARY_DIR},$${EXTRA_ARGS})
DEPLOY_CMD = $$winDeployAppArgs($${TARGET},$${MNE_BINARY_DIR},$${MNE_LIBRARY_DIR},$${EXTRA_ARGS})
QMAKE_POST_LINK += $${DEPLOY_CMD}
}
unix:!macx {
Expand Down
2 changes: 1 addition & 1 deletion examples/ex_hpiFit/ex_hpiFit.pro
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ INCLUDEPATH += $${MNE_INCLUDE_DIR}
# Deploy dependencies
win32:!contains(MNECPP_CONFIG, static) {
EXTRA_ARGS =
DEPLOY_CMD = $$winDeployArgs($${TARGET},$${MNE_BINARY_DIR},$${MNE_LIBRARY_DIR},$${EXTRA_ARGS})
DEPLOY_CMD = $$winDeployAppArgs($${TARGET},$${MNE_BINARY_DIR},$${MNE_LIBRARY_DIR},$${EXTRA_ARGS})
QMAKE_POST_LINK += $${DEPLOY_CMD}
}
unix:!macx {
Expand Down
2 changes: 1 addition & 1 deletion examples/ex_interpolation/ex_interpolation.pro
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ INCLUDEPATH += $${MNE_INCLUDE_DIR}
# Deploy dependencies
win32:!contains(MNECPP_CONFIG, static) {
EXTRA_ARGS =
DEPLOY_CMD = $$winDeployArgs($${TARGET},$${MNE_BINARY_DIR},$${MNE_LIBRARY_DIR},$${EXTRA_ARGS})
DEPLOY_CMD = $$winDeployAppArgs($${TARGET},$${MNE_BINARY_DIR},$${MNE_LIBRARY_DIR},$${EXTRA_ARGS})
QMAKE_POST_LINK += $${DEPLOY_CMD}
}
unix:!macx {
Expand Down
2 changes: 1 addition & 1 deletion examples/ex_inverse_mne/ex_inverse_mne.pro
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ INCLUDEPATH += $${MNE_INCLUDE_DIR}
# Deploy dependencies
win32:!contains(MNECPP_CONFIG, static) {
EXTRA_ARGS =
DEPLOY_CMD = $$winDeployArgs($${TARGET},$${MNE_BINARY_DIR},$${MNE_LIBRARY_DIR},$${EXTRA_ARGS})
DEPLOY_CMD = $$winDeployAppArgs($${TARGET},$${MNE_BINARY_DIR},$${MNE_LIBRARY_DIR},$${EXTRA_ARGS})
QMAKE_POST_LINK += $${DEPLOY_CMD}
}
unix:!macx {
Expand Down
2 changes: 1 addition & 1 deletion examples/ex_inverse_mne_raw/ex_inverse_mne_raw.pro
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ INCLUDEPATH += $${MNE_INCLUDE_DIR}
# Deploy dependencies
win32:!contains(MNECPP_CONFIG, static) {
EXTRA_ARGS =
DEPLOY_CMD = $$winDeployArgs($${TARGET},$${MNE_BINARY_DIR},$${MNE_LIBRARY_DIR},$${EXTRA_ARGS})
DEPLOY_CMD = $$winDeployAppArgs($${TARGET},$${MNE_BINARY_DIR},$${MNE_LIBRARY_DIR},$${EXTRA_ARGS})
QMAKE_POST_LINK += $${DEPLOY_CMD}
}
unix:!macx {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ INCLUDEPATH += $${MNE_INCLUDE_DIR}
# Deploy dependencies
win32:!contains(MNECPP_CONFIG, static) {
EXTRA_ARGS =
DEPLOY_CMD = $$winDeployArgs($${TARGET},$${MNE_BINARY_DIR},$${MNE_LIBRARY_DIR},$${EXTRA_ARGS})
DEPLOY_CMD = $$winDeployAppArgs($${TARGET},$${MNE_BINARY_DIR},$${MNE_LIBRARY_DIR},$${EXTRA_ARGS})
QMAKE_POST_LINK += $${DEPLOY_CMD}
}
unix:!macx {
Expand Down
2 changes: 1 addition & 1 deletion examples/ex_inverse_rap_music/ex_inverse_rap_music.pro
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ INCLUDEPATH += $${MNE_INCLUDE_DIR}
# Deploy dependencies
win32:!contains(MNECPP_CONFIG, static) {
EXTRA_ARGS =
DEPLOY_CMD = $$winDeployArgs($${TARGET},$${MNE_BINARY_DIR},$${MNE_LIBRARY_DIR},$${EXTRA_ARGS})
DEPLOY_CMD = $$winDeployAppArgs($${TARGET},$${MNE_BINARY_DIR},$${MNE_LIBRARY_DIR},$${EXTRA_ARGS})
QMAKE_POST_LINK += $${DEPLOY_CMD}
}
unix:!macx {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ INCLUDEPATH += $${MNE_INCLUDE_DIR}
# Deploy dependencies
win32:!contains(MNECPP_CONFIG, static) {
EXTRA_ARGS =
DEPLOY_CMD = $$winDeployArgs($${TARGET},$${MNE_BINARY_DIR},$${MNE_LIBRARY_DIR},$${EXTRA_ARGS})
DEPLOY_CMD = $$winDeployAppArgs($${TARGET},$${MNE_BINARY_DIR},$${MNE_LIBRARY_DIR},$${EXTRA_ARGS})
QMAKE_POST_LINK += $${DEPLOY_CMD}
}
unix:!macx {
Expand Down
2 changes: 1 addition & 1 deletion examples/ex_make_layout/ex_make_layout.pro
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ INCLUDEPATH += $${MNE_INCLUDE_DIR}
# Deploy dependencies
win32:!contains(MNECPP_CONFIG, static) {
EXTRA_ARGS =
DEPLOY_CMD = $$winDeployArgs($${TARGET},$${MNE_BINARY_DIR},$${MNE_LIBRARY_DIR},$${EXTRA_ARGS})
DEPLOY_CMD = $$winDeployAppArgs($${TARGET},$${MNE_BINARY_DIR},$${MNE_LIBRARY_DIR},$${EXTRA_ARGS})
QMAKE_POST_LINK += $${DEPLOY_CMD}
}
unix:!macx {
Expand Down
2 changes: 1 addition & 1 deletion examples/ex_read_bem/ex_read_bem.pro
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ INCLUDEPATH += $${MNE_INCLUDE_DIR}
# Deploy dependencies
win32:!contains(MNECPP_CONFIG, static) {
EXTRA_ARGS =
DEPLOY_CMD = $$winDeployArgs($${TARGET},$${MNE_BINARY_DIR},$${MNE_LIBRARY_DIR},$${EXTRA_ARGS})
DEPLOY_CMD = $$winDeployAppArgs($${TARGET},$${MNE_BINARY_DIR},$${MNE_LIBRARY_DIR},$${EXTRA_ARGS})
QMAKE_POST_LINK += $${DEPLOY_CMD}
}
unix:!macx {
Expand Down
2 changes: 1 addition & 1 deletion examples/ex_read_epochs/ex_read_epochs.pro
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ INCLUDEPATH += $${MNE_INCLUDE_DIR}
# Deploy dependencies
win32:!contains(MNECPP_CONFIG, static) {
EXTRA_ARGS =
DEPLOY_CMD = $$winDeployArgs($${TARGET},$${MNE_BINARY_DIR},$${MNE_LIBRARY_DIR},$${EXTRA_ARGS})
DEPLOY_CMD = $$winDeployAppArgs($${TARGET},$${MNE_BINARY_DIR},$${MNE_LIBRARY_DIR},$${EXTRA_ARGS})
QMAKE_POST_LINK += $${DEPLOY_CMD}
}
unix:!macx {
Expand Down
2 changes: 1 addition & 1 deletion examples/ex_read_evoked/ex_read_evoked.pro
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ INCLUDEPATH += $${MNE_INCLUDE_DIR}
# Deploy dependencies
win32:!contains(MNECPP_CONFIG, static) {
EXTRA_ARGS =
DEPLOY_CMD = $$winDeployArgs($${TARGET},$${MNE_BINARY_DIR},$${MNE_LIBRARY_DIR},$${EXTRA_ARGS})
DEPLOY_CMD = $$winDeployAppArgs($${TARGET},$${MNE_BINARY_DIR},$${MNE_LIBRARY_DIR},$${EXTRA_ARGS})
QMAKE_POST_LINK += $${DEPLOY_CMD}
}
unix:!macx {
Expand Down
2 changes: 1 addition & 1 deletion examples/ex_read_fwd/ex_read_fwd.pro
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ INCLUDEPATH += $${MNE_INCLUDE_DIR}
# Deploy dependencies
win32:!contains(MNECPP_CONFIG, static) {
EXTRA_ARGS =
DEPLOY_CMD = $$winDeployArgs($${TARGET},$${MNE_BINARY_DIR},$${MNE_LIBRARY_DIR},$${EXTRA_ARGS})
DEPLOY_CMD = $$winDeployAppArgs($${TARGET},$${MNE_BINARY_DIR},$${MNE_LIBRARY_DIR},$${EXTRA_ARGS})
QMAKE_POST_LINK += $${DEPLOY_CMD}
}
unix:!macx {
Expand Down
2 changes: 1 addition & 1 deletion examples/ex_read_fwd_disp_3D/ex_read_fwd_disp_3D.pro
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ INCLUDEPATH += $${MNE_INCLUDE_DIR}
# Deploy dependencies
win32:!contains(MNECPP_CONFIG, static) {
EXTRA_ARGS =
DEPLOY_CMD = $$winDeployArgs($${TARGET},$${MNE_BINARY_DIR},$${MNE_LIBRARY_DIR},$${EXTRA_ARGS})
DEPLOY_CMD = $$winDeployAppArgs($${TARGET},$${MNE_BINARY_DIR},$${MNE_LIBRARY_DIR},$${EXTRA_ARGS})
QMAKE_POST_LINK += $${DEPLOY_CMD}
}
unix:!macx {
Expand Down
2 changes: 1 addition & 1 deletion examples/ex_read_raw/ex_read_raw.pro
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ INCLUDEPATH += $${MNE_INCLUDE_DIR}
# Deploy dependencies
win32:!contains(MNECPP_CONFIG, static) {
EXTRA_ARGS =
DEPLOY_CMD = $$winDeployArgs($${TARGET},$${MNE_BINARY_DIR},$${MNE_LIBRARY_DIR},$${EXTRA_ARGS})
DEPLOY_CMD = $$winDeployAppArgs($${TARGET},$${MNE_BINARY_DIR},$${MNE_LIBRARY_DIR},$${EXTRA_ARGS})
QMAKE_POST_LINK += $${DEPLOY_CMD}
}
unix:!macx {
Expand Down
2 changes: 1 addition & 1 deletion examples/ex_read_write_raw/ex_read_write_raw.pro
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ INCLUDEPATH += $${MNE_INCLUDE_DIR}
# Deploy dependencies
win32:!contains(MNECPP_CONFIG, static) {
EXTRA_ARGS =
DEPLOY_CMD = $$winDeployArgs($${TARGET},$${MNE_BINARY_DIR},$${MNE_LIBRARY_DIR},$${EXTRA_ARGS})
DEPLOY_CMD = $$winDeployAppArgs($${TARGET},$${MNE_BINARY_DIR},$${MNE_LIBRARY_DIR},$${EXTRA_ARGS})
QMAKE_POST_LINK += $${DEPLOY_CMD}
}
unix:!macx {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ INCLUDEPATH += $${MNE_INCLUDE_DIR}
# Deploy dependencies
win32:!contains(MNECPP_CONFIG, static) {
EXTRA_ARGS =
DEPLOY_CMD = $$winDeployArgs($${TARGET},$${MNE_BINARY_DIR},$${MNE_LIBRARY_DIR},$${EXTRA_ARGS})
DEPLOY_CMD = $$winDeployAppArgs($${TARGET},$${MNE_BINARY_DIR},$${MNE_LIBRARY_DIR},$${EXTRA_ARGS})
QMAKE_POST_LINK += $${DEPLOY_CMD}
}
unix:!macx {
Expand Down
2 changes: 1 addition & 1 deletion examples/ex_spectral/ex_spectral.pro
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ UI_DIR = $$PWD
# Deploy dependencies
win32:!contains(MNECPP_CONFIG, static) {
EXTRA_ARGS =
DEPLOY_CMD = $$winDeployArgs($${TARGET},$${MNE_BINARY_DIR},$${MNE_LIBRARY_DIR},$${EXTRA_ARGS})
DEPLOY_CMD = $$winDeployAppArgs($${TARGET},$${MNE_BINARY_DIR},$${MNE_LIBRARY_DIR},$${EXTRA_ARGS})
QMAKE_POST_LINK += $${DEPLOY_CMD}
}
unix:!macx {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ INCLUDEPATH += $${MNE_INCLUDE_DIR}
# Deploy dependencies
win32:!contains(MNECPP_CONFIG, static) {
EXTRA_ARGS =
DEPLOY_CMD = $$winDeployArgs($${TARGET},$${MNE_BINARY_DIR},$${MNE_LIBRARY_DIR},$${EXTRA_ARGS})
DEPLOY_CMD = $$winDeployAppArgs($${TARGET},$${MNE_BINARY_DIR},$${MNE_LIBRARY_DIR},$${EXTRA_ARGS})
QMAKE_POST_LINK += $${DEPLOY_CMD}
}
unix:!macx {
Expand Down
2 changes: 1 addition & 1 deletion examples/ex_tf_plot/ex_tf_plot.pro
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ INCLUDEPATH += $${MNE_INCLUDE_DIR}
# Deploy dependencies
win32:!contains(MNECPP_CONFIG, static) {
EXTRA_ARGS =
DEPLOY_CMD = $$winDeployArgs($${TARGET},$${MNE_BINARY_DIR},$${MNE_LIBRARY_DIR},$${EXTRA_ARGS})
DEPLOY_CMD = $$winDeployAppArgs($${TARGET},$${MNE_BINARY_DIR},$${MNE_LIBRARY_DIR},$${EXTRA_ARGS})
QMAKE_POST_LINK += $${DEPLOY_CMD}
}
unix:!macx {
Expand Down
Loading

0 comments on commit 3e786e2

Please sign in to comment.