Komplet CMake-kode

Qt Creator bruger generisk fremhævning til at levere specifikke argumenter til kodekomplettering for CMake-kommandoerne. For eksempel foreslås der kun egenskaber for kildefiler til kommandoen CMake: set_source_files_properties, ikke test- eller målegenskaber.

Følgende CMake-specifikke trigger-tokens understøttes:

  • $ for variabler
  • $< til generatorudtryk
  • $ENV til miljøvariabler

Tryk på Tab eller Enter for at acceptere det valgte forslag og fuldføre koden.

Se også Sådan gør du: Kompilering med CMake, CMake, kodekomplettering og kodestykker.

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.