rm spurious 'None' in cmake command
This commit is contained in:
parent
d90d15cdf7
commit
3bde575656
@ -102,7 +102,7 @@ def gen_cmake_command(config):
|
||||
|
||||
s.append(" command.append('-DCMAKE_BUILD_TYPE=%s' % arguments['--type'])")
|
||||
s.append(" command.append('-G \"%s\"' % arguments['--generator'])")
|
||||
s.append(" if(arguments['--cmake-options']):")
|
||||
s.append(" if arguments['--cmake-options'] != \"''\":")
|
||||
s.append(" command.append('%s' % arguments['--cmake-options'])")
|
||||
|
||||
s.append("\n return ' '.join(command)")
|
||||
@ -154,7 +154,7 @@ def gen_setup(config, relative_path):
|
||||
options.append(['--generator=<STRING>', 'Set the CMake build system generator [default: Unix Makefiles].'])
|
||||
options.append(['--show', 'Show CMake command and exit.'])
|
||||
options.append(['--cmake-executable=<CMAKE_EXECUTABLE>', 'Set the CMake executable [default: cmake].'])
|
||||
options.append(['--cmake-options=<OPTIONS>', 'Define options to CMake [default: None].'])
|
||||
options.append(['--cmake-options=<OPTIONS>', "Define options to CMake [default: '']."])
|
||||
options.append(['<builddir>', 'Build directory.'])
|
||||
options.append(['-h --help', 'Show this screen.'])
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user