Extending cmake to compile wallycore source files into a native library
libsecp256k1 is compiled using ExternalProject cmake module
ccan sources are compiled as OBJECT libraries
This commit also introduces a first draft of the install process where wallycore library and include files are installed together with the libsecp256k1 ones.
cmake target files are also installed, so users can import wallycore library using cmake's find_package tools.
As libsecp256k1 is an automake-based project we massage its .pc to fit the cmake install process
In cmake language, users can now do
Extending cmake to compile wallycore source files into a native library
This commit also introduces a first draft of the install process where wallycore library and include files are installed together with the libsecp256k1 ones.
cmake target files are also installed, so users can import wallycore library using cmake's find_package tools. As libsecp256k1 is an automake-based project we massage its .pc to fit the cmake install process In cmake language, users can now do
and then target the libraries as
FYI: @k-matsuzawa