User talk:Tverrbjelke

From GnuCash
Revision as of 03:51, 19 June 2020 by Jralls (talk | contribs) (Rolled back edits.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

I've rolled back your edits to Building On Linux because we're two weeks away from releasing GnuCash 4.0, at which point there is little use for building GnuCash 3, and your recipe is version 3 specific (GMOCK_ROOT is no longer required and GTEST_ROOT should point at the parent directory of both googletest and googlemock. More important, though, is that they're wrong: Google Test and Google Mock should not be built as shared libraries and installed. Just install the sources and point GTEST_ROOT and the main directory... but that's not necessary on Linux, all Linux distros provide a googletest package and the GnuCash build system can find it without setting GTEST_ROOT. Finally, gnc_gtest_configure does check for shared libraries as some distros used to package GoogleTest that way, but it doesn't use GTEST_ROOT to do so. If the install location is outside the usual paths you should add the path to CMAKE_LIBRARY_PATH; CMAKE_PREFIX_PATH might work too as long as you need only one path in it as we abuse it in a way that would break if it had more than one path. John Ralls (talk) 03:51, 19 June 2020 (UTC)