What's new for 1.4:
What's new for 1.3:
To build with CMake
ccmake /path/to/verdict
but replace
/path/to/verdict
with the path to the directory
containing this read-me file.make
make install
If you do not already have verdict installed on your system, see below for instructions to compile it.
Once you have verdict installed, you may use it in your own project by adding
find_package(Verdict)
to your CMakeLists.txt
file.
Now you can link your executable to the verdict library.
Assume you have an executable named example
;
verdict uses CMake's namespace feature, so you should
link to the verdict library like so:
target_link_libraries(example
PUBLIC
Verdict::verdict
)
Note that executables do not need to specify PUBLIC
, PRIVATE
,
or INTERFACE
linkage, but libraries must so that transitive
dependencies can be resolved by cmake.
verdict.h
is the only header file you need to include.