Skip to content

Feature/cleanup cmake#1810

Draft
ClausKlein wants to merge 22 commits intoTencent:masterfrom
ClausKlein:feature/cleanup-cmake
Draft

Feature/cleanup cmake#1810
ClausKlein wants to merge 22 commits intoTencent:masterfrom
ClausKlein:feature/cleanup-cmake

Conversation

@ClausKlein
Copy link

@ClausKlein ClausKlein commented Dec 21, 2020

endif()
elseif (CMAKE_CXX_COMPILER_ID MATCHES "Clang")
elseif(CMAKE_CXX_COMPILER_ID MATCHES "Clang")
if(NOT CMAKE_CROSSCOMPILING)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This has been there before, but the check isn't necessary: CMAKE_SYSTEM_PROCESSOR is about the target system, so the check should be fine.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this CXX_FLAGS setting is not well at all!

but which this CI zoo, prevent -Werror usages too!
no idea why this should be default off?
with historical cmake 3.5.1 this is not possible!
valgrind is not usable on Apple OSX
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants