gtest: move GTest/GMock files to separate directory, update GTest/GMock usages

* all GTest/GMock files moved to `test/gtest` directory
* `CMakeLists.txt` created in `test/gtest` from `CMakeLists.txt` in `test`
* GTest/GMock target in CMake renamed to `gtest` (was `gmock`)
* CMake `gtest` target updated to export includes as "gtest/gtest.h" or "gmock/gmock.h" only
* includes in tests updated: "gtest.h" -> "gtest/gtest.h", "gmock.h" -> "gmock/gmock.h"
* removed duplications of `target_include_directories` for GTest/GMock directories (CMake manages them)
This commit is contained in:
Alexey Ochapov
2021-04-29 01:59:43 +03:00
committed by Victor Zverovich
parent 342973b349
commit 53ca0cbe75
22 changed files with 53 additions and 56 deletions

View File

@@ -15,7 +15,7 @@
#include "fmt/chrono.h"
#include "fmt/compile.h"
#include "gmock.h"
#include "gmock/gmock.h"
#include "gtest-extra.h"
#include "util.h"