forked from ARMmbed/mbed-os
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists.txt
35 lines (32 loc) · 1.16 KB
/
CMakeLists.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Copyright (c) 2020 ARM Limited. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
if("ARM_FM" IN_LIST MBED_TARGET_LABELS)
add_subdirectory(TARGET_ARM_FM)
elseif("ARM_SSG" IN_LIST MBED_TARGET_LABELS)
add_subdirectory(TARGET_ARM_SSG)
elseif("Cypress" IN_LIST MBED_TARGET_LABELS)
add_subdirectory(TARGET_Cypress)
elseif("Freescale_EMAC" IN_LIST MBED_TARGET_LABELS)
add_subdirectory(TARGET_Freescale_EMAC)
elseif("GD_EMAC" IN_LIST MBED_TARGET_LABELS)
add_subdirectory(TARGET_GD_EMAC)
elseif("NUVOTON_EMAC" IN_LIST MBED_TARGET_LABELS)
add_subdirectory(TARGET_NUVOTON_EMAC)
elseif("NXP_EMAC" IN_LIST MBED_TARGET_LABELS)
add_subdirectory(TARGET_NXP_EMAC)
elseif("RDA_EMAC" IN_LIST MBED_TARGET_LABELS)
add_subdirectory(TARGET_RDA_EMAC)
elseif("RENESAS_EMAC" IN_LIST MBED_TARGET_LABELS)
add_subdirectory(TARGET_RENESAS_EMAC)
elseif("STM" IN_LIST MBED_TARGET_LABELS)
add_subdirectory(TARGET_STM)
elseif("Silicon_Labs" IN_LIST MBED_TARGET_LABELS)
add_subdirectory(TARGET_Silicon_Labs)
endif()
if("WHD" IN_LIST MBED_TARGET_LABELS)
add_subdirectory(COMPONENT_WHD)
endif()
target_link_libraries(mbed-emac
INTERFACE
mbed-netsocket
)