mirror of
https://github.com/ONLYOFFICE/core.git
synced 2026-02-10 18:05:41 +08:00
Generate all projects if ommited
This commit is contained in:
@ -25,7 +25,7 @@ For running C++ and C# code samples use python script `configure/configure.py` w
|
||||
+ Makefile
|
||||
|
||||
To use `configure.py` you need to specify following options:
|
||||
1. Which project files to generate: `--vs`, `--qt` or `--make`. Several options are available at the same time, but some of them are not supported on all platforms.
|
||||
1. Which project files to generate: `--vs`, `--qt` or `--make`. Several options are available at the same time, but some of them are not supported on all platforms. In case you provide none of these options, all available projects will be generated.
|
||||
2. Test samples with `--test TEST`. Some available options:
|
||||
- `--test all` – generate projects for both C++ and C#.
|
||||
- `--test cpp` – generate projects only for C++ samples
|
||||
|
||||
@ -269,9 +269,11 @@ if __name__ == '__main__':
|
||||
exit(1)
|
||||
|
||||
if not (args.vs or args.qt or args.make):
|
||||
parser.print_usage()
|
||||
log('error', 'at least one of --vs, --qt or --make must be provided')
|
||||
exit(1)
|
||||
if os_name == 'windows':
|
||||
args.vs = True
|
||||
args.qt = True
|
||||
if os_name != 'windows':
|
||||
args.make = True
|
||||
|
||||
# filter tests
|
||||
tests_selected = getSelectedTests(args.tests)
|
||||
|
||||
Reference in New Issue
Block a user