From a217514592896e360e29381504c95f308da88889 Mon Sep 17 00:00:00 2001 From: Heiko Thiel Date: Fri, 10 May 2019 16:53:59 +0200 Subject: Added CMake support to generate a static library --- README.md | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index 2fd5e1e..58f3d82 100644 --- a/README.md +++ b/README.md @@ -116,8 +116,6 @@ There are 2 ways to operate... * Sentence Generation * Custom Sentence handling -. - **Generation** NMEACommand mycmd; @@ -133,6 +131,18 @@ There are 2 included NMEACommands that can configure a GPS. * ```` PSRF100```` Configures the UART serial connection (if the chip has one). +## Include NemaTode in your project +You can include NemaTode via [CMake](https://cmake.org) in our project. +Your basic CMakeLists.txt file could look like: + + cmake_minimum_required(VERSION 3.1) + project(MyProject) + + find_package(NemaTode REQUIRED CONFIG) + + add_executable(${PROJECT_NAME} mycode.cpp) + + target_link_libraries(${PROJECT_NAME} NemaTode::NemaTode) ## GPS Fix data available -- cgit v1.2.3