Skip to content

Instantly share code, notes, and snippets.

Octavian Neamtu oneamtu

Block or report user

Report or block oneamtu

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@oneamtu
oneamtu / gtest.cmake
Created Sep 16, 2012
How to add google test as an downloadable external project
View gtest.cmake
########################### GTEST
# Enable ExternalProject CMake module
INCLUDE(ExternalProject)
# Set default ExternalProject root directory
SET_DIRECTORY_PROPERTIES(PROPERTIES EP_PREFIX ${CMAKE_BINARY_DIR}/third_party)
# Add gtest
# http://stackoverflow.com/questions/9689183/cmake-googletest
ExternalProject_Add(
You can’t perform that action at this time.