feat update sled
This commit is contained in:
commit
1329a062b4
4
.gitignore
vendored
Normal file
4
.gitignore
vendored
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
out/
|
||||||
|
build/
|
||||||
|
.cache/
|
||||||
|
compile_commands.json
|
3
.gitmodules
vendored
Normal file
3
.gitmodules
vendored
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
[submodule "3rdparty/sled"]
|
||||||
|
path = 3rdparty/sled
|
||||||
|
url = https://code.uocat.com/tqcq/sled.git
|
1
3rdparty/sled
vendored
Submodule
1
3rdparty/sled
vendored
Submodule
@ -0,0 +1 @@
|
|||||||
|
Subproject commit 3d5039ed9521b4e4ee5a376274eb13ca41bca758
|
12
CMakeLists.txt
Normal file
12
CMakeLists.txt
Normal 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)
|
7
src/main.cc
Normal file
7
src/main.cc
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
#include <sled/log/log.h>
|
||||||
|
const char* kTag = "main";
|
||||||
|
|
||||||
|
int main(int argc, char* argv[]) {
|
||||||
|
LOGI(kTag, "");
|
||||||
|
return 0;
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user