|
1 | 1 | # CMake toolchain for the Microchip XC16 compiler |
2 | 2 | # http://www.microchip.com/mplab/compilers |
3 | 3 | # |
| 4 | +# ########## COPYRIGHT NOTICE ########## |
| 5 | +# CMake-Microchip - CMake support for the Microchip embedded toolchain |
4 | 6 | # Copyright 2016 Sam Hanes |
5 | 7 | # |
6 | | -# Permission is hereby granted, free of charge, to any person obtaining a copy |
7 | | -# of this software and associated documentation files (the "Software"), to deal |
8 | | -# in the Software without restriction, including without limitation the rights |
9 | | -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
10 | | -# copies of the Software, and to permit persons to whom the Software is |
11 | | -# furnished to do so, subject to the following conditions: |
| 8 | +# Redistribution and use in source and binary forms, with or without |
| 9 | +# modification, are permitted provided that the following conditions |
| 10 | +# are met: |
12 | 11 | # |
13 | | -# The above copyright notice and this permission notice shall be included in |
14 | | -# all copies or substantial portions of the Software. |
| 12 | +# 1. Redistributions of source code must retain the above copyright |
| 13 | +# notice, this list of conditions and the following disclaimer. |
15 | 14 | # |
16 | | -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
17 | | -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
18 | | -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE |
19 | | -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER |
20 | | -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, |
21 | | -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE |
22 | | -# SOFTWARE. |
| 15 | +# 2. Redistributions in binary form must reproduce the above copyright |
| 16 | +# notice, this list of conditions and the following disclaimer in the |
| 17 | +# documentation and/or other materials provided with the distribution. |
| 18 | +# |
| 19 | +# 3. Neither the name of the copyright holder nor the names of its |
| 20 | +# contributors may be used to endorse or promote products derived from |
| 21 | +# this software without specific prior written permission. |
| 22 | +# |
| 23 | +# This software is provided by the copyright holders and contributors |
| 24 | +# "as is" and any express or implied warranties, including, but not |
| 25 | +# limited to, the implied warranties of merchantability and fitness for |
| 26 | +# a particular purpose are disclaimed. In no event shall the copyright |
| 27 | +# holder or contributors be liable for any direct, indirect, incidental, |
| 28 | +# special, exemplary, or consequential damages (including, but not |
| 29 | +# limited to, procurement of substitute goods or services; loss of use, |
| 30 | +# data, or profits; or business interruption) however caused and on any |
| 31 | +# theory of liability, whether in contract, strict liability, or tort |
| 32 | +# (including negligence or otherwise) arising in any way out of the use |
| 33 | +# of this software, even if advised of the possibility of such damage. |
| 34 | +# ########## END COPYRIGHT NOTICE ########## |
23 | 35 |
|
24 | 36 | # set the CMake platform |
25 | 37 | # Generic is correct for embedded systems without an OS |
|
0 commit comments