blob: 782bbf50ae53897b7bf74265ff9b9180aa900b01 [file] [log] [blame]
Jonny Svärdda0d1672023-03-24 13:43:32 +01001#
Rajasekaran Kalidossa09161d2024-04-18 20:42:15 +02002# SPDX-FileCopyrightText: Copyright 2023-2024 Arm Limited and/or its affiliates <open-source-office@arm.com>
Jonny Svärdda0d1672023-03-24 13:43:32 +01003# 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
18set(CMAKE_SYSTEM_NAME Linux)
19set(CMAKE_C_COMPILER "aarch64-none-linux-gnu-gcc")
20set(CMAKE_CXX_COMPILER "aarch64-none-linux-gnu-g++")
21set(CMAKE_LINKER "aarch64-none-linux-gnu-ld")
22
23set(CMAKE_CXX_STANDARD 14)
24set(CMAKE_SYSTEM_PROCESSOR "aarch64")
25
Rajasekaran Kalidossa09161d2024-04-18 20:42:15 +020026add_compile_options(-Wall -Wextra -Werror)