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 07:11:49 -07:00
committed by Victor Zverovich
parent 342973b349
commit 53ca0cbe75
22 changed files with 53 additions and 56 deletions
+1 -1
View File
@@ -16,7 +16,7 @@
#include <string>
#include <vector>
#include "gtest.h"
#include "gtest/gtest.h"
#if !FMT_GCC_VERSION || FMT_GCC_VERSION >= 601
# define FMT_RANGES_TEST_ENABLE_C_STYLE_ARRAY