gnucash/common/cmake_modules
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 Bump minimum cmake version to 3.5 2019-05-25 12:04:51 +02:00
COPYING-CMAKE-SCRIPTS.txt Housekeeping - replace plenty of http links with https 2019-06-06 15:52:30 +02:00
GncAddGSchemaTargets.cmake Bump minimum cmake version to 3.5 2019-05-25 12:04:51 +02:00
GncAddSchemeTargets.cmake Bump minimum cmake version to 3.5 2019-05-25 12:04:51 +02:00
GncAddSwigCommand.cmake FIX: Corrected typos 2018-04-07 12:20:58 +02:00
GncAddTest.cmake Add gtest_main.cc to libgtest.a 2019-08-15 23:20:45 +02:00
MacroAddSourceFileCompileFlags.cmake Lowercase cmake commands 2018-05-03 23:18:15 +02:00
MacroAppendForeach.cmake Lowercase cmake commands 2018-05-03 23:18:15 +02:00
MakeDist.cmake Bump minimum cmake version to 3.5 2019-05-25 12:04:51 +02:00
MakeDistCheck.cmake Bump minimum cmake version to 3.5 2019-05-25 12:04:51 +02:00
MakeDistFiles.cmake Lowercase cmake commands 2018-05-03 23:18:15 +02:00