https://developer.mbed.org/users/TheoHavercroft/code/nrf51-sdk/
Fork of nRF51822 by
source/supress-warnings.cmake@616:a8f9b022d8fd, 2016-04-06 (annotated)
- Committer:
- LancasterUniversity
- Date:
- Wed Apr 06 22:39:17 2016 +0100
- Revision:
- 616:a8f9b022d8fd
- Parent:
- 615:65ea2acfc6a2
Synchronized with git rev 67d0ac73
Author: Joe Finney
microbit: Update to indicate when system attributes require intialisation
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
LancasterUniversity | 615:65ea2acfc6a2 | 1 | # Copyright 2015 ARM Limited |
LancasterUniversity | 615:65ea2acfc6a2 | 2 | # |
LancasterUniversity | 615:65ea2acfc6a2 | 3 | # Licensed under the Apache License, Version 2.0 (the "License"); |
LancasterUniversity | 615:65ea2acfc6a2 | 4 | # you may not use this file except in compliance with the License. |
LancasterUniversity | 615:65ea2acfc6a2 | 5 | # You may obtain a copy of the License at |
LancasterUniversity | 615:65ea2acfc6a2 | 6 | # |
LancasterUniversity | 615:65ea2acfc6a2 | 7 | # http://www.apache.org/licenses/LICENSE-2.0 |
LancasterUniversity | 615:65ea2acfc6a2 | 8 | # |
LancasterUniversity | 615:65ea2acfc6a2 | 9 | # Unless required by applicable law or agreed to in writing, software |
LancasterUniversity | 615:65ea2acfc6a2 | 10 | # distributed under the License is distributed on an "AS IS" BASIS, |
LancasterUniversity | 615:65ea2acfc6a2 | 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
LancasterUniversity | 615:65ea2acfc6a2 | 12 | # See the License for the specific language governing permissions and |
LancasterUniversity | 615:65ea2acfc6a2 | 13 | # limitations under the License. |
LancasterUniversity | 615:65ea2acfc6a2 | 14 | |
LancasterUniversity | 615:65ea2acfc6a2 | 15 | message("suppressing warnings from ble-nrf51822") |
LancasterUniversity | 615:65ea2acfc6a2 | 16 | |
LancasterUniversity | 615:65ea2acfc6a2 | 17 | if(CMAKE_C_COMPILER_ID STREQUAL "GNU") |
LancasterUniversity | 615:65ea2acfc6a2 | 18 | set_target_properties(ble-nrf51822 |
LancasterUniversity | 616:a8f9b022d8fd | 19 | PROPERTIES COMPILE_FLAGS "-Wno-sign-compare -Wno-unused-variable -Wno-unused-parameter -Wno-unused-function -Wno-missing-field-initializers" |
LancasterUniversity | 615:65ea2acfc6a2 | 20 | ) |
rgrover1 | 435:e351a16db43d | 21 | endif() |