forked from grblHAL/core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists.txt
32 lines (30 loc) · 1.1 KB
/
CMakeLists.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
add_library(grbl INTERFACE)
target_sources(grbl INTERFACE
${CMAKE_CURRENT_LIST_DIR}/grbllib.c
${CMAKE_CURRENT_LIST_DIR}/coolant_control.c
${CMAKE_CURRENT_LIST_DIR}/nvs_buffer.c
${CMAKE_CURRENT_LIST_DIR}/gcode.c
${CMAKE_CURRENT_LIST_DIR}/limits.c
${CMAKE_CURRENT_LIST_DIR}/motion_control.c
${CMAKE_CURRENT_LIST_DIR}/my_plugin.c
${CMAKE_CURRENT_LIST_DIR}/nuts_bolts.c
${CMAKE_CURRENT_LIST_DIR}/override.c
${CMAKE_CURRENT_LIST_DIR}/planner.c
${CMAKE_CURRENT_LIST_DIR}/protocol.c
${CMAKE_CURRENT_LIST_DIR}/report.c
${CMAKE_CURRENT_LIST_DIR}/settings.c
${CMAKE_CURRENT_LIST_DIR}/sleep.c
${CMAKE_CURRENT_LIST_DIR}/spindle_control.c
${CMAKE_CURRENT_LIST_DIR}/state_machine.c
${CMAKE_CURRENT_LIST_DIR}/stream.c
${CMAKE_CURRENT_LIST_DIR}/stepper.c
${CMAKE_CURRENT_LIST_DIR}/system.c
${CMAKE_CURRENT_LIST_DIR}/tool_change.c
${CMAKE_CURRENT_LIST_DIR}/alarms.c
${CMAKE_CURRENT_LIST_DIR}/errors.c
${CMAKE_CURRENT_LIST_DIR}/ngc_params.c
${CMAKE_CURRENT_LIST_DIR}/ngc_expr.c
${CMAKE_CURRENT_LIST_DIR}/regex.c
${CMAKE_CURRENT_LIST_DIR}/ioports.c
)
target_include_directories(grbl INTERFACE ${CMAKE_CURRENT_LIST_DIR})