.cmake CMake-Quelltext
Text & Quellcode
| MIME-Typ | text/x-cmake |
|---|---|
| Beschreibung | CMake-Quelltext |
| Kategorie | Text & Quellcode |
| Basiert auf | text/plain |
Häufige Fragen
Was ist eine .cmake-Datei?
Eine .cmake-Datei ist ein Format vom Typ „CMake-Quelltext“ (MIME-Typ text/x-cmake).
Womit öffne ich eine .cmake-Datei?
Mit jedem Texteditor – etwa Notepad++, Visual Studio Code oder unter Linux gedit und vim. Die Datei enthält lesbaren Text, ggf. Quellcode oder Konfiguration.
Woran erkennt man eine echte .cmake-Datei?
Für dieses Format ist keine feste Signatur am Dateianfang hinterlegt; erkannt wird es vor allem an der Endung. Unter Linux und macOS zeigt file --mime-type example.cmake den vermuteten Typ.
Auf welchem Format basiert .cmake?
Technisch ist eine .cmake-Datei ein Untertyp von „Einfaches Textdokument“ (text/plain). Programme für dieses Grundformat können die Datei daher oft ebenfalls lesen.
Welcher MIME-Typ gehört zu .cmake?
Der MIME-Typ ist text/x-cmake. Im Apache-Webserver: AddType text/x-cmake .cmake; in nginx: types { text/x-cmake cmake; }.