-
Notifications
You must be signed in to change notification settings - Fork 9
infoLogger new cmake #11
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
sy-c
commented
Dec 5, 2018
- cmake rewritten
- targets exported
- swig wrapper code generated by cmake
- added interface to Go
|
awegrzyn
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.
Hi, it looks good, as it's a large PR I was not able to test everything, here are my few comments:
- I'd move binaries into
build/bindirectory:set(EXECUTABLE_OUTPUT_PATH "${CMAKE_BINARY_DIR}/bin") make testclaims "No tests were found!!!"- Compile definitions are not set, eg:
_WITH_MYSQLwhen MySQL found
| ENDIF () | ||
| endforeach () | ||
| # global compilation options | ||
| set(CMAKE_CXX_STANDARD 14) |
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.
I'd not enforce C++14, if a dependency uses C++17-enabled features in its interfaces the compilation will fail.
As aliBuild also sets C++ version I think simple check, as in QC, would be good: https://github.com/AliceO2Group/QualityControl/blob/48265588da0696fabf01b4a27aef50bfbf67de9d/CMakeLists.txt#L59
CMakeLists.txt
Outdated
| src/infoLoggerMessageDecode.c | ||
| src/InfoLoggerMessageHelper.cxx | ||
| src/InfoLoggerMessageList.cxx | ||
| ${INFOLOGGERSERVER_SRC_EXTRA} |
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.
This could be replaced by generator expression:
$<$<BOOL:${MYSQL_FOUND}>:src/InfoLoggerDispatchSQL.cxx>
|
Hello Adam, |