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