FFIG / ffig

Generate code to call C++ libraries from other languages
MIT License
29 stars 9 forks source link

N412 require or disable optional bindings #418

Closed ajbennieston closed 6 years ago

ajbennieston commented 6 years ago

What does this PR do?

N412: Add a way to require or disable optional language bindings.

This commit adds --require-{LANG} and --disable-{LANG} flags (e.g. --require-go or --disable-dotnet) to the build.py script, and supports these in the CMakeLists.txt via variables FFIG_REQUIRE_{LANG} and FFIG_DISABLE_{LANG}

Closes #412