Browse Source

CMake file for the CMake support

Omkar Yadav 6 năm trước cách đây
mục cha
commit
7eda4ae551
1 tập tin đã thay đổi với 8 bổ sung0 xóa
  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)