Building InspIRCd for Windows:\r
\r
Prerequisites:\r
- Visual Studio 2010 or newer (http://www.microsoft.com/visualstudio/eng/products/visual-studio-express-products)\r
+ Visual Studio 2015 or newer (https://www.visualstudio.com/)\r
CMake 2.8 or newer (http://www.cmake.org/)\r
If building the installer, NSIS http://nsis.sourceforge.net/\r
\r
Configuring:\r
First copy any extra modules from extras (such as m_mysql) to the modules directory that you want to build.\r
\r
- Run CMake to generate build files. The CMake scripts are set up to do an out of source build from the\r
- "win\build" directory, so navigate there before running CMake, eg:\r
-\r
+ Run CMake to generate build files. This can be done using the CMake GUI by setting the source code path to "win",\r
+ and the binary path to "win/build", followed by pressing "Configure". Modify any variables you need, such as install\r
+ prefix, and then press "Generate".\r
+ \r
+ Alternatively CMake can be run from Command Prompt from the "win\build" directory, eg:\r
+ \r
c:\Users\Adam\Desktop\inspircd\win\build>cmake -G "Visual Studio 11" ..\r
-- Check for working CXX compiler using: Visual Studio 11\r
-- Check for working CXX compiler using: Visual Studio 11 -- works\r
\r
cmake -DEXTRA_INCLUDES:STRING="C:\inspircd-includes" -DEXTRA_LIBS:STRING="C:\inspircd-libs" -G "Visual Studio 11" ..\r
\r
+ See the CMake GUI for a full list of variables that can be set.\r
+ \r
Additionally, place any DLL files required by any extra modules in to the win directory for the installer to pick up.\r
\r
Building:\r