[libc][NFC] Exclude few targets from the all
target.
This commit is contained in:
parent
5f5416e1c4
commit
6628387c9a
@ -134,6 +134,7 @@ function(add_redirector_library target_name)
|
||||
# prevent DT_NEEDED on C++ runtime.
|
||||
add_library(
|
||||
${target_name}
|
||||
EXCLUDE_FROM_ALL
|
||||
SHARED
|
||||
${obj_files}
|
||||
)
|
||||
|
@ -25,6 +25,7 @@ function(add_object_library target_name)
|
||||
get_fq_target_name(${target_name} fq_target_name)
|
||||
add_library(
|
||||
${fq_target_name}
|
||||
EXCLUDE_FROM_ALL
|
||||
OBJECT
|
||||
${ADD_OBJECT_SRCS}
|
||||
${ADD_OBJECT_HDRS}
|
||||
@ -157,6 +158,7 @@ function(add_entrypoint_object target_name)
|
||||
${internal_target_name}
|
||||
# TODO: We don't need an object library for internal consumption.
|
||||
# A future change should switch this to a normal static library.
|
||||
EXCLUDE_FROM_ALL
|
||||
OBJECT
|
||||
${ADD_ENTRYPOINT_OBJ_SRCS}
|
||||
${ADD_ENTRYPOINT_OBJ_HDRS}
|
||||
@ -169,6 +171,7 @@ function(add_entrypoint_object target_name)
|
||||
${fq_target_name}
|
||||
# We want an object library as the objects will eventually get packaged into
|
||||
# an archive (like libc.a).
|
||||
EXCLUDE_FROM_ALL
|
||||
OBJECT
|
||||
${ADD_ENTRYPOINT_OBJ_SRCS}
|
||||
${ADD_ENTRYPOINT_OBJ_HDRS}
|
||||
@ -268,6 +271,7 @@ function(add_redirector_object target_name)
|
||||
|
||||
add_library(
|
||||
${target_name}
|
||||
EXCLUDE_FROM_ALL
|
||||
OBJECT
|
||||
${REDIRECTOR_OBJECT_SRC}
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user