diff --git a/.gitignore b/.gitignore index e5107f6..26303d7 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,4 @@ -/.vscode +# /.vscode /.xmake /build diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..9ddf6b2 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,3 @@ +{ + "cmake.ignoreCMakeListsMissing": true +} \ No newline at end of file diff --git a/.vscode/tasks.json b/.vscode/tasks.json new file mode 100644 index 0000000..271f85f --- /dev/null +++ b/.vscode/tasks.json @@ -0,0 +1,29 @@ +{ + "tasks": [ + { + "type": "cppbuild", + "label": "C/C++: g++.exe 生成活动文件", + "command": "C:\\Users\\Zengt\\Documents\\mingw32\\bin\\g++.exe", + "args": [ + "-fdiagnostics-color=always", + "-g", + "${file}", + "-o", + "${workspaceFolder}\\build\\tmake.exe", + "-I${workspaceFolder}\\tomlplusplus" + ], + "options": { + "cwd": "${fileDirname}" + }, + "problemMatcher": [ + "$gcc" + ], + "group": { + "kind": "build", + "isDefault": true + }, + "detail": "调试器生成的任务。" + } + ], + "version": "2.0.0" +} \ No newline at end of file diff --git a/xmake.lua b/xmake.lua deleted file mode 100644 index 8e5f4fc..0000000 --- a/xmake.lua +++ /dev/null @@ -1,3 +0,0 @@ -target("tmake") - add_files("./src/main.cpp") - add_includedirs("./tomlplusplus") \ No newline at end of file