blob: 8528f1d81ae75e483db4f1724e7ad0ba9fab3109 [file] [log] [blame]
Kristofer Jonsson116a6352020-08-20 17:25:23 +02001#
Rajasekaran Kalidossa09161d2024-04-18 20:42:15 +02002# SPDX-FileCopyrightText: Copyright 2020-2024 Arm Limited and/or its affiliates <open-source-office@arm.com>
Kristofer Jonsson116a6352020-08-20 17:25:23 +02003# SPDX-License-Identifier: Apache-2.0
4#
5# Licensed under the Apache License, Version 2.0 (the License); you may
6# not use this file except in compliance with the License.
7# You may obtain a copy of the License at
8#
9# www.apache.org/licenses/LICENSE-2.0
10#
11# Unless required by applicable law or agreed to in writing, software
12# distributed under the License is distributed on an AS IS BASIS, WITHOUT
13# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14# See the License for the specific language governing permissions and
15# limitations under the License.
16#
17
Jonny Svärdda0d1672023-03-24 13:43:32 +010018set(CMAKE_SYSTEM_NAME Linux)
Kristofer Jonsson116a6352020-08-20 17:25:23 +020019set(CMAKE_C_COMPILER "aarch64-linux-gnu-gcc")
20set(CMAKE_CXX_COMPILER "aarch64-linux-gnu-g++")
Jonny Svärdda0d1672023-03-24 13:43:32 +010021set(CMAKE_LINKER "aarch64-linux-gnu-ld")
22
Lior Dekelc3f4a832021-12-02 10:58:12 +020023set(CMAKE_CXX_STANDARD 14)
24set(CMAKE_SYSTEM_PROCESSOR "aarch64")
Kristofer Jonsson116a6352020-08-20 17:25:23 +020025
Rajasekaran Kalidossa09161d2024-04-18 20:42:15 +020026add_compile_options(-Wall -Wextra -Werror)