1# Copyright (c) 2024 Nordic Semiconductor
2#
3# SPDX-License-Identifier: Apache-2.0
4
5# Linker flags for fixed linking with standard libraries, such as the C and runtime libraries.
6# It is the responsibility of the linker infrastructure to use those properties to specify the
7# correct placement of those libraries for correct link order.
8# For example, GCC usually has the order: -lc -lgcc
9# It is also possible to define extra libraries of the form `<name>_library`, and then include
10# Fixed library search path can be defined in the `lib_include_dir` property if needed.
11# <name> in the link_order_property.
12# Usage example:
13# set_linker_property(PROPERTY lib_include_dir "-L/path/to/libs")
14# set_linker_property(PROPERTY c_library  "-lc")
15# set_linker_property(PROPERTY rt_library "-lgcc")
16# set_linker_property(PROPERTY link_order_library "c;rt")
17