gnucash/common
Christian Gruber d637c53fff Separate search for GTEST/GMOCK sources into different cases
1. If GTEST_ROOT and/or GMOCK_ROOT are defined, sources are expected
somewhere inside these directories. Otherwise a CMake error is
generated. Different source directory layouts are considered.

2. If GTEST_ROOT and GMOCK_ROOT are both not defined, sources are
searched in /usr/src. Different source directory layouts are considered.

3. If sources are not found in one of the first two cases, preinstalled
libraries are searched.

Additionally using HINTS in function find_path() has been replaced by
PATHS and PATH_SUFFIXES. According to CMake documentation in case of
hard-coded guesses PATHS should be used. Remark: This reverts commit
5f53e29, but instead NO_CMAKE_SYSTEM_PATH is used now to prevent CMake
from searching in system paths.

Hint: There was a special handling implemented regarding search for
gmock-all.cc. This file was additionally searched in /usr/src/gmock
directly instead of /usr/src/gmock/src (see commit 1241b71). This
special handling has been kept in case of searching sources in
/usr/src/gmock, but not in case of searching sources in GMOCK_ROOT or
GTEST_ROOT.
2019-09-03 23:59:28 +02:00
..
cmake_modules Separate search for GTEST/GMOCK sources into different cases 2019-09-03 23:59:28 +02:00
debug Lowercase cmake commands 2018-05-03 23:18:15 +02:00
test-core Use target gtest instead of GTEST_LIB and GTEST_INCLUDE_DIR 2019-09-03 23:45:09 +02:00
base-typemaps.i Fix TravisCI build failure. 2018-09-18 15:07:47 -07:00
CMakeLists.txt Lowercase cmake commands 2018-05-03 23:18:15 +02:00
config.h.cmake.in Use cmake_symbol_check to test for AB_Banking_RuntimeConfig_SetCharValue 2019-08-13 09:52:31 -07:00
gnc-test-env.pl Restructure the src directory 2017-08-10 18:45:00 +02:00
guile-mappings.h Redefine some more buggy Guile string conversions. 2018-04-24 17:57:52 -07:00
platform.h gnc-uri - refer to 'scheme' instead of 'protocol' as that's the more formal term used in uris 2018-12-27 22:33:17 +01:00