Page MenuHomePhabricator

Add the capability to build univalue using cmake/ninja
ClosedPublic

Authored by deadalnix on Dec 9 2017, 19:56.

Details

Summary

This is much better than autotool. Hopefully, over time, we'll be able to convert the rest of the build and use that.

Test Plan
mkdir build
cd build
cmake -GNinja ..
ninja

And cross compil for windows:

mkdir buildwin32
cd buildwin32
cmake -GNinja -DCMAKE_TOOLCHAIN_FILE=../cmake/plateforms/Win32.cmake
ninja

Repeat for win64, which should be obvious.

Diff Detail

Repository
rABC Bitcoin ABC
Branch
buildcmake
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 1343
Build 1343: arc lint + arc unit

Event Timeline

MacOS build worked well. Can't test windows.

Nit: Dir name plateforms -> platforms

Use option instead of set for build options

This revision is now accepted and ready to land.Dec 12 2017, 01:19
This revision was automatically updated to reflect the committed changes.