- Set CMAKE_C_STANDARD to 90 Because of this, moved some declarations to start of the block - Move PROFILE_ENABLE and MD5_DISABLE to specific targets as these macros are not used when building libraries Bug: 242076773 Test: Builds Change-Id: Icd0b8a48f015a695185ce2220800348f7a7512f1
11 lines
348 B
CMake
11 lines
348 B
CMake
list(
|
|
APPEND
|
|
AVCENC_SRCS
|
|
"${AVC_ROOT}/test/encoder/input.c"
|
|
"${AVC_ROOT}/test/encoder/main.c"
|
|
"${AVC_ROOT}/test/encoder/output.c"
|
|
"${AVC_ROOT}/test/encoder/psnr.c"
|
|
"${AVC_ROOT}/test/encoder/recon.c")
|
|
|
|
libavc_add_executable(avcenc libavcenc SOURCES ${AVCENC_SRCS})
|
|
target_compile_definitions(avcenc PRIVATE PROFILE_ENABLE MD5_DISABLE)
|