BASIS  r3148
FindGTest.cmake File Reference

Find Google Test package. More...

#include "FindPackageHandleStandardArgs.cmake"
+ Include dependency graph for FindGTest.cmake:

Go to the source code of this file.

Variables

cmake CMAKE_FIND_LIBRARY_SUFFIXES
cmake GTest_DIR
cmake GTest_FOUND
cmake GTest_INCLUDE_DIRS
cmake GTest_INCLUDES
cmake GTest_ORIG_CMAKE_FIND_LIBRARY_SUFFIXES

Detailed Description

Find Google Test package.

Input variables:
GTest_DIR The Google Test package files are searched under the specified root directory. If they are not found there, the default search paths are considered. This variable can also be set as environment variable.
GTEST_DIR Alternative environment variable for GTest_DIR.
GTest_SHARED_LIBRARIES Forces this module to search for shared libraries. Otherwise, static libraries are preferred.
Output variables:
GTest_FOUND Whether the package was found and the following CMake variables are valid.
GTest_INCLUDE_DIR Package include directories.
GTest_INCLUDES Include directories including prerequisite libraries.
GTest_LIBRARY Path of gtest library.
GTest_main_LIBRARY Path of gtest_main library (optional).
GTest_LIBRARIES Package libraries and prerequisite libraries.

Copyright (c) 2011, 2012 University of Pennsylvania. All rights reserved.
See https://www.cbica.upenn.edu/sbia/software/license.html or COPYING file.

Contact: SBIA Group <sbia-software at uphs.upenn.edu>

Definition in file FindGTest.cmake.


Variable Documentation

Definition at line 75 of file FindGTest.cmake.

cmake GTest_DIR

Definition at line 61 of file FindGTest.cmake.

cmake GTest_FOUND

Definition at line 179 of file FindGTest.cmake.

Definition at line 165 of file FindGTest.cmake.

Definition at line 149 of file FindGTest.cmake.

Definition at line 71 of file FindGTest.cmake.