From c3b5b10f72483acf8663372346d056d5159452a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thu=E1=BA=ADn=20Nguy=E1=BB=85n-Th=C3=A1i?= Date: Thu, 17 Apr 2025 14:53:42 +0700 Subject: [PATCH] libsimplelog: Add C89-C++20 logger for cross-OS. - Edit CMake - Re-test Windows, Linux, MAC OSX. Signed-off-by: Thuan Nguyen Thai Signed-off-by: Khem Raj --- .../libsimplelog/libsimplelog_git.bb | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 meta-oe/recipes-libsimplelog/libsimplelog/libsimplelog_git.bb diff --git a/meta-oe/recipes-libsimplelog/libsimplelog/libsimplelog_git.bb b/meta-oe/recipes-libsimplelog/libsimplelog/libsimplelog_git.bb new file mode 100644 index 0000000000..461b960357 --- /dev/null +++ b/meta-oe/recipes-libsimplelog/libsimplelog/libsimplelog_git.bb @@ -0,0 +1,20 @@ + +SUMMARY = "simplelog-topc - Simple, STABLE, powerful of logging library in ANSI C/C++. Ready for billion records." +DESCRIPTION = "Async and Fast C/C++ multi-thread logger with topics. No external dependencies." +HOMEPAGE = "https://github.com/thuanalg/simplelog-topic" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=22cdd382a6275cb4c2e75c517952ac7c" + +SRC_URI = "git://github.com/thuanalg/simplelog-topic.git;branch=main;protocol=https" + +PV = "1.0.4+git" +SRCREV = "781f5eaa1713e7f60e9ee79ab5143c0bacfcccef" + +S = "${WORKDIR}/git" + +inherit cmake + +# Specify any options you want to pass to cmake using EXTRA_OECMAKE: +EXTRA_OECMAKE += "-DUNIX_LINUX=1" + +