Exemplo n.º 1
0
detail.generate_command.run(
    generate_command, build_dir, polly_temp_dir, args.reconfig, logging
)
timer.stop()

build_command = [
    'cmake',
    '--build',
    build_dir
]

if args.config:
  build_command.append('--config')
  build_command.append(args.config)

build_command += target.args()

# NOTE: This must be the last `build_command` modification!
build_command.append('--')

if args.iossim:
  build_command.append('-arch')
  build_command.append('i386')
  build_command.append('-sdk')
  build_command.append('iphonesimulator')

if args.jobs:
  if toolchain_entry.is_xcode:
    build_command.append('-jobs')
    build_command.append('{}'.format(args.jobs))
  elif toolchain_entry.is_make and not toolchain_entry.is_nmake:
Exemplo n.º 2
0
        generate_command.append("-D{}".format(x))

timer = detail.timer.Timer()

timer.start('Generate')
detail.generate_command.run(generate_command, build_dir, polly_temp_dir,
                            args.reconfig, logging)
timer.stop()

build_command = ['cmake', '--build', build_dir]

if args.config:
    build_command.append('--config')
    build_command.append(args.config)

build_command += target.args()

# NOTE: This must be the last `build_command` modification!
build_command.append('--')

if args.iossim:
    build_command.append('-arch')
    build_command.append('i386')
    build_command.append('-sdk')
    build_command.append('iphonesimulator')

if args.jobs:
    if toolchain_entry.is_xcode:
        build_command.append('-jobs')
        build_command.append('{}'.format(args.jobs))
    elif toolchain_entry.is_make and not toolchain_entry.is_nmake: