feat update sled

This commit is contained in:
tqcq 2024-03-01 19:43:13 +08:00
commit 1329a062b4
6 changed files with 27 additions and 0 deletions

4
.gitignore vendored Normal file
View File

@ -0,0 +1,4 @@
out/
build/
.cache/
compile_commands.json

3
.gitmodules vendored Normal file
View File

@ -0,0 +1,3 @@
[submodule "3rdparty/sled"]
path = 3rdparty/sled
url = https://code.uocat.com/tqcq/sled.git

1
3rdparty/sled vendored Submodule

@ -0,0 +1 @@
Subproject commit 3d5039ed9521b4e4ee5a376274eb13ca41bca758

12
CMakeLists.txt Normal file
View File

@ -0,0 +1,12 @@
cmake_minimum_required(VERSION 3.10)
project(meta LANGUAGES CXX VERSION 0.1.0)
set(CMAKE_CXX_STANDARD 11)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_CXX_EXTENSIONS OFF)
add_subdirectory(3rdparty/sled EXCLUDE_FROM_ALL)
add_executable(meta "src/main.cc")
target_link_libraries(meta PRIVATE sled)

0
README.md Normal file
View File

7
src/main.cc Normal file
View File

@ -0,0 +1,7 @@
#include <sled/log/log.h>
const char* kTag = "main";
int main(int argc, char* argv[]) {
LOGI(kTag, "");
return 0;
}