Skip to content

Commit

Permalink
build: change the name of test target
Browse files Browse the repository at this point in the history
  • Loading branch information
yixy-only committed Dec 1, 2024
1 parent 601d4ff commit e955422
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -121,18 +121,18 @@
"problemMatcher": "$gcc"
},
{
"label": "Run Demo - GraphicsTest",
"label": "Run Demo - XEGE Test",
"type": "shell",
"command": "bash",
"args": [
"-l",
"tasks.sh",
"--debug",
"--target",
"graphicstest",
"xege_test",
"--build",
"--run",
"graphicstest.exe",
"xege_test.exe"
],
"options": {
"cwd": "${workspaceFolder}"
Expand All @@ -141,4 +141,4 @@
"problemMatcher": "$gcc"
}
]
}
}
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ endmacro()

# 编译测试
if (EGE_BUILD_TEST)
ege_add_executable(graphicstest test/src/maintest.cpp)
ege_add_executable(xege_test test/src/maintest.cpp)
endif()

add_subdirectory(src)
Expand Down

0 comments on commit e955422

Please sign in to comment.