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

时间:2015-07-28 23:11:47

标签: cmake

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.

1 个答案:

答案 0 :(得分:5)

cmake --build . --target install