File tree Expand file tree Collapse file tree 4 files changed +12
-11
lines changed Expand file tree Collapse file tree 4 files changed +12
-11
lines changed Original file line number Diff line number Diff line change 1- add_library (power_status_adc INTERFACE )
2- target_sources (power_status_adc INTERFACE
3- ${CMAKE_CURRENT_LIST_DIR} /power_status.c
4- )
5- target_include_directories (power_status_adc INTERFACE
6- ${CMAKE_CURRENT_LIST_DIR}
7- )
8- target_link_libraries (power_status_adc INTERFACE
9- hardware_adc
10- hardware_gpio
11- )
1+ add_subdirectory (power_status)
122
133add_executable (read_vsys
144 read_vsys.c
Original file line number Diff line number Diff line change 1+ add_library (power_status_adc INTERFACE )
2+ target_sources (power_status_adc INTERFACE
3+ ${CMAKE_CURRENT_LIST_DIR} /power_status.c
4+ )
5+ target_include_directories (power_status_adc INTERFACE
6+ ${CMAKE_CURRENT_LIST_DIR}
7+ )
8+ target_link_libraries (power_status_adc INTERFACE
9+ hardware_adc
10+ hardware_gpio
11+ )
File renamed without changes.
File renamed without changes.
You can’t perform that action at this time.
0 commit comments