MattMatt2000
MattMatt2000

Reputation: 622

CMake: Generating batch file calling cl.exe

CMake is a build system generator supporting different build systems and environments like make, visual studio, code-blocks, eclipse-cdt, etc... To generate a project, you can use the -G option to specify the project generator.

Is there an option, are there any projects, or is it possible to write a generator that creates batch files calling cl.exe so I don't have to open visual studio every time?

Upvotes: 0

Views: 1066

Answers (1)

Joseph Artsimovich
Joseph Artsimovich

Reputation: 1519

CMake is able to invoke the build tool (MSBuild in this case) by itself, using the --build option. See this question for more details.

Upvotes: 1

Related Questions