diff --git a/CMakeLists.txt b/CMakeLists.txt index 7fb5e11..05a1893 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -136,15 +136,5 @@ target_include_directories(${CMAKE_PROJECT_NAME} PRIVATE ${clipp_SOURCE_DIR}/include ) -target_link_directories(${CMAKE_PROJECT_NAME} - PRIVATE - ${ftxui_BINARY_DIR} - ${tpl_BINARY_DIR} - ${xlnt_BINARY_DIR} - ${fmt_BINARY_DIR} - ${json_BINARY_DIR} - #{sqlite_modern_BINARY_DIR} -) - -target_link_libraries(${CMAKE_PROJECT_NAME} PRIVATE ftxui-component ftxui-screen ftxui-dom tiny-process-library xlnt sqlite3 spdlog::spdlog systemd z ${Boost_LIBRARIES}) +target_link_libraries(${CMAKE_PROJECT_NAME} PRIVATE ftxui::component ftxui::screen ftxui::dom tiny-process-library xlnt sqlite3 spdlog::spdlog systemd z ${Boost_LIBRARIES}) # target_link_libraries(${CMAKE_PROJECT_NAME} PUBLIC sqlite3 ${Boost_LIBRARIES}) diff --git a/README.md b/README.md index dcaacbd..0536dcc 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ CAN bus sniffer and SAE J1939 protocol analyzer. Reads CAN frames from an external process (e.g. `candump`), decodes them using a J1939 Digital Annex (xlsx), and presents results in an interactive terminal UI or as JSON output. -[![asciicast](https://asciinema.org/a/uliPOLa1MtVvnjvL.svg)](https://asciinema.org/a/uliPOLa1MtVvnjvL) +![demo](canscope-demo.gif) ## Features @@ -21,7 +21,16 @@ CAN bus sniffer and SAE J1939 protocol analyzer. Reads CAN frames from an extern - CMake >= 3.13 - System libraries: boost (signals2, spirit, phoenix), sqlite3, systemd, zlib -The rest of the dependencies are fetched automatically via CMake FetchContent (FTXUI, tiny-process-library, sqlite_modern_cpp, xlnt, fmt, nlohmann/json, spdlog). +The rest of the dependencies are fetched automatically via CMake FetchContent: + +- [FTXUI](https://github.com/ArthurSonzogni/FTXUI) -- terminal UI framework +- [tiny-process-library](https://gitlab.com/eidheim/tiny-process-library) -- subprocess management +- [sqlite_modern_cpp](https://github.com/SqliteModernCpp/sqlite_modern_cpp) -- modern C++ SQLite wrapper +- [xlnt](https://github.com/xlnt-community/xlnt) -- xlsx reading +- [fmt](https://github.com/fmtlib/fmt) -- text formatting +- [nlohmann/json](https://github.com/nlohmann/json) -- JSON library +- [spdlog](https://github.com/gabime/spdlog) -- logging +- [clipp](https://github.com/muellan/clipp) -- CLI argument parsing ```bash cmake -B build -S . && cmake --build build -j$(nproc) diff --git a/canscope-demo.gif b/canscope-demo.gif new file mode 100644 index 0000000..a214770 Binary files /dev/null and b/canscope-demo.gif differ