if args.ios_combined: generate_command.append('-DCMAKE_IOS_INSTALL_COMBINED=YES') 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.ios_combined: generate_command.append('-DCMAKE_IOS_INSTALL_COMBINED=YES') if add_install_prefix: 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)
generate_command.append('-DCMAKE_VERBOSE_MAKEFILE=ON') 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, build_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)