GitHub - iauns/cpm-google-test: CPM external for google test (original) (raw)

Skip to content

Sign in

Appearance settings

View all features

View all solutions

Provide feedback

We read every piece of feedback, and take your input very seriously.

Include my email address so I can be contacted

Saved searches

Use saved searches to filter your results more quickly

Sign in

Sign up

Appearance settings

iauns / cpm-google-test Public

CPM external for google test

cpm.rocks/mod/gh/iauns/cpm-google-test

License

MIT license

2 stars 3 forks Branches Tags Activity

Star

Notifications You must be signed in to change notification settings

Additional navigation options

BranchesTags

Folders and files

Name Name Last commit message Last commit date
Latest commitHistory36 Commits
tests tests
.gitignore .gitignore
.travis.yml .travis.yml
CMakeLists.txt CMakeLists.txt
LICENSE LICENSE
README.md README.md
Vagrantfile Vagrantfile
cloneCookbooks.sh cloneCookbooks.sh

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 <span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML"><semantics><mrow><mi>C</mi><mi>P</mi><msub><mi>M</mi><mi>L</mi></msub><mi>I</mi><mi>B</mi><mi>R</mi><mi>A</mi><mi>R</mi><mi>I</mi><mi>E</mi><mi>S</mi></mrow><annotation encoding="application/x-tex">{CPM_LIBRARIES} </annotation></semantics></math></span><span class="katex-html" aria-hidden="true"><span class="base"><span class="strut" style="height:0.8333em;vertical-align:-0.15em;"></span><span class="mord"><span class="mord mathnormal" style="margin-right:0.13889em;">CP</span><span class="mord"><span class="mord mathnormal" style="margin-right:0.10903em;">M</span><span class="msupsub"><span class="vlist-t vlist-t2"><span class="vlist-r"><span class="vlist" style="height:0.3283em;"><span style="top:-2.55em;margin-left:-0.109em;margin-right:0.05em;"><span class="pstrut" style="height:2.7em;"></span><span class="sizing reset-size6 size3 mtight"><span class="mord mathnormal mtight">L</span></span></span></span><span class="vlist-s">​</span></span><span class="vlist-r"><span class="vlist" style="height:0.15em;"><span></span></span></span></span></span></span><span class="mord mathnormal" style="margin-right:0.07847em;">I</span><span class="mord mathnormal" style="margin-right:0.00773em;">BR</span><span class="mord mathnormal">A</span><span class="mord mathnormal" style="margin-right:0.00773em;">R</span><span class="mord mathnormal" style="margin-right:0.07847em;">I</span><span class="mord mathnormal" style="margin-right:0.05764em;">ES</span></span></span></span></span>{PTHREADS})

About

CPM external for google test

cpm.rocks/mod/gh/iauns/cpm-google-test

Resources

Readme

License

MIT license

Activity

Stars

2 stars

Watchers

1 watching

Forks

3 forks

Report repository

Releases

3 tags

Packages

No packages published

Languages