master | dev |
---|---|
End-user interface to connect and work with a running instance of collab-server.
- Make sure you have all the requirements
- Build this project (see build instructions)
- Include the
collabdata
headers - Include the
collabclient
headers - Link your application with
libcollabclient.a
(built in the previous step)
- Server
- Connect to a CollabServer
- Disconnect from a CollabServer
- Data
- Start a collaborative room for a data
- Join a collaborative room for an existing data
- Leave the current room
- Requirements
- CMake
- C++11
pragma once
support- Tested with gcc 4.8.4
- Tested with clang 5.0.0
- Tested only on Linux. No support certified for Mac and Windows
- Dependencies (already in the repo and built by CMake)
# Build the tests and examples
mkdir build
cd build
cmake -DCOLLABSERVER_CLIENT_TESTS=ON -DCOLLABSERVER_CLIENT_EXAMPLES=ON ..
make
make runTests
make runExamples
# Or use the build script
./build.sh
CMake option | Description |
---|---|
COLLABSERVER_CLIENT_TESTS | (ON / OFF) Set ON to build unit tests |
COLLABSERVER_CLIENT_EXAMPLES | (ON / OFF) Set ON to build examples |
CMAKE_BUILD_TYPE | Debug, Release, RelWithDebInfo, MinSizeRel |
- Install Doxygen
- Run
doxygen Doxyfile
- Files are placed in
doc
folder
Feel free to ask me any question, share your ideas or open an issue.
I started this project during my master thesis at University of Montreal.
Format uses clang-format with the Google Coding style https://google.github.io/styleguide/cppguide.html (see .clang-format
for further information).
Make sure you autoformat on save (see https://clang.llvm.org/docs/ClangFormat.html)