Skip to content

leamas/opencpn-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

OpenCPN API distribution README

This repository contains API definitions to be used in plugin development for OpenCPN

Each directory contains a complete API definition, including a CMakeLists.txt. Usage:

  • First copy the api to use to someplace in the plugin, typically a directory called libs. Using api-16 i. e. 1.16 from 5.0 this creates a directory called libs/api-16

  • Use the API by including something like these lines in main CMakeLists.txt:

    add_subdirectory("libs/api-16")
    target_link_libraries(${PACKAGE_NAME} ocpn::api)
    

This sets all required header files, libraries and possible compiler options required by the API.

About

OpenCPN plugin API distribution

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published