No changes
Fork of nRF51822 by
source/supress-warnings.cmake@538:37205f256159, 2015-12-10 (annotated)
- Committer:
- rgrover1
- Date:
- Thu Dec 10 10:35:58 2015 +0000
- Revision:
- 538:37205f256159
- Parent:
- 435:e351a16db43d
- Child:
- 541:884f95bf5351
Synchronized with git rev 6a0c605d
Author: Rohit Grover
Merge pull request pull/83 i.e. commit '6507b4a50ce849db7e5e541dfd03accfc38f1b6f' into develop
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
rgrover1 | 435:e351a16db43d | 1 | # Copyright 2015 ARM Limited |
rgrover1 | 435:e351a16db43d | 2 | # |
rgrover1 | 435:e351a16db43d | 3 | # Licensed under the Apache License, Version 2.0 (the "License"); |
rgrover1 | 435:e351a16db43d | 4 | # you may not use this file except in compliance with the License. |
rgrover1 | 435:e351a16db43d | 5 | # You may obtain a copy of the License at |
rgrover1 | 435:e351a16db43d | 6 | # |
rgrover1 | 435:e351a16db43d | 7 | # http://www.apache.org/licenses/LICENSE-2.0 |
rgrover1 | 435:e351a16db43d | 8 | # |
rgrover1 | 435:e351a16db43d | 9 | # Unless required by applicable law or agreed to in writing, software |
rgrover1 | 435:e351a16db43d | 10 | # distributed under the License is distributed on an "AS IS" BASIS, |
rgrover1 | 435:e351a16db43d | 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
rgrover1 | 435:e351a16db43d | 12 | # See the License for the specific language governing permissions and |
rgrover1 | 435:e351a16db43d | 13 | # limitations under the License. |
rgrover1 | 435:e351a16db43d | 14 | |
rgrover1 | 435:e351a16db43d | 15 | message("suppressing warnings from ble-nrf51822") |
rgrover1 | 435:e351a16db43d | 16 | |
rgrover1 | 435:e351a16db43d | 17 | if(CMAKE_C_COMPILER_ID STREQUAL "GNU") |
rgrover1 | 435:e351a16db43d | 18 | set_target_properties(ble-nrf51822 |
rgrover1 | 538:37205f256159 | 19 | PROPERTIES COMPILE_FLAGS "-Wno-sign-compare -Wno-unused-variable -Wno-unused-parameter -Wno-unused-function -Wno-missing-field-initializers" |
rgrover1 | 435:e351a16db43d | 20 | ) |
rgrover1 | 435:e351a16db43d | 21 | endif() |