Skip to content

Latest commit

 

History

History
82 lines (53 loc) · 1.65 KB

File metadata and controls

82 lines (53 loc) · 1.65 KB

📖 YML parser

This library is a C++ parser for .yml/.yaml files.

Getting started

This project uses conan as its package manager. You can read how to setup conan here.

1. Build

  1. Clone the repository
git clone git@github.com:lypitech/yml-parser.git
cd yml-parser/
  1. Build the project
# Configure and generate build files
cmake -B build/

# Compile the project
cmake --build build/

If you want the build to be faster (to use all of your CPU cores), simply add --parallel to the options!

Library file will be located in the build/ folder.
If you want to build the project in another folder, simply replace build/ with the folder you want the library to be built in. Make sure the folder you specify is empty!

2. Link

2.1 CMake

If you use CMake, using this library in your project is really simple.

Simply include the following lines to your CMakeLists.txt:

add_subdirectory(<library file path>)

target_include_directories(${PROJECT_NAME} PRIVATE
    <library file path>/include
)

target_link_libraries(${PROJECT_NAME} PRIVATE
    ymlparser
)

2.2 Manual linking

If you don't use a proper build system, you can still manually link the library to your project when compiling it.

Simply include the following to your compilation flags:

-L <library file path> -l ymlparser

How it works

TODO

How to use

1. Initialize the Parser

TODO

2. Usage

TODO

Contributing

TODO


You can reach me here: lysandre.boursette@epitech.eu