3 ms·
Little known cmake feature: instead of running "make" after running cmake, do a 'cmake --build .': $ mkdir build $ cd build $ cmake ../ $ cmake --build . T
by flohofwoe 8y ago
Little known cmake feature: instead of running "make" after running cmake, do a 'cmake --build .':
$ mkdir build
$ cd build
$ cmake ../
$ cmake --build .
This has the advantage that it works for every generator on every platform, since cmake knows how to invoke the right command line build tool for the generator (make, ninja, msbuild, xcodebuild etc).