add flag --cmake-executable; fixes #81
This commit is contained in:
parent
4c0a938426
commit
831e24a35b
@ -92,7 +92,7 @@ def gen_cmake_command(config):
|
||||
for env in config.get(section, 'export').split('\n'):
|
||||
s.append(' command.append(%s)' % env)
|
||||
|
||||
s.append(" command.append('cmake')")
|
||||
s.append(" command.append('%s' % arguments['--cmake-executable'])")
|
||||
|
||||
# take care of cmake definitions
|
||||
for section in config.sections():
|
||||
@ -153,6 +153,7 @@ def gen_setup(config, relative_path):
|
||||
options.append(['--type=<TYPE>', 'Set the CMake build type (debug, release, or relwithdeb) [default: release].'])
|
||||
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(['<builddir>', 'Build directory.'])
|
||||
options.append(['-h --help', 'Show this screen.'])
|
||||
|
Loading…
x
Reference in New Issue
Block a user