Add SDK v1.0.0

This commit is contained in:
alejo committed 2026-10-24 08:05:45 -03:00
commit 40688938ef
76 files changed
+11805

No files matched your search

+10
View File
@@ -0,0 +1,10 @@
# A stand-in for a "real" vendored third-party library that ships its own
# build -- a plain source drop, git submodule, or git subtree checked into
# vendor/tiny_case/. Added via add_vendor_subdirectory(tiny_case) in the
# root CMakeLists.txt, not discovered by the module system (vendor/ isn't
# one of the discovery roots), and not written to conform to this
# project's conventions -- it's whatever the upstream project's
# CMakeLists.txt looks like.
cmake_minimum_required(VERSION 3.16)
add_library(tiny_case STATIC src/tiny_case.cpp)
target_include_directories(tiny_case PUBLIC include)
+4
View File
@@ -0,0 +1,4 @@
#pragma once
#include <string>
std::string tiny_case_to_upper(std::string s);
+10
View File
@@ -0,0 +1,10 @@
#include "tiny_case.h"
#include <algorithm>
#include <cctype>
std::string tiny_case_to_upper(std::string s) {
std::transform(s.begin(), s.end(), s.begin(),
[](unsigned char c) { return std::toupper(c); });
return s;
}