How to specify a location to put another binary file in ./target/.... ?
I have another executable binary file. Let's call it `e.exe`. How can I specify in cargo.toml or somewhere else to tell `cargo` to put this `e.exe` in a specific location once I type `cargo build`?
Emm, for example, the resulting directory may be like this:
```
target:
debug:
my_prog_produced_by_cargo.exe
a_folder_I_appointed_to_cargo_to_store_the_dependency:
e.exe
```
> Sorry for the unclearness but I am new to programming and really have little idea on how to make a project, or any terminologies related to this topic...
>
> Many thanks ahead!
Edit:
When I used other programs, I often find that there are A LOT OF things in the directory. But later when I started to learn coding, I found that I could only produce a *single* program, not anything like the programs we use every day.
Of course I can manually put other files in. But I then learned that this thing called project manager or IDE exists to help me manage the dependencies or non-code files. However, I still have no idea on how to produce a program *with* many other files it can use...
https://redd.it/hhvxsq
@r_rust
I have another executable binary file. Let's call it `e.exe`. How can I specify in cargo.toml or somewhere else to tell `cargo` to put this `e.exe` in a specific location once I type `cargo build`?
Emm, for example, the resulting directory may be like this:
```
target:
debug:
my_prog_produced_by_cargo.exe
a_folder_I_appointed_to_cargo_to_store_the_dependency:
e.exe
```
> Sorry for the unclearness but I am new to programming and really have little idea on how to make a project, or any terminologies related to this topic...
>
> Many thanks ahead!
Edit:
When I used other programs, I often find that there are A LOT OF things in the directory. But later when I started to learn coding, I found that I could only produce a *single* program, not anything like the programs we use every day.
Of course I can manually put other files in. But I then learned that this thing called project manager or IDE exists to help me manage the dependencies or non-code files. However, I still have no idea on how to produce a program *with* many other files it can use...
https://redd.it/hhvxsq
@r_rust