-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathINSTALL
More file actions
21 lines (16 loc) · 853 Bytes
/
INSTALL
File metadata and controls
21 lines (16 loc) · 853 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Building the game
By default, everything except the web client is built; to build only
some part of squarez, use the following cmake options:
BUILD_TEST to build a test program
BUILD_QML_CLIENT to build the desktop client (requires Qt5)
BUILD_SERVER to build the server (requires fastcgi++, boost)
ENABLE_SYSTEMD to enable systemd support in the server (requires systemd)
## HTML version
An HTML/javascript version of the game can be compled using emscripten.
Run:
cmake -DCMAKE_TOOLCHAIN_FILE=/usr/lib/emscripten/cmake/Modules/Platform/Emscripten.cmake
Assuming the emscripten root is /usr/lib/emscripten
## Server for multiplayer mode
The multiplayer mode requires a server, which is a fastcgi binary:
File is squarezd and requires a --port argument, the http server must
route all request under squarez/ to the squarezd server