-
Notifications
You must be signed in to change notification settings - Fork 788
[XPTIFW] Enable in-tree builds #2959
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
@intel/llvm-reviewers-runtime @tovinkere @andykaylor friendly ping |
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
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
@smaslov-intel Could you please review the patch? |
@@ -14,17 +17,25 @@ if (NOT CMAKE_BUILD_TYPE AND NOT CMAKE_CONFIGURATION_TYPES) | |||
set(CMAKE_BUILD_TYPE "Release" CACHE STRING "Build type (default Release)" FORCE) | |||
endif() | |||
|
|||
project (xptifw) | |||
if(MSVC) | |||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /EHsc") |
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.
Please add a comment why building with /EHsc
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.
It is needed because of the change: "printf" -> "std::cout <<"
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.
can you elaborate even more and add this as a source code 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.
Is it ok to do so in separate PR?
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.
Yes, sure. I approved this PR
@bader It seems the PR is waiting for your review, could you please do a review? |
Sure. For the future, please, request review via GitHub UI explicitly. |
This time Pull Request also includes reasonable fixes for warnings and disables targets, that are currently not buildable.