Mercurial > hg > orthanc-stone
comparison Applications/Samples/StoneSampleCommands_generate.py @ 527:b1377625e4ba bgo-commands-codegen
Removed ICommand and friends + fixed warnings + added missing header files in
solution (in CMakeLists.txt file)
author | Benjamin Golinvaux <bgo@osimis.io> |
---|---|
date | Sun, 17 Mar 2019 20:14:20 +0100 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
522:700aa66f2f29 | 527:b1377625e4ba |
---|---|
1 import sys | |
2 import os | |
3 | |
4 # add the generation script location to the search paths | |
5 sys.path.append(os.path.join(os.path.dirname(__file__), '..', '..', 'Resources', 'CodeGeneration')) | |
6 | |
7 # import the code generation tooling script | |
8 import stonegentool | |
9 | |
10 schemaFile = os.path.join(os.path.dirname(__file__), 'StoneSampleCommands.yml') | |
11 outDir = os.path.dirname(__file__) | |
12 | |
13 # ignition! | |
14 stonegentool.Process(schemaFile, outDir) | |
15 | |
16 |