Completare il codice CMake

Qt Creator utilizza l'evidenziazione generica per fornire argomenti specifici per il completamento del codice relativi ai comandi CMake. Ad esempio, per il comando CMake: set_source_files_properties vengono suggerite solo le proprietà dei file sorgente, non quelle dei test o dei target.

Sono supportati i seguenti token di attivazione specifici di CMake:

  • $ per le variabili
  • $< per le espressioni del generatore
  • $ENV per le variabili d'ambiente

Premere il tasto Tab o Invio per accettare il suggerimento selezionato e completare il codice.

Vedi anche Come: Compilare con CMake, CMake, Completamento e Snippet.

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.