Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GSL/Zproject crash when showing supported targets. #1284

Closed
stephan57160 opened this issue Dec 13, 2021 · 1 comment
Closed

GSL/Zproject crash when showing supported targets. #1284

stephan57160 opened this issue Dec 13, 2021 · 1 comment

Comments

@stephan57160
Copy link
Contributor

There are (at least) 2 ways to show the list of supported targets, from project.xml.

Modify project.xml and include something like :
<target name = "?" />
or
<target name = "not-supported-target" />

In both cases, zproject crashes :

...
gsl/4 M: Generating initial .gitattributes file
gsl/4 M: Generating initial .editorconfig file
gsl/4 M: Valid targets are:
(zproject.gsl 280) Undefined expression

I'm able to fix this and have a list like :

gsl/4 M: Generating initial .gitattributes file
gsl/4 M: Generating initial .editorconfig file
gsl/4 M: Valid targets are:
gsl/4 M:     cucumber        Cucumber integration with cucumber-c
gsl/4 M:     android         Native shared library for Android
gsl/4 M:     autotools       GNU build system
gsl/4 M:     cmake           CMake build system
gsl/4 M:     cygwin          Cygwin build system
gsl/4 M:     debian          packaging for Debian
gsl/4 M:     delphi          Delphi binding
gsl/4 M:     docker          packaging for Docker
gsl/4 M:     gyp             GYP build system (project.gyp)
gsl/4 M:     java            Java JNI binding
gsl/4 M:     java-msvc       MSVC builds for Java JNI binding
gsl/4 M:     jenkins         pipeline CI script for jenkins
gsl/4 M:     mingw32         Mingw32 build system
gsl/4 M:     nodejs          Node.js binding
...

I may raise a PR soon, but I'd like some advise :
I suppose the best option would be to stop processing after this list, right ?
But, I cannot find anything in GSL/ZPROJECT for that.
Is there anything available to stop GSL/ZPROJECT, other than calling a missing function ?

bluca added a commit that referenced this issue Dec 13, 2021
Problem: Zproject crash when listing supported targets - #1284.
@stephan57160
Copy link
Contributor Author

This one can be closed, as per PR #1285, then.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant