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
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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.