CMake

Building and packing on Windows for Windows

  1. Install MinGW.
  2. Install Qt.
  3. Install NSIS installer
  4. Run MinGW shell and go to directory of CMake project.
  5. PATH=/c/mingw/lib:/c/mingw/bin:/c/vala/lib:/c/vala/bin:/c/Qt/4.8.5/lib:/c/Qt/4.8.5/bin:/c/MinGW/msys/bin:$PATH
  6. ./bootstrap
  7. make
  8. make install
  9. cpack