File tree 4 files changed +10
-12
lines changed
4 files changed +10
-12
lines changed Original file line number Diff line number Diff line change 1
- add_library (TaskManagerIO
2
- ../src/SimpleSpinLock.cpp
3
- ../src/TaskManagerIO.cpp
4
- ../src/TaskTypes.cpp
5
- ../src/TmLongSchedule.cpp
6
- )
1
+
2
+ file (GLOB SOURCES "${CMAKE_CURRENT_LIST_DIR} /../src/*.cpp" )
3
+
4
+ add_library (TaskManagerIO ${SOURCES} )
7
5
8
6
target_compile_definitions (TaskManagerIO
9
7
PUBLIC BUILD_FOR_PICO_CMAKE=1 BUILD_PICO_FORCE_UART=1 IO_LOGGING_DEBUG=1
10
8
)
11
9
12
10
target_include_directories (TaskManagerIO PUBLIC
13
- ${PROJECT_SOURCE_DIR} /lib/TaskManagerIO /src
11
+ ${CMAKE_CURRENT_LIST_DIR} /.. /src
14
12
)
15
13
16
14
target_link_libraries (TaskManagerIO PUBLIC TcMenuLog pico_stdlib pico_sync)
Original file line number Diff line number Diff line change 6
6
#ifndef TASKMANAGERIO_BASICINTERRUPTABSTRACTION_H
7
7
#define TASKMANAGERIO_BASICINTERRUPTABSTRACTION_H
8
8
9
- #include < TaskPlatformDeps.h>
10
- #include < TaskManagerIO.h>
9
+ #include " TaskPlatformDeps.h"
10
+ #include " TaskManagerIO.h"
11
11
12
12
#ifdef IOA_USE_ARDUINO
13
13
Original file line number Diff line number Diff line change 6
6
#ifndef _TASKMANAGERIO_TASKBLOCK_H_
7
7
#define _TASKMANAGERIO_TASKBLOCK_H_
8
8
9
- #include < TaskPlatformDeps.h>
10
- #include < TaskTypes.h>
9
+ #include " TaskPlatformDeps.h"
10
+ #include " TaskTypes.h"
11
11
12
12
/* *
13
13
* @file TaskBlock.h
Original file line number Diff line number Diff line change 11
11
* @brief long schedule support for task manager
12
12
*/
13
13
14
- #include < TaskManagerIO.h>
14
+ #include " TaskManagerIO.h"
15
15
16
16
/* *
17
17
* A task manager task that can be scheduled safely in hours and days. If you need more than this, you'll probably need to
You can’t perform that action at this time.
0 commit comments