Skip to content

About

CPM external for google test

Resources

Stars

2 stars

Watchers

1 watching

Forks

Latest commit

 

History

36 Commits

Folders and files

Repository files navigation

cpm-google-test

Build Status

CPM external for google test.

Usage

#include <gtest/gtest.h>

Please refer to Google's gtest documentation.

Linux Caveat

You will need to add '-pthread' to the end your target_link_libraries call on some linux platforms. Like so:

if (UNIX)
  if (NOT APPLE)
    set(PTHREADS "-pthread")
  endif()
endif()

add_executable(google_test_test ${Sources})
target_link_libraries(google_test_test ${CPM_LIBRARIES} ${PTHREADS})

About

CPM external for google test

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages