* Add '''"-IC:\path\to\include\directory"''' to the end of the CXXFLAGS line to add compiler search directories
* Add '''"-IC:\path\to\lib\directory"''' to the end of the LDFLAGS line to add linker search directories
| Use [[http://cmake.org/|CMake]]'s GUI to select a source directory (the directory EOSERV has been extracted to), and a build directory (a directory you want to build EOSERV in). To avoid problems, make sure the build directory is not the same as the source directory.
Click "Configure", and select your toolchain (GCC and Clang should be automatically detected, or compiler paths can be specified manually), and output format (MinGW Makefiles). Various build options can be changed using the GUI (such as toggling MySQL/SQLite support) before clicking "Generate".
If you get any errors about missing libraries, you should use the GUI to manually specify locations to headers and libraries. e.g. SQLITE3_LIBRARY can be set to sqlite3.dll (e.g. "C:\sqlite3\sqlite3.dll"), and SQLITE3_INCLUDES to a path containing sqlite3.h (e.g. "C:\sqlite3\"). If the pthreads library is missing, it should be installed through mingw-get.
==== Building ====
Once the project has been successfully configured, you can build EOSERV by typing '''mingw32-make''' in a command line in the build directory.
|