Uzupełnianie kodu CMake

Qt Creator wykorzystuje ogólne podświetlanie, aby zapewnić autouzupełnianie argumentów specyficznych dla poleceń CMake. Na przykład dla polecenia CMake: set_source_files_properties sugerowane są wyłącznie właściwości plików źródłowych, a nie właściwości testów lub celów.

Obsługiwane są następujące tokeny wyzwalające specyficzne dla CMake:

  • $ dla zmiennych
  • $< dla wyrażeń generatora
  • $ENV dla zmiennych środowiskowych

Naciśnij klawisz Tab lub Enter, aby zaakceptować wybraną propozycję i uzupełnić kod.

Zobacz także : Jak: Kompilacja za pomocą CMake, CMake, Autouzupełnianie i Fragmenty kodu.

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.