-
Notifications
You must be signed in to change notification settings - Fork 70
refactor: Simplify test setup using a common CMake function #151
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
| INCLUDE_DIR | ||
| "${CMAKE_BINARY_DIR}" | ||
| SRCS | ||
| test_common.cc |
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.
test_common.cc can also be added by default in the function.
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.
About half of the tests don't use test_common.cc, so I didn’t include it as a default source file.
zhjwpku
left a comment
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.
LGTM
wgtmac
left a comment
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.
+1 Thanks @lishuxu!
|
@lishuxu Could you please help to resolve the conflicts ? Thanks. |
6451cb0 to
afa050f
Compare
OK, done! |
Fokko
left a comment
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.
No description provided.