diff options
| author | Glenn Smith <glenn@vector35.com> | 2021-08-17 16:47:36 -0400 |
|---|---|---|
| committer | Glenn Smith <glenn@vector35.com> | 2021-08-17 16:56:58 -0400 |
| commit | a9bfea5e6b844f7129a5510176e85b274ccab795 (patch) | |
| tree | 42fbd08392e3334d02015747568ef354cae5f142 /python/generator.cpp | |
| parent | 54c78775ab4eb53c991ed17e4317bf876dea5bb0 (diff) | |
CMake option to set license for generator
Diffstat (limited to 'python/generator.cpp')
| -rw-r--r-- | python/generator.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/python/generator.cpp b/python/generator.cpp index 4901b07a..ed28e6f3 100644 --- a/python/generator.cpp +++ b/python/generator.cpp @@ -160,6 +160,11 @@ int main(int argc, char* argv[]) return 1; } + if (getenv("BN_LICENSE")) + { + BNSetLicense(getenv("BN_LICENSE")); + } + Architecture::Register(new GeneratorArchitecture()); // Parse API header to get type and function information |
