Skip to content

Commit

Permalink
Added CMakeLists.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
terjeio committed Apr 16, 2022
1 parent 7efb840 commit 321150a
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
add_library(spindle INTERFACE)

target_sources(spindle INTERFACE
${CMAKE_CURRENT_LIST_DIR}/modbus.c
${CMAKE_CURRENT_LIST_DIR}/select.c
${CMAKE_CURRENT_LIST_DIR}/huanyang.c
)

target_include_directories(spindle INTERFACE ${CMAKE_CURRENT_LIST_DIR})

0 comments on commit 321150a

Please sign in to comment.