This repository represents the Lynar Studios - Standard Library (ls-std).

Patrick-Christopher Mattulat 398767d088 Merged in dev (pull request #2) vor 4 Jahren
config 84b7be3222 Added code style file vor 4 Jahren
include 04a7a66e31 Fix include directives vor 4 Jahren
source 5a7140e790 Extend EventManager class vor 4 Jahren
test c707e7a388 Remove unnecessary methods from listener classes vor 4 Jahren
.gitignore 2ee11bc5fb Extended .gitignore file vor 4 Jahren
CMakeLists.txt b7a2f89b16 Update CMakeLists.txt file vor 4 Jahren
LICENSE.MIT bbf7536450 Rename LICENSE.txt file vor 4 Jahren
README.md 0f59e77f30 Update README.md file vor 4 Jahren

README.md

Lynar Studios - Standard Library 2020.3.0

This is a cross-platform standard library written in C++ which provides basic functionality and implementation, like:

  • Boxing Classes
  • File Operations
  • Minimal Reflection
  • Date Class
  • State Machine Class
  • Serialization
  • JSON
  • XML
  • Logger Class
  • Event Handling

It has been tested on Windows, Linux and MacOS systems.

Changelog

  • added event handling functionality
  • added observer pattern classes
  • added xml parser class by reducing complexity of xml reader class
  • ls_std::Class is now polymorphic
  • fixed some include directives
  • made existing serialization classes flyweight classes

Documentation

You can find a detailed documentation on Lynar Studios Website: lynarstudios.com

License

This software is licensed and uses MIT-license. You can find a LICENSE.MIT file inside the project's root directory.

Building

To build this library you'd need a recent version of cmake and your OS specific compiler collection, like gcc, MSVC or AppleClang installed.
Inside project's root directory create the following folder:

cmake_build_release

Open your OS specific command line window and navigate to this new folder and run the following command to configure the project and generate a native build system:

cmake ../

Inside cmake_build_release folder you will now find cmake generated files. To compile the library now, just run:

cmake --build . --config Release

Add Library To Your Project

If you would like to add this library to your cmake project - to the CMakeLists.txt file - make sure that you add the libraries' include directory:

include_directories(${CMAKE_CURRENT_LIST_DIR}/path/to/this/library/include)

Then link the library binary file inside your CMakeLists.txt file:

target_link_libraries(... "path/to/this/library/../libls_std_YYYY.MAJOR.MINOR.dll")

Testing

This project contains unit tests to accomplish test coverage.
To run those unit tests you have to adjust TestHelper class by adding your personal test folder path to getTestFolderLocation method.
There you have to adjust location variable based on the operating system you're using.