blob: d296097f520e0f700e6f3d7b203a24e5b8bcb30b (
plain) (
blame)
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
|
RESOURCES_LIBRARY()
OWNER(g:ymake)
SET(SCRIPTGEN_LINUX sbr:2654452283)
SET(SCRIPTGEN_DARWIN_ARM64 sbr:2654451866)
SET(SCRIPTGEN_DARWIN sbr:2654452096)
SET(SCRIPTGEN_WIN32 sbr:2654451225)
DECLARE_EXTERNAL_HOST_RESOURCES_BUNDLE(
SCRIPTGEN
${SCRIPTGEN_LINUX} FOR LINUX
${SCRIPTGEN_DARWIN} FOR DARWIN
${SCRIPTGEN_DARWIN_ARM64} FOR DARWIN-ARM64
${SCRIPTGEN_WIN32} FOR WIN32
)
IF(OS_DARWIN AND ARCH_ARM64)
DECLARE_EXTERNAL_RESOURCE(WITH_SCRIPTGEN ${SCRIPTGEN_DARWIN_ARM64})
ELSEIF(OS_DARWIN AND ARCH_X86_64)
DECLARE_EXTERNAL_RESOURCE(WITH_SCRIPTGEN ${SCRIPTGEN_DARWIN})
ELSEIF(OS_LINUX)
DECLARE_EXTERNAL_RESOURCE(WITH_SCRIPTGEN ${SCRIPTGEN_LINUX})
ELSEIF(OS_WINDOWS)
DECLARE_EXTERNAL_RESOURCE(WITH_SCRIPTGEN ${SCRIPTGEN_WIN32})
ENDIF()
END()
|