Skip to content

qt-labs/jom

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

640 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jom

jom is a parallel make tool for Windows. It is an nmake clone with support for parallel builds.

Building with QMake

qmake
nmake

Running the tests

nmake check

Building with CMake

CMake builds must use a separate build directory.

mkdir build
cd build
cmake ..\jom -G "NMake Makefiles" -DCMAKE_PREFIX_PATH=<qt-path> -DCMAKE_INSTALL_PREFIX=<install-path>
nmake
nmake install

Running the tests

Enable tests during configuration:

cmake ..\jom -G "NMake Makefiles" -DBUILD_TESTING=ON
nmake
ctest -V

Environment variables

Like nmake, jom reads default command line arguments from an environment variable: JOMFLAGS. If JOMFLAGS is not set, MAKEFLAGS is read. This is useful to set up separate flags for nmake and jom, e.g.

set MAKEFLAGS=L
set JOMFLAGS=Lj8

.SYNC dependents

The .SYNC directive on the right side of a description block prevents jom from running all of its dependents in parallel.

all: Init Prebuild .SYNC Build .SYNC Postbuild

This adds additional dependencies so that Init and Prebuild are built before Build, and Build is built before Postbuild.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors