Commit Graph

5 Commits

Author SHA1 Message Date
JackBoosY f4be0ada85 Use modern cmake function export to generate target 2021-06-07 02:13:23 -07:00
Gao Mingfei 1ce28f454b Add CMake minimum version required.
Interface Libraries feature is not available before CMake 3.0

Signed-off-by: Gao Mingfei <mingfei.gao@ucloud.cn>
2020-04-10 14:50:51 +08:00
Matteo Settenvini f376690822
Add a target to RapidJSONConfig.cmake.in (#1350)
This way, users can call target_link_libraries against the imported target, which is the recommended way of doing things.
2020-03-30 10:29:56 +08:00
Clemens Arth b91c515afe update to create config file which is independent from actual install location 2017-03-14 10:27:36 +01:00
Andriy Senkovych 8ae1c971ea Add initial CMake support
* Support for both in-source and out-of-source builds
 * Set library version to 0.12 to map Debian package
 * Add separate options to build tests, examples and documentation
 * Add pkgconfig lookup support (if installed with `make install`)
 * Add CMake lookup support (if isntalled with `make install`)
 * Add Google Test Source lookup
 * Add CTest support for running tests (use `make test` or `ctest -V`)
2014-11-11 17:26:59 +02:00