From 3ce5ae72a209c3c9e5ffe66bde1e2f46a99294a2 Mon Sep 17 00:00:00 2001 From: Zengtudor Date: Sat, 24 May 2025 09:32:22 +0800 Subject: [PATCH] update --- .gitignore | 2 ++ CMakeLists.txt | 19 +++++++++++++++++++ src/main.cpp | 3 +++ 3 files changed, 24 insertions(+) create mode 100644 .gitignore create mode 100644 CMakeLists.txt create mode 100644 src/main.cpp diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..e050ba0 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +/build +/.cache \ No newline at end of file diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 0000000..77ecb60 --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,19 @@ +cmake_minimum_required(VERSION 3.10) + +project(RdpLogViewer CXX) + +if(NOT CMAKE_BUILD_TYPE) + set(CMAKE_BUILD_TYPE Release) +endif() + +set(CMAKE_CXX_STANDARD 26) +set(CMAKE_CXX_STANDARD_REQUIRED ON) + + +file(GLOB SRC_CPP ${CMAKE_CURRENT_LIST_DIR}/src/*.cpp) + +find_package(webview REQUIRED) + +add_executable(${PROJECT_NAME} ${SRC_CPP}) + +target_link_libraries(${PROJECT_NAME} PRIVATE webview::core Wevtapi) diff --git a/src/main.cpp b/src/main.cpp new file mode 100644 index 0000000..294989d --- /dev/null +++ b/src/main.cpp @@ -0,0 +1,3 @@ +int main(){ + +} \ No newline at end of file