Created
June 6, 2013 03:33
-
-
Save twoixter/5719133 to your computer and use it in GitHub Desktop.
CMake config lines to include GTest as source un Ubuntu
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
add_subdirectory( /usr/src/gtest ${PROJECT_BUILD_OUTPUT}/gtest ) | |
include_directories( "/usr/include/gtest" ) | |
target_link_libraries( test_executable ${TEST_SOURCES} gtest gtest_main pthread ) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment