gnucash/libgnucash/core-utils/test
Christian Gruber 1b4e481296 Add gtest_main.cc to libgtest.a
Currently when compiling GoogleTest from source code, source file
gtest_main.cc from GoogleTest repository is not compiled into any
library as in GoogleTest repository, where it is compiled into
libgtest_main.a. Instead gtest_main.cc is added to source file list
GTEST_SRC, which is then added to the list of source files of every
single GoogleTest based test application.

To simplify this gtest_main.cc is added to the source file list of
target gtest now. Additionally GTEST_SRC is merged into
lib_gtest_SOURCES, since both variables defined source files for
GoogleTest libraries.

Now target gtest generates library libgtest.a, which already contains
the main function from source file gtest_main.cc. This is different to
GoogleTest build system, where both are separated into two independent
libraries libgtest.a and libgtest_main.a.
2019-08-15 23:20:45 +02:00
..
CMakeLists.txt Add gtest_main.cc to libgtest.a 2019-08-15 23:20:45 +02:00
gtest-path-utilities.cpp Rework directory determination in CMake builds. 2017-12-05 17:25:52 -08:00
test-gnc-glib-utils.c Restructure the src directory 2017-08-10 18:45:00 +02:00
test-resolve-file-path.c Prevent gcc from searching config.h in the current directory 2017-10-26 14:05:17 +02:00
test-userdata-dir-invalid-home.c Improve gnc_data_home verification and creation 2018-02-02 10:24:04 +01:00
test-userdata-dir.c Use a platform dependent package name for gnc_user[config|data]_dir 2018-02-19 22:53:32 +01:00