Trying to build and run a simple "Hello world.." Qt application from command line, started the following steps and struck in compiling and building.. 1. created main.cpp file 2. run qmake -pro to create project file 3. run qmake to create make files ( here either have to run nmake or jom.. I tried jom ) 4. run jom.exe makefile , but nothing happens..
so here are my questions .. what is jom ( and expansion ?) , how to invoke jom from command line..
I am using Qt 5.1.1 with Microsoft Visual C++ compiler 11.0.
nmake doesn’t make use of all available processing power like GNU make. jom is a clone of nmake to support the execution of multiple independent commands in parallel. It can use an arbitrary number of processes concurrently.
When using it for example On a quad core machine with a Qt build takes half of the time it took using nmake.
You also can use the -j command line argument to set the number of concurrent processes:
C:\Qt\Qt5.1.1\Tools\QtCreator\bin\jom.exe -j 12 -f Makefile
12 represents the number of cores you want to use. I use 12 because I have 12 threads.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With