nordic
Fork of nRF51822 by
source/supress-warnings.cmake@542:884f95bf5351, 2016-01-11 (annotated)
- Committer:
- vcoubard
- Date:
- Mon Jan 11 10:19:02 2016 +0000
- Revision:
- 542:884f95bf5351
- Parent:
- 539:37205f256159
- Child:
- 558:e4218a32be51
Synchronized with git rev 60a7c0c0
Author: Rohit Grover
bring in the latest changes for BLE::init() where we allow <object, member> tuples for init callback.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
vcoubard | 542:884f95bf5351 | 1 | # Copyright 2015 ARM Limited |
vcoubard | 542:884f95bf5351 | 2 | # |
vcoubard | 542:884f95bf5351 | 3 | # Licensed under the Apache License, Version 2.0 (the "License"); |
vcoubard | 542:884f95bf5351 | 4 | # you may not use this file except in compliance with the License. |
vcoubard | 542:884f95bf5351 | 5 | # You may obtain a copy of the License at |
vcoubard | 542:884f95bf5351 | 6 | # |
vcoubard | 542:884f95bf5351 | 7 | # http://www.apache.org/licenses/LICENSE-2.0 |
vcoubard | 542:884f95bf5351 | 8 | # |
vcoubard | 542:884f95bf5351 | 9 | # Unless required by applicable law or agreed to in writing, software |
vcoubard | 542:884f95bf5351 | 10 | # distributed under the License is distributed on an "AS IS" BASIS, |
vcoubard | 542:884f95bf5351 | 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
vcoubard | 542:884f95bf5351 | 12 | # See the License for the specific language governing permissions and |
vcoubard | 542:884f95bf5351 | 13 | # limitations under the License. |
vcoubard | 542:884f95bf5351 | 14 | |
vcoubard | 542:884f95bf5351 | 15 | message("suppressing warnings from ble-nrf51822") |
vcoubard | 542:884f95bf5351 | 16 | |
vcoubard | 542:884f95bf5351 | 17 | if(CMAKE_C_COMPILER_ID STREQUAL "GNU") |
vcoubard | 542:884f95bf5351 | 18 | set_target_properties(ble-nrf51822 |
vcoubard | 542:884f95bf5351 | 19 | PROPERTIES COMPILE_FLAGS "-Wno-sign-compare -Wno-unused-variable -Wno-unused-parameter -Wno-missing-field-initializers" |
vcoubard | 542:884f95bf5351 | 20 | ) |
rgrover1 | 436:e351a16db43d | 21 | endif() |