Official Sheffield ARMBand micro:bit program
microbit/microbit-dal/nRF51822/nrf51-sdk/source/supress-warnings.cmake@0:b9164b348919, 2016-10-17 (annotated)
- Committer:
- MrBedfordVan
- Date:
- Mon Oct 17 12:41:20 2016 +0000
- Revision:
- 0:b9164b348919
Official Sheffield ARMBand Micro:bit program
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
MrBedfordVan | 0:b9164b348919 | 1 | # Copyright 2015 ARM Limited |
MrBedfordVan | 0:b9164b348919 | 2 | # |
MrBedfordVan | 0:b9164b348919 | 3 | # Licensed under the Apache License, Version 2.0 (the "License"); |
MrBedfordVan | 0:b9164b348919 | 4 | # you may not use this file except in compliance with the License. |
MrBedfordVan | 0:b9164b348919 | 5 | # You may obtain a copy of the License at |
MrBedfordVan | 0:b9164b348919 | 6 | # |
MrBedfordVan | 0:b9164b348919 | 7 | # http://www.apache.org/licenses/LICENSE-2.0 |
MrBedfordVan | 0:b9164b348919 | 8 | # |
MrBedfordVan | 0:b9164b348919 | 9 | # Unless required by applicable law or agreed to in writing, software |
MrBedfordVan | 0:b9164b348919 | 10 | # distributed under the License is distributed on an "AS IS" BASIS, |
MrBedfordVan | 0:b9164b348919 | 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
MrBedfordVan | 0:b9164b348919 | 12 | # See the License for the specific language governing permissions and |
MrBedfordVan | 0:b9164b348919 | 13 | # limitations under the License. |
MrBedfordVan | 0:b9164b348919 | 14 | |
MrBedfordVan | 0:b9164b348919 | 15 | message("suppressing warnings from nrf51-sdk") |
MrBedfordVan | 0:b9164b348919 | 16 | |
MrBedfordVan | 0:b9164b348919 | 17 | if(CMAKE_C_COMPILER_ID STREQUAL "GNU") |
MrBedfordVan | 0:b9164b348919 | 18 | set_target_properties(nrf51-sdk |
MrBedfordVan | 0:b9164b348919 | 19 | PROPERTIES COMPILE_FLAGS "-Wno-sign-compare -Wno-unused-variable -Wno-unused-parameter -Wno-unused-function -Wno-missing-field-initializers" |
MrBedfordVan | 0:b9164b348919 | 20 | ) |
MrBedfordVan | 0:b9164b348919 | 21 | endif() |