mirror of
https://github.com/Ralim/IronOS.git
synced 2025-02-26 07:53:55 +00:00
CMake
This commit is contained in:
25
source/Core/Drivers/CMakeLists.txt
Normal file
25
source/Core/Drivers/CMakeLists.txt
Normal file
@@ -0,0 +1,25 @@
|
||||
include_directories(${CMAKE_CURRENT_SOURCE_DIR})
|
||||
|
||||
set(sources
|
||||
BMA223.cpp
|
||||
BootLogo.cpp
|
||||
Buttons.cpp
|
||||
I2CBB.cpp
|
||||
LIS2DH12.cpp
|
||||
MMA8652FC.cpp
|
||||
MSA301.cpp
|
||||
OLED.cpp
|
||||
SC7A20.cpp
|
||||
Si7210.cpp
|
||||
TipThermoModel.cpp
|
||||
usb-pd
|
||||
USBPD.cpp
|
||||
Utils.cpp
|
||||
)
|
||||
|
||||
|
||||
add_library(drivers ${sources})
|
||||
target_link_libraries(drivers PUBLIC BSP USBPDLib)
|
||||
target_include_directories(drivers PUBLIC .)
|
||||
|
||||
add_subdirectory(usb-pd)
|
||||
Submodule source/Core/Drivers/usb-pd updated: b38598261d...6dc1a77a8c
Reference in New Issue
Block a user