Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Xiph.Org
aom-rav1e
Commits
5abae0a7
Commit
5abae0a7
authored
Feb 27, 2017
by
Tom Finegan
Browse files
Move aom_dsp.cmake lib list updates into setup_aom_dsp_targets().
Change-Id: I5eb53ef88fb136bf8e06aa2cdc2c1feae9bec956
parent
188880b6
Changes
1
Hide whitespace changes
Inline
Side-by-side
aom_dsp/aom_dsp.cmake
View file @
5abae0a7
...
...
@@ -272,28 +272,22 @@ if (CONFIG_MOTION_VAR)
"
${
AOM_ROOT
}
/aom_dsp/x86/obmc_variance_sse4.c"
)
endif
()
set
(
AOM_LIB_TARGETS
${
AOM_LIB_TARGETS
}
aom_dsp_common
)
if
(
CONFIG_DECODERS
)
set
(
AOM_LIB_TARGETS
${
AOM_LIB_TARGETS
}
aom_dsp_decoder
)
endif
()
if
(
CONFIG_ENCODERS
)
set
(
AOM_LIB_TARGETS
${
AOM_LIB_TARGETS
}
aom_dsp_encoder
)
endif
()
# Creates aom_dsp build targets. Must not be called until after libaom target
# has been created.
function
(
setup_aom_dsp_targets
)
add_library
(
aom_dsp_common OBJECT
${
AOM_DSP_COMMON_SOURCES
}
)
set
(
AOM_LIB_TARGETS
${
AOM_LIB_TARGETS
}
aom_dsp_common
)
target_sources
(
aom PUBLIC $<TARGET_OBJECTS:aom_dsp_common>
)
if
(
CONFIG_DECODERS
)
add_library
(
aom_dsp_decoder OBJECT
${
AOM_DSP_DECODER_SOURCES
}
)
set
(
AOM_LIB_TARGETS
${
AOM_LIB_TARGETS
}
aom_dsp_decoder
)
target_sources
(
aom PUBLIC $<TARGET_OBJECTS:aom_dsp_decoder>
)
endif
()
if
(
CONFIG_ENCODERS
)
add_library
(
aom_dsp_encoder OBJECT
${
AOM_DSP_ENCODER_SOURCES
}
)
set
(
AOM_LIB_TARGETS
${
AOM_LIB_TARGETS
}
aom_dsp_encoder
)
target_sources
(
aom PUBLIC $<TARGET_OBJECTS:aom_dsp_encoder>
)
endif
()
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment