Browse Source

Update readme

- Add optional parameter to 'usage' section regenerate only outdated files
Alexey Edelev 6 years ago
parent
commit
c2f174230e
1 changed files with 2 additions and 2 deletions
  1. 2 2
      README.md

+ 2 - 2
README.md

@@ -6,7 +6,7 @@ Protobuf plugin to generate Qt classes
 ```bash
 mkdir build
 cd build
-cmake [-DCMAKE_PREFIX_PATH=<PATH_TO_Qt5Config.cmake_OR_qt5-config.cmake>] ..
+cmake [-DCMAKE_PREFIX_PATH=<path/to/Qt5Config.cmake|path/to/qt5-config.cmake>] ..
 make -j<N>
 ```
 
@@ -20,5 +20,5 @@ cmake --build . --target qtprotobuf --config RELEASE
 
 ## Usage
 ```bash
-protoc --plugin=protoc-gen-qtprotobuf=<path/to/bin>/qtprotobuf --qtprotobuf_out=<output_dir> <protofile>.proto
+protoc --plugin=protoc-gen-qtprotobuf=<path/to/bin>/qtprotobuf --qtprotobuf_out=<output_dir> <protofile>.proto [--qtprotobuf_opt=out=<output_dir>]
 ```