Skip to content

Commit

Permalink
Update Faust library list in faustgen~.
Browse files Browse the repository at this point in the history
  • Loading branch information
sletz committed May 25, 2021
1 parent 8a58b06 commit a344671
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 15 deletions.
17 changes: 14 additions & 3 deletions embedded/faustgen/src/faustgen~.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -744,6 +744,7 @@ void faustgen_factory::display_libraries()
#ifdef WIN32
open_file(FAUST_PDF_LIBRARY);
open_file("all.lib");
open_file("aanl.lib");
open_file("analyzers.lib");
open_file("basics.lib");
open_file("compressors.lib");
Expand All @@ -753,7 +754,7 @@ void faustgen_factory::display_libraries()
open_file("dx7.lib");
open_file("envelopes.lib");
open_file("filters.lib");
open_file("float.lib");
open_file("fds.lib");
open_file("hoa.lib");
open_file("instruments.lib");
open_file("interpolators.lib");
Expand All @@ -765,6 +766,8 @@ void faustgen_factory::display_libraries()
open_file("oscillators.lib");
open_file("phaflangers.lib");
open_file("physmodels.lib");
open_file("platform.lib");
open_file("quantizers.lib");
open_file("reducemaps.lib");
open_file("reverbs.lib");
open_file("routes.lib");
Expand All @@ -778,9 +781,12 @@ void faustgen_factory::display_libraries()
open_file("tonestacks.lib");
open_file("tubes.lib");
open_file("vaeffects.lib");
open_file("version.lib");
open_file("wdmodels.lib");
open_file("webaudio.lib");
#else
open_file(FAUST_PDF_LIBRARY);
display_libraries_aux("all.lib");
display_libraries_aux("aanl.lib");
display_libraries_aux("analyzers.lib");
display_libraries_aux("basics.lib");
display_libraries_aux("compressors.lib");
Expand All @@ -790,7 +796,7 @@ void faustgen_factory::display_libraries()
display_libraries_aux("dx7.lib");
display_libraries_aux("envelopes.lib");
display_libraries_aux("filters.lib");
display_libraries_aux("float.lib");
display_libraries_aux("fds.lib");
display_libraries_aux("hoa.lib");
display_libraries_aux("instruments.lib");
display_libraries_aux("interpolators.lib");
Expand All @@ -802,6 +808,8 @@ void faustgen_factory::display_libraries()
display_libraries_aux("oscillators.lib");
display_libraries_aux("phaflangers.lib");
display_libraries_aux("physmodels.lib");
display_libraries_aux("platform.lib");
display_libraries_aux("quantizers.lib");
display_libraries_aux("reducemaps.lib");
display_libraries_aux("reverbs.lib");
display_libraries_aux("routes.lib");
Expand All @@ -815,6 +823,9 @@ void faustgen_factory::display_libraries()
display_libraries_aux("tonestacks.lib");
display_libraries_aux("tubes.lib");
display_libraries_aux("vaeffects.lib");
display_libraries_aux("version.lib");
display_libraries_aux("wdmodels.lib");
display_libraries_aux("webaudio.lib");
#endif
}

Expand Down
24 changes: 12 additions & 12 deletions tools/faust2appls/faust2juce
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,8 @@ do
BUILD_VST2="1"
fi
elif [ $p = "-jucemodulesdir" ]; then
shift
JUCE_MODULES_DIR=$(echo $1 | sed -e 's/\//\\\//g')
shift
JUCE_MODULES_DIR=$(echo $1 | sed -e 's/\//\\\//g')
elif [ $p = "-disable-splash-screen" ]; then
DISPLAY_SPLASH_SCREEN="0"
elif [ $p = "-jsynth" ]; then
Expand All @@ -91,21 +91,21 @@ do
DEF+="MIDICTRL "
IS_MIDI="1"
elif [ $p = "-osc" ]; then
DEF+="OSCCTRL "
elif [ $p = "-llvm" ]; then
IS_LLVM="1"
DEF+="OSCCTRL "
elif [ $p = "-llvm" ]; then
IS_LLVM="1"
elif [ $p = "-soundfile" ]; then
DEF+="SOUNDFILE "
elif [ ${p:0:1} = "-" ]; then
if [ $p = "-double" ]; then
FAUSTFLOAT="double"
fi
OPTIONS="$OPTIONS $p"
elif [[ -f "$p" ]] && [ ${p: -4} == ".dsp" ]; then
FILES="$FILES $p"
else
OPTIONS="$OPTIONS $p"
fi
OPTIONS="$OPTIONS $p"
elif [[ -f "$p" ]] && [ ${p: -4} == ".dsp" ]; then
FILES="$FILES $p"
else
OPTIONS="$OPTIONS $p"
fi

shift

Expand Down Expand Up @@ -167,7 +167,7 @@ for p in $FILES; do

CUR=$(pwd)
f=$(basename "$p")
SRCDIR=$(dirname "$p")
SRCDIR=$(dirname "$p")

# creates the dir
dspName="${f%.dsp}"
Expand Down

0 comments on commit a344671

Please sign in to comment.