- CMake
- Linux
sudo apt install cmake
- Windows
Install with choco package manager
Or, Download CMake windows installer on here
choco install cmake
- Linux
- Websocketpp (Added on path lib/websocketpp - no more action)
- asd
- Boost (manual install)
- Linux
sudo apt install libboost-all-dev
- Windows you can follow the installation guide on windows here
- Linux
- Change working directory to
{YOUR_PROJECT_PATH}/build
- cwd for build server ```bash cd build/server
- CMake Build Initialization
- cwd for build client
cd build/client
- Build client
orcmake ../
cmake ../ -DBUILD_TYPE_SERVER=OFF
- Build server
- Make & linking file
cmake ../ -DBUILD_TYPE_SERVER=OFF
Make sure, change working directory Like in step 1 on build
if your current working directory in C:/path/to/YOUR_PROJECT_PATH
- On Linux
main.so
- On Windows
main.exe
Make sure your current working directory like [C|D]:/path/to/YOUR_PROJECT_PATH
- Client
- Initilize CMakeFiles
cd build/client && cmake ../ && cd ../../
- Compile source to binary file
make -C ./build/client -s
- Windows