简体   繁体   English

生成.c文件时的EXE文件

[英]EXE files when building .c files

In Visual Studio Code:在Visual Studio代码中:

So currently my workspace is a folder named C. Then in CI have a folder(consisting of my .c files) for each project.因此,当前我的工作空间是一个名为C的文件夹。然后在CI中,每个项目都有一个文件夹(由我的.c文件组成)。 Every time I build my .c file, it creates the exe file in my workspace folder C instead of the project folder within C.每次构建.c文件时,它都会在我的工作区文件夹C中而不是在C中的项目文件夹中创建exe文件。

How do I configure this so that VSC creates the .exe file directly into my subfolder so that I don't have to manually move the new .exe file into the project folder every time?如何配置它,以便VSC将.exe文件直接创建到我的子文件夹中,这样我就不必每次都手动将新的.exe文件移动到项目文件夹中?

In Visual Studio Code:在Visual Studio代码中:

So currently my workspace is a folder named C. Then in CI have a folder(consisting of my .c files) for each project.因此,当前我的工作空间是一个名为C的文件夹。然后在CI中,每个项目都有一个文件夹(由我的.c文件组成)。 Every time I build my .c file, it creates the exe file in my workspace folder C instead of the project folder within C.每次构建.c文件时,它都会在我的工作区文件夹C中而不是在C中的项目文件夹中创建exe文件。

How do I configure this so that VSC creates the .exe file directly into my subfolder so that I don't have to manually move the new .exe file into the project folder every time?如何配置它,以便VSC将.exe文件直接创建到我的子文件夹中,这样我就不必每次都手动将新的.exe文件移动到项目文件夹中?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM