1. 09 Aug, 2017 1 commit
    • Matthew Woehlke's avatar
      Fix library install destinations · 0e8e0e07
      Matthew Woehlke authored
      
      
      Modify library install destinations to install .dll's to the correct
      location (`bin`, not `lib`), and to install other artifacts to the
      correct platform-dependent location by using GNUInstallDirs. This is
      required for some distributions (e.g. Fedora) and will fix an issue that
      otherwise requires those distributions to patch the upstream sources.
      Also, add options to suppress installation, which may be useful for
      projects that embed Google Test.
      
      Since Google Test is trying to support archaic versions of CMake, a
      brain-dead fallback (which requires that the user set either LIB_SUFFIX
      or CMAKE_INSTALL_LIBDIR themselves) is included for versions that
      predate GNUInstallDirs.
      
      Fixes #1161.
      Co-Authored-By: default avatard3x0r <d3x0r@users.noreply.github.com>
      0e8e0e07
  2. 14 Jul, 2016 2 commits
  3. 15 May, 2016 3 commits
  4. 08 Mar, 2016 1 commit
  5. 21 Feb, 2016 1 commit
    • Paul Wilkinson's avatar
      Fix formatting in AdvancedGuide.md · 83d3b47a
      Paul Wilkinson authored
      Put occurrences of "#include" in a code span so they are not interpreted
      as headers.
      
      Other documents were not broken because the #include was not at the
      start of the line, but put them in code spans anyway just in case the
      text gets refilled in the future.
      83d3b47a
  6. 17 Feb, 2016 1 commit
  7. 08 Dec, 2015 1 commit
  8. 06 Dec, 2015 1 commit
  9. 03 Dec, 2015 1 commit
  10. 12 Nov, 2015 1 commit
  11. 11 Nov, 2015 3 commits
    • Mark Mentovai's avatar
      Use a templated helper to wrap the cast · cfe466a0
      Mark Mentovai authored
      The helper needs to be templated because its argument type can’t be
      known. FloatingPointTest is instantiated with RawType = float and
      RawType = double, so Bits will be an unsigned 32-bit or 64-bit type.
      size_t will be either 32 or 64 bits depending on the system’s
      definition, typically based on pointer size.
      cfe466a0
    • Mark Mentovai's avatar
    • Mark Mentovai's avatar
      Fix warnings encountered in MSVC build of gtest/gmock tests · 8b085f0d
      Mark Mentovai authored
      This fixes these warnings:
      
      …\gtest\googletest\test\gtest-port_test.cc(78) : error C2220: warning treated as error - no 'object' file generated
      …\gtest\googletest\test\gtest-port_test.cc(78) : warning C4309: 'static_cast' : truncation of constant value
      …\gtest\googletest\test\gtest-port_test.cc(79) : warning C4309: 'static_cast' : truncation of constant value
      
      …\gtest\googlemock\test\gmock-matchers_test.cc(2712) : error C2220: warning treated as error - no 'object' file generated
              …\gtest\googlemock\test\gmock-matchers_test.cc(2706) : while compiling class template member function 'testing::gmock_matchers_test::FloatingPointTest<float>::FloatingPointTest(void)'
              …\gtest\googlemock\test\gmock-matchers_test.cc(2896) : see reference to function template instantiation 'testing::gmock_matchers_test::FloatingPointTest<float>::FloatingPointTest(void)' being compiled
              …\gtest\googlemock\test\gmock-matchers_test.cc(2896) : see reference to class template instantiation 'testing::gmock_matchers_test::FloatingPointTest<float>' being compiled
      …\gtest\googlemock\test\gmock-matchers_test.cc(2712) : warning C4267: 'argument' : conversion from 'size_t' to 'const unsigned int', possible loss of data
      …\gtest\googlemock\test\gmock-matchers_test.cc(2714) : warning C4267: 'argument' : conversion from 'size_t' to 'const unsigned int', possible loss of data
      …\gtest\googlemock\test\gmock-matchers_test.cc(2716) : warning C4267: 'argument' : conversion from 'size_t' to 'const unsigned int', possible loss of data
      …\gtest\googlemock\test\gmock-matchers_test.cc(2717) : warning C4267: 'argument' : conversion from 'size_t' to 'const unsigned int', possible loss of data
      …\gtest\googlemock\test\gmock-matchers_test.cc(2718) : warning C4267: 'argument' : conversion from 'size_t' to 'const unsigned int', possible loss of data
      …\gtest\googlemock\test\gmock-matchers_test.cc(2721) : warning C4267: 'argument' : conversion from 'size_t' to 'const unsigned int', possible loss of data
      …\gtest\googlemock\test\gmock-matchers_test.cc(2723) : warning C4267: 'argument' : conversion from 'size_t' to 'const unsigned int', possible loss of data
      8b085f0d
  12. 12 Oct, 2015 2 commits
  13. 23 Sep, 2015 1 commit
  14. 20 Sep, 2015 1 commit
  15. 18 Sep, 2015 1 commit
  16. 17 Sep, 2015 2 commits
  17. 08 Sep, 2015 2 commits
  18. 30 Aug, 2015 2 commits
  19. 27 Aug, 2015 2 commits
  20. 26 Aug, 2015 1 commit
  21. 25 Aug, 2015 2 commits