@@ -2990,15 +2990,17 @@ def dev_mgmt(toolchain=None, target=None, source=False, profile=False, build=Fal
2990
2990
dict (name = ['-c' , '--clean' ], action = 'store_true' , help = 'Clean the build directory before compiling' ),
2991
2991
dict (name = ['-S' , '--supported' ], dest = 'supported' , const = True , choices = ['matrix' , 'ides' ], nargs = '?' , help = 'Shows supported matrix of targets and toolchains' ),
2992
2992
dict (name = '--app-config' , dest = "app_config" , help = "Path of an application configuration file. Default is to look for \" mbed_app.json\" " ),
2993
+ dict (name = '--no-requirements' , action = 'store_true' , help = 'Disables checking for and installing any requirements.' ),
2993
2994
help = 'Generate an IDE project' ,
2994
2995
description = (
2995
2996
"Generate IDE project files for the current program." ))
2996
- def export (ide = None , target = None , source = False , clean = False , supported = False , app_config = None ):
2997
+ def export (ide = None , target = None , source = False , clean = False , supported = False , app_config = None , no_requirements = False ):
2997
2998
# Gather remaining arguments
2998
2999
args = remainder
2999
3000
# Find the root of the program
3000
3001
program = Program (getcwd (), True )
3001
- program .check_requirements (True )
3002
+ if not no_requirements :
3003
+ program .check_requirements (True )
3002
3004
# Remember the original path. this is needed for compiling only the libraries and tests for the current folder.
3003
3005
orig_path = getcwd ()
3004
3006
# Change directories to the program root to use mbed OS tools
0 commit comments