Skip to content

Commit

Permalink
fix build error
Browse files Browse the repository at this point in the history
  • Loading branch information
eamars committed May 29, 2024
1 parent e25b448 commit 5823f65
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,9 @@ target_link_libraries(app_base
and_scale
steinberg_scale
gng_scale
ussolid_scale
scale
servo_gate
)

# Pull in src to generate extra files
Expand Down
14 changes: 14 additions & 0 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,13 @@ target_sources(steinberg_scale INTERFACE
"${SRC_DIRECTORY}/steinberg_scale.c"
)

# U.S.solid scale
add_library(ussolid_scale INTERFACE)
target_include_directories(ussolid_scale INTERFACE ${SRC_DIRECTORY})
target_sources(ussolid_scale INTERFACE
"${SRC_DIRECTORY}/ussolid_scale.c"
)

# Scale (abstract class)
add_library(scale INTERFACE)
target_include_directories(scale INTERFACE ${SRC_DIRECTORY})
Expand Down Expand Up @@ -217,3 +224,10 @@ target_include_directories(wireless INTERFACE ${SRC_DIRECTORY})
target_sources(wireless INTERFACE
"${SRC_DIRECTORY}/wireless.c"
)

# Servo Gate
add_library(servo_gate INTERFACE)
target_include_directories(servo_gate INTERFACE ${SRC_DIRECTORY})
target_sources(servo_gate INTERFACE
"${SRC_DIRECTORY}/servo_gate.c"
)

0 comments on commit 5823f65

Please sign in to comment.