Skip to content

Commit

Permalink
Revamp the codegen application's CLI
Browse files Browse the repository at this point in the history
Specifically:
* add support for specifying the API descriptions and output
  directories via command line options;
* externalised (no longer embed) the API descriptions;
* default both directories to be relative to the code generators own
  source code al la qFindTestData; and
* add basic commald line options like -h or --help
  • Loading branch information
pcolby committed Apr 3, 2018
1 parent 92593cc commit 27a110b
Show file tree
Hide file tree
Showing 8 changed files with 52 additions and 636 deletions.
2 changes: 1 addition & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[submodule "codegen/aws-sdk-cpp"]
path = codegen/qrc/aws-sdk-cpp
path = codegen/aws-sdk-cpp
url = https://github.com/aws/aws-sdk-cpp.git
2 changes: 1 addition & 1 deletion codegen/codegen.pro
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ LIBS += -lGrantlee_Templates
VPATH += qrc src
HEADERS += generator.h
SOURCES += generator.cpp main.cpp
RESOURCES += api-descriptions.qrc templates.qrc
RESOURCES += templates.qrc
Loading

0 comments on commit 27a110b

Please sign in to comment.