-
-
Notifications
You must be signed in to change notification settings - Fork 104
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[sh4lt] Implementation of input and output devices
- Loading branch information
Nicolas Bouillot
committed
Aug 1, 2024
1 parent
14a88c8
commit 4d27d42
Showing
16 changed files
with
834 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule sh4lt
added at
db0f81
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
if(NOT UNIX) | ||
return() | ||
endif() | ||
|
||
if(EMSCRIPTEN OR BSD) | ||
return() | ||
endif() | ||
|
||
if(SCORE_USE_SYSTEM_LIBRARIES) | ||
find_package(sh4lt GLOBAL) | ||
else() | ||
add_library(sh4lt STATIC | ||
"${CMAKE_CURRENT_LIST_DIR}/sh4lt/sh4lt/c/cfollower.cpp" | ||
"${CMAKE_CURRENT_LIST_DIR}/sh4lt/sh4lt/c/clogger.cpp" | ||
"${CMAKE_CURRENT_LIST_DIR}/sh4lt/sh4lt/c/cshtype.cpp" | ||
"${CMAKE_CURRENT_LIST_DIR}/sh4lt/sh4lt/c/cwriter.cpp" | ||
"${CMAKE_CURRENT_LIST_DIR}/sh4lt/sh4lt/follower.cpp" | ||
"${CMAKE_CURRENT_LIST_DIR}/sh4lt/sh4lt/infotree/information-tree.cpp" | ||
"${CMAKE_CURRENT_LIST_DIR}/sh4lt/sh4lt/infotree/json-serializer.cpp" | ||
"${CMAKE_CURRENT_LIST_DIR}/sh4lt/sh4lt/infotree/key-val-serializer.cpp" | ||
"${CMAKE_CURRENT_LIST_DIR}/sh4lt/sh4lt/ipcs/file-monitor.cpp" | ||
"${CMAKE_CURRENT_LIST_DIR}/sh4lt/sh4lt/ipcs/reader.cpp" | ||
"${CMAKE_CURRENT_LIST_DIR}/sh4lt/sh4lt/ipcs/sysv-sem.cpp" | ||
"${CMAKE_CURRENT_LIST_DIR}/sh4lt/sh4lt/ipcs/sysv-shm.cpp" | ||
"${CMAKE_CURRENT_LIST_DIR}/sh4lt/sh4lt/ipcs/unix-socket-client.cpp" | ||
"${CMAKE_CURRENT_LIST_DIR}/sh4lt/sh4lt/ipcs/unix-socket-protocol.cpp" | ||
"${CMAKE_CURRENT_LIST_DIR}/sh4lt/sh4lt/ipcs/unix-socket-server.cpp" | ||
"${CMAKE_CURRENT_LIST_DIR}/sh4lt/sh4lt/ipcs/unix-socket.cpp" | ||
"${CMAKE_CURRENT_LIST_DIR}/sh4lt/sh4lt/jsoncpp/jsoncpp.cpp" | ||
"${CMAKE_CURRENT_LIST_DIR}/sh4lt/sh4lt/shtype/shtype-from-gst-caps.cpp" | ||
"${CMAKE_CURRENT_LIST_DIR}/sh4lt/sh4lt/shtype/shtype.cpp" | ||
"${CMAKE_CURRENT_LIST_DIR}/sh4lt/sh4lt/time.cpp" | ||
"${CMAKE_CURRENT_LIST_DIR}/sh4lt/sh4lt/utils/any.cpp" | ||
"${CMAKE_CURRENT_LIST_DIR}/sh4lt/sh4lt/utils/bool-log.cpp" | ||
"${CMAKE_CURRENT_LIST_DIR}/sh4lt/sh4lt/utils/safe-bool-log.cpp" | ||
"${CMAKE_CURRENT_LIST_DIR}/sh4lt/sh4lt/writer.cpp" | ||
) | ||
|
||
# target_compile_options(sh4lt PUBLIC -DSH4LT_VERSION_STRING="1.3.60" ) | ||
target_include_directories(sh4lt PUBLIC "${CMAKE_CURRENT_LIST_DIR}/sh4lt") | ||
endif() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.