예제 #1
0
파일: polly.py 프로젝트: dpantele/polly
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:
예제 #2
0
파일: polly.py 프로젝트: iznotek/polly
        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: