|
@ -165,6 +165,11 @@ parser.add_option("--with-arm-float-abi", |
|
|
help="Specifies which floating-point ABI to use. Valid values are: " |
|
|
help="Specifies which floating-point ABI to use. Valid values are: " |
|
|
"soft, softfp, hard") |
|
|
"soft, softfp, hard") |
|
|
|
|
|
|
|
|
|
|
|
parser.add_option("--ninja", |
|
|
|
|
|
action="store_true", |
|
|
|
|
|
dest="ninja_build", |
|
|
|
|
|
help="Generate files for the ninja build system") |
|
|
|
|
|
|
|
|
(options, args) = parser.parse_args() |
|
|
(options, args) = parser.parse_args() |
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -457,7 +462,9 @@ write('config.gypi', "# Do not edit. Generated by the configure script.\n" + |
|
|
write('config.mk', "# Do not edit. Generated by the configure script.\n" + |
|
|
write('config.mk', "# Do not edit. Generated by the configure script.\n" + |
|
|
("BUILDTYPE=%s\n" % ('Debug' if options.debug else 'Release'))) |
|
|
("BUILDTYPE=%s\n" % ('Debug' if options.debug else 'Release'))) |
|
|
|
|
|
|
|
|
if os.name == 'nt': |
|
|
if options.ninja_build: |
|
|
|
|
|
gyp_args = ['-f', 'ninja'] |
|
|
|
|
|
elif os.name == 'nt': |
|
|
gyp_args = ['-f', 'msvs', '-G', 'msvs_version=2010'] |
|
|
gyp_args = ['-f', 'msvs', '-G', 'msvs_version=2010'] |
|
|
else: |
|
|
else: |
|
|
gyp_args = ['-f', 'make'] |
|
|
gyp_args = ['-f', 'make'] |
|
|