QMake by default does ‘check’ build. There are many other operations QMake can do, the following is a summary of the commands and variables it understands.
Commonly used commands
In particualr it removes object files created during compilation for this library this forces all objects in the current library to be recompiled.
Build binaries and libraries with consistancy checking (Default). this is the recomended target for development work.
Build binaries and code with debug information, but link with the check version of RAVL. This should be quicker than debugging all of RAVL.
Build binaries with debug information, link executables with the all available debug information. NB. The executables may be very large.
Build optimised shared libraries/executables.
Output optimised code with profiling info suitable for prof.
Output optimised code with profiling info suitable for gprof.
Build all executables in the CURRENT directory with purify. purify executables are prefixed with ‘pure_’. Use only on solaris machines.
Check-out all source, and put headers in the right place.
Remove all temporary files. (NB. Use VAR=… to set variant.) (See below for details)
as clean with VAR=opt
as clean with VAR=debug
as clean with VAR=check
Like clean, but removes library as well.
Remove all dependency files. Clean dependancy information. This forces the make system to recompute the library and file dependancies.
Clean and remove all executables and libraries for current variant.
Make automatic documentation.
Check headers compile cleanly.
RCS- Tells you which libraries are needed/used to create an executable.
Print this help on the QMake system.
List of public def’s files.
Compile and run test executables.
Rerun the final stage of testing.
Print help on more obscure/unstable parts of the QMake system.
Number of processors to use.
check (default), debug, opt
Print command lines during make.
Pass extra options to the compiler.
RCS- List all files that are checked out in source tree.
List all directories that are turned off.
List all lines in source than contain ‘FIXME’.
RCS- Check in directory tree. See ‘notes’ for details.
Make semantic documentation
% qm qopt
Make optimised version of code, with frozen dependencies.
% qm debug PROCS=1 QMAKE_INFO=1
Build a debug version of file and executables, use only one processor and show the commands that are executed.