Skip to content

CaCuCkA/string

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

String library

Authors (team): Mykola Yakovkin

Prerequisites

  • CMake 3.14 or higher. make 3.81 or higher.

  • Compiler with C++14 and C11 support. GCC 4.9 or higher, Clang 3.4 or higher, MSVC 16.8 or higher are recommended.

  • Git

  • Bash

  • C++ IDE (optional). CLion is recommended.

Installation

To install our library you need to:

$ mkdir ~/workspace
$ cd ~/workspace
$ git clone https://github.com/CaCuCkA/string.git
$ cd string

Compilation

How to compile our string library

Using compile.sh

To compile the library you need to use the following command:

$ ./compile.sh -cr

--clean option can be used to clean the build directory.For example, if you want to clean the build directory and compile the libraries, use the following commands:

$ ./compile.sh --clean
$ ./compile.sh -c

Using Make

To compile the library you need to:

$ make TARGET_NAME=dynamic 

OR

$ make TARGET_NAME=static 

Using CMake

Our library also supports CMake. To build the project, you need to:

$ cmake -B build
$ cmake --build build

To run it, use:

$ ./bin/tests