This repository represents the Lynar Studios - Standard Library (ls-std).
Patrick-Christopher Mattulat 6c04f1e878 Remove unnecessary cmake variables | 3 роки тому | |
---|---|---|
config | 4 роки тому | |
include | 3 роки тому | |
source | 3 роки тому | |
test | 3 роки тому | |
.gitignore | 4 роки тому | |
CMakeLists.txt | 3 роки тому | |
LICENSE.MIT | 4 роки тому | |
README.md | 3 роки тому |
This is a cross-platform standard library written in C++ which provides basic functionality and implementation, like:
It has been tested on Windows, Linux and MacOS systems.
You can find a detailed documentation on Lynar Studios Website: lynarstudios.com
This software is licensed and uses MIT-license. You can find a LICENSE.MIT file inside the project's root directory.
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
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")
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.