generate_command.append(install_dir_option) if cpack_generator: generate_command.append('-DCPACK_GENERATOR={}'.format(cpack_generator)) if args.fwd != None: for x in args.fwd: 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 local_install: generate_command.append(install_dir_option) if cpack_generator: generate_command.append('-DCPACK_GENERATOR={}'.format(cpack_generator)) if args.fwd != None: for x in args.fwd: 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')