libsimplelog: Add C89-C++20 logger for cross-OS.

- Edit CMake
- Re-test Windows, Linux, MAC OSX.

Signed-off-by: Thuan Nguyen Thai <nguyenthaithuanalg@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Thuận Nguyễn-Thái 2025-04-17 14:53:42 +07:00 committed by Khem Raj
parent 293cfe93f4
commit c3b5b10f72
No known key found for this signature in database
GPG Key ID: BB053355919D3314

View File

@ -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"