-
Notifications
You must be signed in to change notification settings - Fork 226
Building on Windows
-
Download and install the following tools:
- Visual Studio Express 2013 for Windows Desktop [requires sign-in]
- CMake
- Qt Online Installer for Windows
-
Ensure that the
bin
directory for Qt has been added to thePATH
environment variable. -
Open the appropriate command prompt for Visual C++. In Visual C++ 2013, these shortcuts are labeled as follows:
- VS2013 x86 Native Tools Command Prompt
- VS2013 x64 Cross Tools Command Prompt
-
Change to the root of the source directory and build the project
mkdir build && cd build cmake -G"NMake Makefiles" -DCMAKE_BUILD_TYPE=Release .. nmake
-
The NitroShare binary will be in the
out\
directory and can be run with:out\nitroshare.exe
Note: if you receive an error similar to "The program can't start because [...].dll is missing from your computer.", then you will need to manually copy the Qt DLLs to the same directory as the executable. (This is done automatically for Qt 5.2+.)
Building the installers for 32 and 64-bit editions of Windows requires Inno Setup.
Run the following command to build a Windows EXE installer:
nmake exe