5 Commits

Author SHA1 Message Date
Milo Yip
ce3ca58fee Change googletest search path for cmake 2016-06-10 10:15:45 +08:00
Phyks
89ad34cef4 Fix CMakeLists for include as a thirdparty in projects 2015-05-12 00:23:50 +02:00
Andrii Senkovych
04b673686a Introduce option to select default gtest installation. Refs #309
This will introduce RAPIDJSON_BUILD_THIRDPARTY_GTEST option. If it is set to
TRUE, cmake will look for GTest installation in `thirdparty/gtest` before
looking in other places.

Current default value (OFF) for RAPIDJSON_BUILD_THIRDPARTY_GTEST represents
previous behaviour when system-wide gtest installation is used whenever
possible.

This commit will as well eliminate problem described in #309 when source
directory found is `thirdparty/gtest` while include files are found
system-wide. This however won't give the user possibility to select gtest
installation to use.
2015-04-21 13:33:44 +03:00
Danil Osherov
2e0a2f61f4 CMake: fixed 'Unknown CMake command "find_package_handle_standard_args"'.
Added INCLUDE(FindPackageHandleStandardArgs) before using find_package_handle_standard_args().
2015-04-10 19:34:55 +03: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