sapling/build
Anton Frolov 161179c4c6 Make it possible to compile openr through CMakeLists.txt
Summary:
This diff fixes `CMakeLists.txt` to enable building `openr` tests using CMake:
1. It adds `add_openr_test` CMake function that adds executable target, registers it as test, links it with bunch of libraries like GTest and GMock, etc...
2. There is no `openr/tests/OpenrModuleTestBase.cpp` anywhere in the source tree, so this commit replaces it with `openr/common/Flags.cpp`.

Reviewed By: jstrizich

Differential Revision: D18584028

fbshipit-source-id: 07d854ef98d0d2509889a08ad042a371101a2825
2019-11-27 00:24:06 -08:00
..
deps/github_hashes Updating submodules 2019-11-27 00:24:06 -08:00
fbcode_builder Make it possible to compile openr through CMakeLists.txt 2019-11-27 00:24:06 -08:00