add c_cpp confitg

This commit is contained in:
lyon 2021-08-23 15:13:03 +08:00
parent 4053a8036a
commit 54687d0794
3 changed files with 20 additions and 1 deletions

18
.vscode/c_cpp_properties.json vendored Normal file
View File

@ -0,0 +1,18 @@
{
"configurations": [
{
"name": "Linux",
"includePath": [
"${workspaceFolder}/**",
"${workspaceFolder}/src/package/pikascript/pikascript-api/**",
"${workspaceFolder}/src/package/pikascript/pikascript-core/**"
],
"defines": [],
"compilerPath": "/usr/bin/clang",
"cStandard": "c99",
"cppStandard": "c++14",
"intelliSenseMode": "linux-clang-x64",
}
],
"version": 4
}

View File

@ -5,6 +5,7 @@ git commit
cd $ROOT
git add *
git add .vscode/launch.json
git add .vscode/c_cpp_properties.json
git add .gitignore
git commit

View File

@ -1,4 +1,4 @@
#include "../pikascript-core/PikaObj.h"
#include "PikaObj.h"
void PikaStdLib_SysObj_ls(PikaObj *self, char *objPath)
{