sa

Fork of nRF51822 by Nordic Semiconductor

Committer:
Vincent Coubard
Date:
Wed Sep 14 14:39:43 2016 +0100
Revision:
638:c90ae1400bf2
Sync with bdab10dc0f90748b6989c8b577771bb403ca6bd8 from ARMmbed/mbed-os.

Who changed what in which revision?

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