test
Fork of nRF51822 by
source/supress-warnings.cmake@448:b71e96a821de, 2015-10-10 (annotated)
- Committer:
- GlimwormBeacons
- Date:
- Sat Oct 10 09:19:50 2015 +0000
- Revision:
- 448:b71e96a821de
- Parent:
- 435:e351a16db43d
test
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 | 435:e351a16db43d | 19 | PROPERTIES COMPILE_FLAGS "-Wno-sign-compare -Wno-unused-variable -Wno-unused-parameter -Wno-missing-field-initializers" |
rgrover1 | 435:e351a16db43d | 20 | ) |
rgrover1 | 435:e351a16db43d | 21 | endif() |