浏览代码

CMake file for the CMake support

Omkar Yadav 6 年之前
父节点
当前提交
7eda4ae551
共有 1 个文件被更改,包括 8 次插入0 次删除
  1. 8 0
      CMakeLists.txt

+ 8 - 0
CMakeLists.txt

@@ -0,0 +1,8 @@
+cmake_minimum_required(VERSION 3.3)
+
+project(minmea)
+
+set(core_SRCS minmea.c minmea.h)
+add_library(core ${core_SRCS})
+add_executable(exe example.c)
+target_link_libraries(exe core)