test

Fork of nrf51-sdk by Lancaster University

Committer:
JKsoft_main
Date:
Tue Apr 17 12:08:26 2018 +0000
Revision:
9:fb1a4bf78d5b
Parent:
0:bc2961fa1ef0
????

Who changed what in which revision?

UserRevisionLine numberNew contents of line
Jonathan Austin 0:bc2961fa1ef0 1 # Copyright 2015 ARM Limited
Jonathan Austin 0:bc2961fa1ef0 2 #
Jonathan Austin 0:bc2961fa1ef0 3 # Licensed under the Apache License, Version 2.0 (the "License");
Jonathan Austin 0:bc2961fa1ef0 4 # you may not use this file except in compliance with the License.
Jonathan Austin 0:bc2961fa1ef0 5 # You may obtain a copy of the License at
Jonathan Austin 0:bc2961fa1ef0 6 #
Jonathan Austin 0:bc2961fa1ef0 7 # http://www.apache.org/licenses/LICENSE-2.0
Jonathan Austin 0:bc2961fa1ef0 8 #
Jonathan Austin 0:bc2961fa1ef0 9 # Unless required by applicable law or agreed to in writing, software
Jonathan Austin 0:bc2961fa1ef0 10 # distributed under the License is distributed on an "AS IS" BASIS,
Jonathan Austin 0:bc2961fa1ef0 11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
Jonathan Austin 0:bc2961fa1ef0 12 # See the License for the specific language governing permissions and
Jonathan Austin 0:bc2961fa1ef0 13 # limitations under the License.
Jonathan Austin 0:bc2961fa1ef0 14
Jonathan Austin 0:bc2961fa1ef0 15 message("suppressing warnings from nrf51-sdk")
Jonathan Austin 0:bc2961fa1ef0 16
Jonathan Austin 0:bc2961fa1ef0 17 if(CMAKE_C_COMPILER_ID STREQUAL "GNU")
Jonathan Austin 0:bc2961fa1ef0 18 set_target_properties(nrf51-sdk
Jonathan Austin 0:bc2961fa1ef0 19 PROPERTIES COMPILE_FLAGS "-Wno-sign-compare -Wno-unused-variable -Wno-unused-parameter -Wno-unused-function -Wno-missing-field-initializers"
Jonathan Austin 0:bc2961fa1ef0 20 )
Jonathan Austin 0:bc2961fa1ef0 21 endif()