Answer the question
In order to leave comments, you need to log in
How to tell the compiler not to create a project for Visual Studio (cmake, mcvs2019) when building?
When building third-party projects, after running cmake, project files *nameProject*.sln, ALL_BUILD.vcxproj, etc. appear in the build folder. Is it possible to build a project with make without opening studio and compiling the project in it? I would like to do everything in the console without opening the studio once again.
Answer the question
In order to leave comments, you need to log in
cmake --build . --config release
cmake --build . --config debug
the project in this case is just the generated build file. cmake --build can build any configured projects, calling the correct tool (what exactly will be there - make, ninja or msbuild - it doesn't matter, the syntax is the same)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question