qibuild.build - Build tools

Low-level build functions

qibuild.build.make(build_dir, num_jobs=None, target=None)

Launch make from a build dir. Launch make -j <num_jobs> in num_jobs is not none

qibuild.build.nmake(build_dir, target=None)

Launch nmake from a build dir. For this to work, you may need to be in a Visual Studio command prompt, or having run vcvarsall.bar

qibuild.build.msbuild(sln_file, build_type='Debug', target=None, num_jobs=None)

Launch msbuild with correct configuration (debug or release), and with correct switch if num_jobs is not None

qibuild.build.num_jobs_to_args(num_jobs, cmake_generator)

Convert a number of jobs to a list of cmake args