summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorckgt <ckarlsson25@gmail.com>2019-05-20 01:48:41 -0400
committerGitHub <noreply@github.com>2019-05-20 01:48:41 -0400
commit5ce6ddf1cd7d219045a15133dd22068ad4501dcf (patch)
tree606df3ee811c5512c489484c6327e75e23b7a62a /README.md
parentaf1651176e142d10b113d2fc322076917414db3c (diff)
parenta217514592896e360e29381504c95f308da88889 (diff)
Merge pull request #9 from SunBlack/CMake_support
WIP: Added CMake support to generate a static library
Diffstat (limited to 'README.md')
-rw-r--r--README.md14
1 files changed, 12 insertions, 2 deletions
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