###
set(ACL_BASE ${CMAKE_CURRENT_SOURCE_DIR}/acl)
set(ACL_GENERATED ${CMAKE_CURRENT_BINARY_DIR}/acl_generated)
+set(ACL_VERSION_TAG "${ACL_GENERATED}/arm_compute_version.embed")
# Create 'arm_compute_version.embed'
-add_custom_command(OUTPUT "arm_compute_version.embed"
+add_custom_command(OUTPUT ${ACL_VERSION_TAG}
COMMAND mkdir -p "${ACL_GENERATED}"
- COMMAND echo '"unknown"' > "${ACL_GENERATED}/arm_compute_version.embed")
+ COMMAND echo '"unknown"' > "${ACL_VERSION_TAG}")
file(GLOB_RECURSE ACL_UTIL_SRCS "${ACL_BASE}/src/core/utils/*.cpp")
### ARM Compute Library Common (Core & Runtime)
###
file(GLOB ACL_CORE_COMMON_SRCS "${ACL_BASE}/src/core/*.cpp")
-list(APPEND ACL_CORE_COMMON_SRCS "arm_compute_version.embed")
+list(APPEND ACL_CORE_COMMON_SRCS ${ACL_VERSION_TAG})
# Both CL & NEON runtime funtions use these CPP kernels
list(APPEND ACL_CORE_COMMON_SRCS "${ACL_BASE}/src/core/CPP/kernels/CPPCornerCandidatesKernel.cpp")
list(APPEND ACL_CORE_COMMON_SRCS "${ACL_BASE}/src/core/CPP/kernels/CPPDetectionWindowNonMaximaSuppressionKernel.cpp")