Skip to content
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

Added support for the C(XX)_STANDARD and C(XX)_EXTENSIONS properties. #17

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

dutow
Copy link

@dutow dutow commented Mar 14, 2018

Also extended the tests to treat warnings (about preprocessor
problems) as errors, and added two new tests about the c++
standard version.

@dutow dutow changed the title Added support for the CXX_STANDARD and CXX_EXTENSIONS properties. Added support for the C(XX)_STANDARD and C(XX)_EXTENSIONS properties. Mar 15, 2018
Also extended the tests to treat warnings (about preprocessor
problems) as errors, and added two new tests about the c++
standard version.
This uses the new PCH_PATH option, which enables users to specify
a subdirectory where the pch file is generated.
add_definitions(-D_CRT_SECURE_NO_WARNINGS)
set(pch_source test-pch.cpp)
endif()
set(CMAKE_CXX_FLAGS "${CMAKH_CXX_FLAGS} -Werror")
Copy link

Choose a reason for hiding this comment

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

typo: CMAKH ===> CMAKE

Copy link
Author

@dutow dutow Apr 12, 2018

Choose a reason for hiding this comment

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

Ops, thanks, I'll fix that

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.

None yet

2 participants