Edd Inglis
Edd Inglis

Reputation: 1105

What are the canonical names for CMake steps?

I'm writing some documentation and wish to refer to the two main CMake steps using their canonical/usual/most-widely-understood names.

For the purposes of clarity, I'm interested in these two:

cmake -S . -B BUILD_DIR -DCMAKE_BUILD_TYPE=RELEASE      // the 'first' command
cmake --build BUILD_DIR                                 // the 'second' command

I've seen these called the "Configure" and "Generate" steps, respectively. Equally, I could imagine calling them "Parse" and "Build" and so on.

I don't want to fall foul of this question being closed as "a matter of opinion", so to be clear: I'm asking if there is a standard terminology (explicit or de-facto) and what that is, or if no such standard exists.

Upvotes: 1

Views: 80

Answers (1)

arrowd
arrowd

Reputation: 34401

man cmake calls cmake -S step "Generate a Project Buildsystem", and cmake --build step - "Build a Project". I can't agree that cmake --build can be called "Generate".

Upvotes: 1

Related Questions