libshared: Integrated the submodule
- Integrated RX.
This commit is contained in:
@@ -3,52 +3,53 @@ include_directories (${CMAKE_SOURCE_DIR}
|
||||
${CMAKE_SOURCE_DIR}/src
|
||||
${CMAKE_SOURCE_DIR}/src/commands
|
||||
${CMAKE_SOURCE_DIR}/src/columns
|
||||
${CMAKE_SOURCE_DIR}/src/libshared/src
|
||||
${TASK_INCLUDE_DIRS})
|
||||
|
||||
set (task_SRCS CLI2.cpp CLI2.h
|
||||
Color.cpp Color.h
|
||||
Config.cpp Config.h
|
||||
Context.cpp Context.h
|
||||
DOM.cpp DOM.h
|
||||
Dates.cpp Dates.h
|
||||
Eval.cpp Eval.h
|
||||
Filter.cpp Filter.h
|
||||
FS.cpp FS.h
|
||||
Hooks.cpp Hooks.h
|
||||
ISO8601.cpp ISO8601.h
|
||||
JSON.cpp JSON.h
|
||||
Lexer.cpp Lexer.h
|
||||
Msg.cpp Msg.h
|
||||
Nibbler.cpp Nibbler.h
|
||||
RX.cpp RX.h
|
||||
TDB2.cpp TDB2.h
|
||||
Task.cpp Task.h
|
||||
Timer.cpp Timer.h
|
||||
TLSClient.cpp TLSClient.h
|
||||
Variant.cpp Variant.h
|
||||
ViewTask.cpp ViewTask.h
|
||||
ViewText.cpp ViewText.h
|
||||
dependency.cpp
|
||||
feedback.cpp
|
||||
i18n.h
|
||||
legacy.cpp
|
||||
recur.cpp
|
||||
rules.cpp
|
||||
sort.cpp
|
||||
text.cpp text.h
|
||||
utf8.cpp utf8.h
|
||||
util.cpp util.h
|
||||
wcwidth6.cpp)
|
||||
add_library (task CLI2.cpp CLI2.h
|
||||
Color.cpp Color.h
|
||||
Config.cpp Config.h
|
||||
Context.cpp Context.h
|
||||
DOM.cpp DOM.h
|
||||
Dates.cpp Dates.h
|
||||
Eval.cpp Eval.h
|
||||
Filter.cpp Filter.h
|
||||
FS.cpp FS.h
|
||||
Hooks.cpp Hooks.h
|
||||
ISO8601.cpp ISO8601.h
|
||||
JSON.cpp JSON.h
|
||||
Lexer.cpp Lexer.h
|
||||
Msg.cpp Msg.h
|
||||
Nibbler.cpp Nibbler.h
|
||||
TDB2.cpp TDB2.h
|
||||
Task.cpp Task.h
|
||||
Timer.cpp Timer.h
|
||||
TLSClient.cpp TLSClient.h
|
||||
Variant.cpp Variant.h
|
||||
ViewTask.cpp ViewTask.h
|
||||
ViewText.cpp ViewText.h
|
||||
dependency.cpp
|
||||
feedback.cpp
|
||||
i18n.h
|
||||
legacy.cpp
|
||||
recur.cpp
|
||||
rules.cpp
|
||||
sort.cpp
|
||||
text.cpp text.h
|
||||
utf8.cpp utf8.h
|
||||
util.cpp util.h
|
||||
wcwidth6.cpp)
|
||||
|
||||
add_library (libshared libshared/src/RX.cpp libshared/src/RX.h)
|
||||
|
||||
add_library (task STATIC ${task_SRCS})
|
||||
add_executable (task_executable main.cpp)
|
||||
add_executable (calc_executable calc.cpp)
|
||||
add_executable (lex_executable lex.cpp)
|
||||
|
||||
# Yes, 'task' is included twice, otherwise linking fails on assorted OSes.
|
||||
target_link_libraries (task_executable task commands columns task ${TASK_LIBRARIES})
|
||||
target_link_libraries (calc_executable task commands columns task ${TASK_LIBRARIES})
|
||||
target_link_libraries (lex_executable task commands columns task ${TASK_LIBRARIES})
|
||||
target_link_libraries (task_executable task commands columns libshared task ${TASK_LIBRARIES})
|
||||
target_link_libraries (calc_executable task commands columns libshared task ${TASK_LIBRARIES})
|
||||
target_link_libraries (lex_executable task commands columns libshared task ${TASK_LIBRARIES})
|
||||
|
||||
set_property (TARGET task_executable PROPERTY OUTPUT_NAME "task")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user