Skip to content
This repository has been archived by the owner on Oct 10, 2022. It is now read-only.
/ ser4cpp Public archive

Safe low-level serializations routines for C++

License

Notifications You must be signed in to change notification settings

automatak/ser4cpp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ser4cpp

Safe low-level serializations routines for C++

Usage

This project is a header-only library. You can safely copy the src folder and add it in the include directories to be up and running.

The project also provides a CMake configuration. You will need a recent version of CMake (3.8 and higher).

  • Copy/clone this repository in your project (or use git submodules)
  • add_subdirectory the repository
  • For every target that needs this library, target_link_libraries(foo PUBLIC|PRIVATE|INTERFACE ser4cpp)

Tests

To build and run the tests of this project, follow these steps:

  • Clone this repository
  • mkdir build
  • cd build
  • cmake ..
  • cmake --build .
  • ctest .

If you already have a CMake cache, be sure to set the SER4CPP_BUILD_TESTS cache variable to ON in order to build the tests.

License

This project is licensed under the terms of the BSD v3 license. See LICENSE for more details.