Skip to content

[tools] 添加scons --target别名scons --ide,减少用户对target的误解 #10127

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions tools/options.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,10 +70,10 @@ def AddOptions():
action = 'store_true',
default = False,
help = 'clean up the library by --buildlib')
AddOption('--target',
AddOption('--target', '--ide',
dest = 'target',
type = 'string',
help = 'set target project: mdk/mdk4/mdk5/iar/vs/vsc/ua/cdk/ses/makefile/eclipse/codelite/cmake')
help = 'set ide project: mdk/mdk4/mdk5/iar/vs/vsc/ua/cdk/ses/makefile/eclipse/codelite/cmake')
AddOption('--cmsispack',
dest = 'cmsispack',
type = 'string',
Expand Down Expand Up @@ -153,4 +153,4 @@ def AddOptions():
action='store_true',
default=False,
help='create minimal distribution based on compile_commands.json.'+\
'So you should run `bear -- scons` to generate compile_commands.json first.')
'So you should run `bear -- scons` to generate compile_commands.json first.')