Skip to content

Repository files navigation

Clothoids

This repo was made to cleanup the compilation process of Enrico Bertolazzi Clothoids.

This repository uses git submodules to keep always a stable version.

Clone the repo with submodules

git clone --recurse-submodules https://github.com/Pippo98/clothoids

Compile this single project

cmake -B build
cmake --build build

Compile as external module

If you want to integrate the clothoids in your CMake project, you should add this repository as submodule in your project to make it available to CMake, then:

# ...
add_subdirectory(external/clothiods) # this is the case if this repo is placed in the "external" subdirectory
target_link_libraries(
my_executable_or_library
    PUBLIC
    clothoids # this is the name of the library compiled in this repository
)

By default this project compiles a static library, however if you want to change the library type you can set the SET_CLOTHOID_LIB_TYPE variable in two ways:

  1. From command line: cmake -B build -DSET_CLOTHOID_LIB_TYPE=SHARED
  2. Directly in cmake by adding set(SET_CLOTHOID_LIB_TYPE SHARED) before the line add_subdirectory.

About

Repo to ease compilation of clothoids

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages