Can we generate a CMakeFile.txt using CMake Tool Extension in the visual studio Code, Or is there any way to generate, given src file have 50 .cpp files, need to generate CMakeList.txt automatically.
Can I generate a CMakeLists.txt using CMake Tools in VS Code?
Asked Answered
Use the CMake: Quick Start
command in the command palette.
If you want to customize the generated file, see Is there a way to generate a customized CMakeLists.txt from VSCode's CMake-tools "Cmake: quick start"?.
© 2022 - 2025 — McMap. All rights reserved.