Skip to content

Latest commit

 

History

History
25 lines (18 loc) · 651 Bytes

File metadata and controls

25 lines (18 loc) · 651 Bytes

json-schema uses cmake to build.

For running the tests, you need to have perl.

You'll need jsoncpp compiled as a shared library (BUILD_SHARED_LIBS=ON) and pcre.

The basic usage is

mkdir build
cd build
cmake ..
make
make test
make install

Some useful parameters you can pass to cmake with -Dparameter=value:

  • CMAKE_INSTALL_PREFIX: for setting the installation path

You can get verbose build output with by passing VERBOSE=1 to make.

You can also check the cmake FAQ.