Last active
May 3, 2022 05:02
-
-
Save Morfly/f0c0952341ef5fff2b0b0f3f99a99a4f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# third_party/glfw/glfw.BUILD | |
... | |
cc_library( | |
name = "glfw_src", | |
srcs = COMMON_SRCS + select({ | |
"@bazel_tools//src/conditions:windows": WIN32_SRCS, | |
"@bazel_tools//src/conditions:linux_x86_64": LINUX_SRCS, | |
}), | |
hdrs = COMMON_HDRS + select({ | |
"@bazel_tools//src/conditions:windows": WIN32_HDRS, | |
"@bazel_tools//src/conditions:linux_x86_64": LINUX_HDRS, | |
}), | |
defines = select({ | |
"@bazel_tools//src/conditions:windows": WIN32_DEFINES, | |
"@bazel_tools//src/conditions:linux_x86_64": LINUX_DEFINES, | |
}), | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment