It might be a silly question for some of you, but is it possible to call cmake --target install command option without having to specify --build when using VS generator?
I'm working on a library project that sometimes I don't want to always specify build, i.e:
cmake --build . --target install
I guess cmake forces us to do it in this order to avoid errors, but what if my project is already built and I don't want cmake to re-check my project build and just install? Like we can do with jom install or nmake install etc..
this won't work:
cmake --target install
or
cmake . --target install
Thanks in advance for the answers! :)