-
Notifications
You must be signed in to change notification settings - Fork 317
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[tools] Factorize and clean plugin list filtering (#4748)
* Try to factorize plugin_list filtyering * Fix path error * Fix missing $ * Fix Windows specification * Remove all plugins, leaving only Sofa.Metis and MultiThreading
- Loading branch information
Showing
5 changed files
with
79 additions
and
121 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
#!/bin/bash | ||
|
||
function clean_default_plugins() | ||
{ | ||
# Keep plugin_list as short as possible | ||
echo "" > "$1/plugin_list.conf" | ||
disabled_plugins='plugins_ignored_by_default' | ||
for plugin in \ | ||
ArticulatedSystemPlugin \ | ||
Geomagic \ | ||
BeamAdapter \ | ||
CGALPlugin \ | ||
CImgPlugin \ | ||
CollisionOBBCapsule \ | ||
CSparseSolvers \ | ||
DiffusionSolver \ | ||
image \ | ||
InvertibleFVM \ | ||
ManifoldTopologies \ | ||
ModelOrderReduction \ | ||
PluginExample \ | ||
Registration \ | ||
SceneCreator \ | ||
SensableEmulation \ | ||
ShapeMatchingPlugin \ | ||
SofaAssimp \ | ||
SofaCarving \ | ||
SofaCUDA \ | ||
SofaDistanceGrid \ | ||
SofaEulerianFluid \ | ||
SofaImplicitField \ | ||
SofaMatrix \ | ||
SoftRobots \ | ||
SofaSimpleGUI \ | ||
SofaSphFluid \ | ||
SofaValidation \ | ||
STLIB \ | ||
VolumetricRendering \ | ||
; do | ||
disabled_plugins=$disabled_plugins'\|'$plugin | ||
done | ||
grep -v $disabled_plugins "$1/plugin_list.conf.default" >> "$1/plugin_list.conf" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters