commit d8cccfca2285d5dd977712bd232442eedd828f7e Author: GreatFood404 Date: Fri May 9 11:11:34 2025 +0800 创建项目 diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 0000000..05bf8a7 --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,9 @@ +cmake_minimum_required(VERSION 3.30) +project(sdktools) + +set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR}/bin) +set(CMAKE_CXX_STANDARD 20) + +set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -static-libgcc -static-libstdc++") + +add_executable(sdktools main.cpp) diff --git a/main.cpp b/main.cpp new file mode 100644 index 0000000..1fcb119 --- /dev/null +++ b/main.cpp @@ -0,0 +1,20 @@ +#include + +using namespace std; +int main() { + while (true) { + string command; + cout << ">>>"; + getline(cin, command); + + if (command == "list"){ + cout << "list" <