Support .in files (or just cmake.in)
See original GitHub issueA common pattern is a .in
file, which should be identified as the inner type, that is, MyConfig.cmake.in
should be a CMake file, and pytest.ini.in
should be an ini
file, etc. AFAICT, this is not currently supported?
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:6 (2 by maintainers)
Top Results From Across the Web
Overview | CMake
CMake supports in-place and out-of-place builds, and can therefore support multiple builds from a single source tree. CMake also supports static and dynamic ......
Read more >Writing CMakeLists Files — Mastering CMake
CMakeLists files can be edited in almost any text editor. Some editors, such as Notepad++, come with CMake syntax highlighting and indentation support ......
Read more >Running CMake
Running CMake for Windows / Microsoft Visual C++ (MSVC) ... Run cmake-gui.exe, which should be in your Start menu under Program Files, there...
Read more >Getting Started — Mastering CMake
Basic CMake Usage¶ ... CMake takes one or more CMakeLists files as input and produces project files or Makefiles for use with a...
Read more >Why CMake? — Mastering CMake
With CMake, once you write your input files you get support for new compilers and build systems for free because the support for...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
CMake-format is explicitly supporting
*.cmake.in
files in it’s next release, so it would be very nice to be able to elegantly identify these (it actually caught me by surprise that they were not being picked up by default, since they are a very common file type in CMake).(And an explicit regex is what I’m currently doing):
(Sorry, meant to comment on the other issue - can update to say that the most recent release of cmake-format does already support cmake.in)