Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

Tags:

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.

like image 985
danijar Avatar asked Dec 21 '25 20:12

danijar


1 Answers

cmake --build . --target install


Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!