This commit is contained in:
Zengtudor 2025-05-24 09:32:22 +08:00
parent 5aaec145e5
commit 3ce5ae72a2
3 changed files with 24 additions and 0 deletions

2
.gitignore vendored Normal file
View File

@ -0,0 +1,2 @@
/build
/.cache

19
CMakeLists.txt Normal file
View File

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

3
src/main.cpp Normal file
View File

@ -0,0 +1,3 @@
int main(){
}