From 6b2d45c154ddbd5ea4381156f5b763c8d0c29e07 Mon Sep 17 00:00:00 2001 From: Adam Date: Sat, 23 Mar 2013 22:47:25 -0500 Subject: win: Made config, modules, data, and log paths configurable. Update win/README with instructions on how to use cmake-gui. Always build m_regex_stdlib, since all VS versions we support support it. --- win/README.txt | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'win/README.txt') diff --git a/win/README.txt b/win/README.txt index 24f4fd7e6..908cd3920 100644 --- a/win/README.txt +++ b/win/README.txt @@ -8,9 +8,12 @@ Prerequisites: 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: -- cgit v1.2.3