danijar
danijar

Reputation: 34215

Is there a cross-platform CMake command to install a project?

CMake comes with a cross-platform way to compile projects which is cmake --build .. Is there a similar command to install a project? I'm looking for something that translates to make install on Unix but also works on Windows.

Upvotes: 3

Views: 214

Answers (1)

user2288008
user2288008

Reputation:

cmake --build . --target install

Upvotes: 5

Related Questions