Open leielyq opened 3 months ago
@leielyq In your setting.json file, you set "cmake.buildDirectory":"${workspaceFolder}/out/${buildType}", if you remove the ${buildType} from this setting, can you output the result you want?
在你的setting.json文件中,你设置了 “cmake.buildDirectory”:“${workspaceFolder}/out/${buildType}”,如果你从这个设置中删除了 ${buildType},你能输出你想要的结果吗?
current path: “..\out\ui\bin\Debug\rpc_client.dll“ please , how to change output path "..\out\ui\bin\rpc_client.dll"
vs2019 is work.
@gcampbell-msft The user's question is that ${buildType} is automatically added to the output path when building, after I set the following settings, ${buildType} is still automatically added to the output path, I think ${buildType} should be added by default, how can we set it so that it doesn't appear in the output path?
Brief Issue Summary
setting.json
{ "security.workspace.trust.untrustedFiles": "open", "cmake.configureOnOpen": true, "cmake.showOptionsMovedNotification": false, "explorer.confirmPasteNative": false, "explorer.confirmDelete": false, "cmake.pinnedCommands": [ "cmake.build" ], "fittencode.languagePreference.displayPreference": "zh-cn", "fittencode.languagePreference.commentPreference": "zh-cn", "editor.largeFileOptimizations": false, "cmake.buildDirectory": "${workspaceFolder}/out/${buildType}", "cmake.useCMakePresets": "never", "cmake.allowCommentsInPresetsFile": true, "cmake.allowUnsupportedPresetsVersions": true, "cmake.automaticReconfigure": false, "cmake.configureOnEdit": false }
output.log
[build] Auto build dll exports [build] Automatic MOC and UIC for target image_send [build] rpc_client.vcxproj -> ..\out\Debug\ui\bin\Debug\rpc_client.dll
output path: "..\out\Debug\ui\bin\Debug\rpc_client.dll"
how to change output path "..\out\Debug\ui\bin\rpc_client.dll" ?
CMake Tools Diagnostics
No response
Debug Log
No response
Additional Information
No response