hr with 30102
Dependencies: BLE_API mbed X_NUCLEO_IDB0XA1
Fork of BLE_HeartRate by
nRF51822/TARGET_NRF5/source/supress-warnings.cmake@80:808f6f367f45, 2017-07-30 (annotated)
- Committer:
- mssarwar
- Date:
- Sun Jul 30 05:52:57 2017 +0000
- Revision:
- 80:808f6f367f45
with 30102;
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
mssarwar | 80:808f6f367f45 | 1 | # Copyright 2015 ARM Limited |
mssarwar | 80:808f6f367f45 | 2 | # |
mssarwar | 80:808f6f367f45 | 3 | # Licensed under the Apache License, Version 2.0 (the "License"); |
mssarwar | 80:808f6f367f45 | 4 | # you may not use this file except in compliance with the License. |
mssarwar | 80:808f6f367f45 | 5 | # You may obtain a copy of the License at |
mssarwar | 80:808f6f367f45 | 6 | # |
mssarwar | 80:808f6f367f45 | 7 | # http://www.apache.org/licenses/LICENSE-2.0 |
mssarwar | 80:808f6f367f45 | 8 | # |
mssarwar | 80:808f6f367f45 | 9 | # Unless required by applicable law or agreed to in writing, software |
mssarwar | 80:808f6f367f45 | 10 | # distributed under the License is distributed on an "AS IS" BASIS, |
mssarwar | 80:808f6f367f45 | 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
mssarwar | 80:808f6f367f45 | 12 | # See the License for the specific language governing permissions and |
mssarwar | 80:808f6f367f45 | 13 | # limitations under the License. |
mssarwar | 80:808f6f367f45 | 14 | |
mssarwar | 80:808f6f367f45 | 15 | message("suppressing warnings from ble-nrf51822") |
mssarwar | 80:808f6f367f45 | 16 | |
mssarwar | 80:808f6f367f45 | 17 | if(CMAKE_C_COMPILER_ID STREQUAL "GNU") |
mssarwar | 80:808f6f367f45 | 18 | set_target_properties(ble-nrf51822 |
mssarwar | 80:808f6f367f45 | 19 | PROPERTIES COMPILE_FLAGS "-Wno-sign-compare -Wno-unused-variable -Wno-unused-parameter -Wno-unused-function -Wno-missing-field-initializers" |
mssarwar | 80:808f6f367f45 | 20 | ) |
mssarwar | 80:808f6f367f45 | 21 | endif() |