Visual Circuits H-DVP Instrukcja Użytkownika Strona 375

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 385
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 374
UM0036 ST Assembler/Linker build tutorial
Doc ID 7705 Rev 11 375/385
Entering a user-defined command
User-defined commands such as those applied in the Post-Build tab, can allow you to
specify tasks to accomplish in addition to the typical build process. Such a task could be to
copy a version of the final application to another directory.
Figure 305. Enter a post build copy command
To do this:
1. Create a new folder on your hard drive. For the purposes of this example, I created a
file with the pathname C:\final.
2. In the Project Settings window (Project>Settings...), click on the Post-Build tab
3. Click to place the cursor in the Commands field.
4. Type cmd.exe /C copy followed by a space.
5. Click on the Directory button and select Output Folder. This macro ($OutputPath)
tells STVD to look in the project’s output folder (Release) for the file to copy.
6. Click on the File button and select Target File Name. This macro $(TargetFName)
tells STVD to look for the target application file that is specified during linking.
Przeglądanie stron 374
1 2 ... 370 371 372 373 374 375 376 377 378 379 380 ... 384 385

Komentarze do niniejszej Instrukcji

Brak uwag