-
Notifications
You must be signed in to change notification settings - Fork 549
Use ExternalProject for googletest #108
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Thanks a lot for provinding this! |
Yeah it's the yml files, I'll fix them now |
09a8bcb
to
af133ad
Compare
Ugh, it looks like it's still failing on the Windows builds because I used |
af133ad
to
6215968
Compare
6215968
to
e241ede
Compare
add_executable(SQLiteCpp_tests ${SQLITECPP_TESTS}) | ||
target_link_libraries(SQLiteCpp_tests gtest_main SQLiteCpp sqlite3) | ||
add_dependencies(SQLiteCpp_tests googletest) | ||
set(GTEST_MAIN_OBJ ${PREFIX_DIR}/src/googletest-build/googlemock/gtest/${LIB_PREFIX}gtest_main${LIB_SUFFIX}) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@SRombauts
Sorry I don't have access to a Windows C++ environment, so I don't know where these gtest binaries are being generated and what they're called there. On linux they're called libgtest.a
and libgtest_main.a
. Would you be able to check what's happening on Windows?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure, I'll try this at some point.
ce6f94c
to
3f3b174
Compare
Closing, would need some serious rework |
There were some TODO comments about using the official github directly from the cmake file, and due to some issues with cmake I can't use projects with submodules in my organization, so I went ahead and updated the cmake file.