File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -194,20 +194,13 @@ function createProjectFiles {
194194
195195 cd ${pkg_ofroot}
196196 echo " Creating project files for $pkg_platform "
197- if [ " $pkg_platform " == " vs" ]; then
198- pg_platform=" vs"
199- else
197+ if [ " $pkg_platform " == " vs" ] || [ " $pkg_platform " == " android" ] || [ " $pkg_platform " == " ios" ]; then
200198 pg_platform=$pkg_platform
201- fi
202-
203- # add vscode to all platforms apart from ios/tvos/android
204- if [ " $pkg_platform " == " android" ] || [ " $pkg_platform " == " ios" ]; then
205- pg_template=" "
206199 else
207- pg_template= " -tvscode "
200+ pg_platform= " $pkg_platform ,vscode "
208201 fi
209202
210- ${main_ofroot} /apps/projectGenerator/commandLine/bin/projectGenerator_debug --recursive -p${pg_platform} ${pg_template} -o$pkg_ofroot $pkg_ofroot /examples > /dev/null
203+ ${main_ofroot} /apps/projectGenerator/commandLine/bin/projectGenerator_debug --recursive -p${pg_platform} -o$pkg_ofroot $pkg_ofroot /examples > /dev/null
211204
212205 # fix config.make because the project generator is putting in the full path to the OF_ROOT as it is designed to do.
213206 # in this case we actually don't want to set it as the default of ../../../ is fine.
You can’t perform that action at this time.
0 commit comments