Skip to content

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

Open
dutow wants to merge 4 commits into
larsch:masterfrom
dutow:cxx_standard
Open

Added support for the C(XX)_STANDARD and C(XX)_EXTENSIONS properties.#17
dutow wants to merge 4 commits into
larsch:masterfrom
dutow:cxx_standard

Conversation

@dutow
Copy link
Copy Markdown

@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
dutow added 3 commits March 16, 2018 17:42
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
Copy Markdown

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
Copy Markdown
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.

2 participants