Exemplo n.º 1
0
def build(proj_props, cleanBuild):
    log_f = open("build.log", "w")
    atexit.register(close_log)

    proj = project(proj_props, os.getcwd())
    proj.print_props()
    proj.check()

    make_bjam(proj)
    if cleanBuild: clean_all(proj)
    make_boost(proj)

    config_and_make_freetype(proj)
    config_and_make_freeimage(proj)
    config_and_make_llvm(proj)
    config_and_make_salvia(proj)

    install_prebuild_binaries(proj)
Exemplo n.º 2
0
def build(proj_props, cleanBuild):
    proj = project(proj_props, os.getcwd())

    inst = installer(RESOURCE_COMMIT, proj.source_root())
    inst.update_all()

    proj.print_props()
    proj.check()

    make_bjam(proj)
    # if cleanBuild: clean_all(proj)
    make_boost(proj)
    config_and_make_freetype(proj)
    config_and_make_freeimage(proj)
    config_and_make_llvm(proj)
    config_and_make_salvia(proj)

    install_prebuild_binaries(proj)
Exemplo n.º 3
0
def build(proj_props, cleanBuild):
	log_f = open("build.log", "w")
	atexit.register(close_log)

	proj = project(proj_props, os.getcwd())
	proj.print_props()
	proj.check()

	make_bjam(proj)
	if cleanBuild: clean_all(proj)
	make_boost(proj)

	config_and_make_freetype(proj)
	config_and_make_freeimage(proj)
	config_and_make_llvm(proj)
	config_and_make_salvia(proj)

	install_prebuild_binaries(proj)
Exemplo n.º 4
0
def build(proj_props, cleanBuild):
    proj = project(proj_props, os.getcwd())
    
    inst = installer(RESOURCE_COMMIT, proj.source_root())
    inst.update_all()

    proj.print_props()
    proj.check()

    make_bjam(proj)
    if cleanBuild: clean_all(proj)
    make_boost(proj)

    config_and_make_freetype(proj)
    config_and_make_freeimage(proj)
    config_and_make_llvm(proj)
    config_and_make_salvia(proj)

    install_prebuild_binaries(proj)
Exemplo n.º 5
0
        sys.exit(1)

    if copy_newer("build_conf.tmpl", "proj.py"):
        print(
            "Project file was generated.\nPlease edit proj.py and run build_all.py again."
        )
        os.system('pause')
        sys.exit(1)

    report_info("Salvia building start.")
    # Load Project
    prj_props = __import__("proj")

    for opt, arg in opts:
        if opt == "-c" or opt == "--clean":
            proj = project(prj_props, os.getcwd())
            proj.print_props()
            clean_all(proj)
            os.system("pause")
            sys.exit(0)

    try:
        build(prj_props, False)
    except building_error as err:
        print("[E] " + err.message())
        print("[E] Salvia built failed.")
        os.system("pause")
        sys.exit(1)

    report_info("Salvia building done.")
    os.system("pause")
Exemplo n.º 6
0
		print("Option parsed error.")
		os.system("pause")
		sys.exit(1)

	if copy_newer("build_conf.tmpl", "proj.py"):
		print( "Project file was generated.\nPlease edit proj.py and run build_all.py again." )
		os.system('pause')
		sys.exit(1)

	report_info("Salvia building start.")
	# Load Project
	prj_props = __import__("proj")

	for opt, arg in opts:
		if opt == "-c" or opt == "--clean":
			proj = project(prj_props, os.getcwd())
			proj.print_props()
			clean_all(proj)
			os.system("pause")
			sys.exit(0)

	try:
		build(prj_props, False)
	except building_error as err:
		print("[E] " + err.message())
		print("[E] Salvia built failed.")
		os.system("pause")
		sys.exit(1)
	
	report_info("Salvia building done.")
	os.system("pause")