Homec4science

Improve CMake exported targets.

Authored by Dakota Hawkins <dakotahawkins@gmail.com> on Jul 24 2018, 17:06.

Description

Improve CMake exported targets.

I _think_ this represents some of the "best practices" for exporting
targets. They'll be available in a googletest:: namespace (e.g.
googletest::gmock) with non-namespaced ALIAS targets.

  • Added GOOGLETEST_VERSION variable
  • Use CMakePackageConfigHelpers, bump minimum CMake version to 2.8.8

Signed-off-by: Dakota Hawkins <dakotahawkins@gmail.com>

Details

Committed
Dakota Hawkins <dakotahawkins@gmail.com>Aug 21 2018, 19:02
Pushed
trottetDec 4 2019, 13:52
Parents
R9484:b88511ef640c: Merge pull request #1194 from joshbodily/josh/fix_scoped_class2
Branches
Unknown
Tags
Unknown

Event Timeline

Dakota Hawkins <dakotahawkins@gmail.com> committed R9484:759ef7c4e966: Improve CMake exported targets. (authored by Dakota Hawkins <dakotahawkins@gmail.com>).Aug 21 2018, 19:02