X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=win%2FREADME.txt;h=f5b2d8c83f7df9bceab39daf7bfc155f734617f3;hb=63e300ed082b82530ad5ae0949f45686746b7c9b;hp=24f4fd7e683d00a193f26e3b3b63a5506f55a000;hpb=b17ba83e9c5da3620277ff317b5f82dc397813d7;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/win/README.txt b/win/README.txt index 24f4fd7e6..f5b2d8c83 100644 --- a/win/README.txt +++ b/win/README.txt @@ -1,16 +1,19 @@ Building InspIRCd for Windows: Prerequisites: - Visual Studio 2010 or newer (http://www.microsoft.com/visualstudio/eng/products/visual-studio-express-products) + Visual Studio 2015 or newer (https://www.visualstudio.com/) CMake 2.8 or newer (http://www.cmake.org/) If building the installer, NSIS http://nsis.sourceforge.net/ Configuring: First copy any extra modules from extras (such as m_mysql) to the modules directory that you want to build. - Run CMake to generate build files. The CMake scripts are set up to do an out of source build from the - "win\build" directory, so navigate there before running CMake, eg: - + Run CMake to generate build files. This can be done using the CMake GUI by setting the source code path to "win", + and the binary path to "win/build", followed by pressing "Configure". Modify any variables you need, such as install + prefix, and then press "Generate". + + Alternatively CMake can be run from Command Prompt from the "win\build" directory, eg: + c:\Users\Adam\Desktop\inspircd\win\build>cmake -G "Visual Studio 11" .. -- Check for working CXX compiler using: Visual Studio 11 -- Check for working CXX compiler using: Visual Studio 11 -- works @@ -29,6 +32,8 @@ Configuring: cmake -DEXTRA_INCLUDES:STRING="C:\inspircd-includes" -DEXTRA_LIBS:STRING="C:\inspircd-libs" -G "Visual Studio 11" .. + See the CMake GUI for a full list of variables that can be set. + Additionally, place any DLL files required by any extra modules in to the win directory for the installer to pick up. Building: