commit d0937de2c8c8a1adf45d1a77c480a09122959dd9 Author: Zengtudor Date: Fri Apr 4 10:31:23 2025 +0800 update diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..d835f77 --- /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..658f750 --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,5 @@ +cmake_minimum_required(VERSION 3.10) + +file(GLOB_RECURSE SRC_CPP src/*.cpp) + +add_executable(main ${SRC_CPP}) \ No newline at end of file diff --git a/src/main.cpp b/src/main.cpp new file mode 100644 index 0000000..698336f --- /dev/null +++ b/src/main.cpp @@ -0,0 +1,4 @@ +#include +int main(){ + std::cout<<"hello world!\n"; +} \ No newline at end of file