19 lines
458 B
CMake
19 lines
458 B
CMake
|
|
# FIFO Buffer
|
|
add_library(FIFOBuffChar FIFOBuff/FIFOBuffChar.c)
|
|
|
|
# CMD List
|
|
add_library(CMDList CMDList/CMDList.c)
|
|
add_library(CMDListPrint CMDList/printList.c)
|
|
|
|
# History
|
|
add_library(history History/History.c)
|
|
|
|
# CLI
|
|
add_library(CLI CLI/CLI.c)
|
|
target_link_libraries(CLI CMDList FIFOBuffChar history)
|
|
|
|
add_library(CLI_History CLI/CLI.c)
|
|
target_link_libraries(CLI_History CMDList FIFOBuffChar history)
|
|
target_compile_definitions(CLI_History PRIVATE HISTORY)
|