Creare file manifest vcpkg

Per creare un nuovo file di manifesto del gestore di pacchetti vcpkg (vcpkg.json):

  1. Selezionare File > New File > vcpkg > vcpkg.json Manifest File > Choose per aprire la finestra di dialogo " Location ".
  2. In " File name", inserire un nome per il file manifest.
  3. In " Path", immettere il percorso del file manifest.
  4. Selezionare " Next " per aprire la finestra di dialogo " vcpkg.json Manifest File ".

    Finestra di dialogo "File manifest vcpkg.json"

  5. In " Name", immettere un nome per il file manifest.
  6. In " Version string", inserire un numero di versione per il file.
  7. In " Dependencies", inserire i pacchetti da gestire.

    È possibile aggiungere i pacchetti in un secondo momento in un editor di manifest.

  8. Selezionare " Next " per aprire la pagina " Project Management ".
  9. Selezionare " Finish " per creare il file.

La procedura guidata aggiunge automaticamente il file vcpkg.json al file CMakeLists.txt del progetto.

Vedi anche Configurare il gestore di pacchetti vcpkg e Modificare i file di manifesto vcpkg.

Copyright © The Qt Company Ltd. and other contributors. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.