File tree Expand file tree Collapse file tree 1 file changed +14
-7
lines changed Expand file tree Collapse file tree 1 file changed +14
-7
lines changed Original file line number Diff line number Diff line change
1
+ cmake_minimum_required (VERSION 3.13 )
1
2
2
-
3
- file (GLOB SOURCES
4
- "${CMAKE_CURRENT_LIST_DIR} /../src/*.cpp"
5
- "${CMAKE_CURRENT_LIST_DIR} /../src/pico/*.cpp"
3
+ add_library (IoAbstraction
4
+ ../src/EepromAbstraction.cpp
5
+ ../src/EepromAbstractionWire.cpp
6
+ ../src/IoAbstraction.cpp
7
+ ../src/IoAbstractionWire.cpp
8
+ ../src/KeyboardManager.cpp
9
+ ../src/ResistiveTouchScreen.cpp
10
+ ../src/SwitchInput.cpp
11
+ ../src/wireHelpers.cpp
12
+ ../src/pico/PicoDigitalIO.cpp
13
+ ../src/pico/i2cWrapper.cpp
14
+ ../src/pico/picoAnalogDevice.cpp
6
15
)
7
16
8
- add_library (IoAbstraction ${SOURCES} )
9
-
10
17
target_compile_definitions (IoAbstraction
11
18
PUBLIC BUILD_FOR_PICO_CMAKE=1 BUILD_PICO_FORCE_UART=1 IO_LOGGING_DEBUG=1
12
19
)
13
20
14
21
target_include_directories (IoAbstraction PUBLIC
15
- ${CMAKE_CURRENT_LIST_DIR} / ../src
22
+ ../src
16
23
)
17
24
18
25
target_link_libraries (IoAbstraction PUBLIC
You can’t perform that action at this time.
0 commit comments