How to build - necto/denfer GitHub Wiki
Build in our project is performed using Qt qmake utility. Configuration is done through project .pro files, and basing on them qmake creates regular makefiles or Visual Studio projects.
More info on qmake is available here.
From root project directory run:
- To create makefiles
qmake denfer.pro
* To clean
make clean
* To build
make
* Rebuild after significant change (new/deleted files, modification in *.pro files). (The sequence is important!) :
make clean
find . -name Makefile | xargs rm
qmake
make
Reference compiler for Windows is MS VC++ 10, so in order to build our project you should download Windows 7 SDK, or use MS Visual Studio 2010.
To perform build using Visual Studio you must first create/update .vproj files:
qmake -r -tp vc denfer.pro
After it you will see denfer.sln
solution file in root directory. Than build is done through regular VS process.
Just open denfer.pro
file and run build.
-
Add
C:\Qt\qtcreator-2.7.0\bin
(or whatever dir with jom.exe you have) to your system PATH env variable -
Run Visual Studio Command Prompt
-
cd to denfer dir
-
qmake.exe denfer.pro -r -spec win32-msvc2010
-
jom.exe clean
-
jom.exe