HomePhabricator

[cmake] Do not assume ninja

Description

[cmake] Do not assume ninja

Summary: Currently, cmake always use ninja to build native executable. This patch changes this to use the same generator as the one provided by the user.

Test Plan:

cmake .. -DCMAKE_TOOLCHAIN_FILE=../cmake/platforms/Win32.cmake
make
cmake .. -DCMAKE_TOOLCHAIN_FILE=../cmake/platforms/OSX.cmake
make

Reviewers: #bitcoin_abc, jasonbcox

Reviewed By: #bitcoin_abc, jasonbcox

Subscribers: jasonbcox, teamcity

Differential Revision: https://reviews.bitcoinabc.org/D1379

Details

Provenance
deadalnixAuthored on May 6 2018, 13:09
deadalnixPushed on May 6 2018, 20:05
Reviewer
Restricted Project
Differential Revision
D1379: [cmake] Do not assume ninja
Parents
rABCcd0e5a8d43a7: [cmake] Enable OSX cross compilation
Branches
Unknown
Tags
Unknown