CMake: collect executables to common location
Install target was extended to copy all artefacts to a
common location with elaborate naming convention.
Change-Id: I529ccd5ffd8bace7d015f093a1c1561c05eac6ff
Signed-off-by: Tamas Ban <tamas.ban@arm.com>
diff --git a/secure_fw/CMakeLists.txt b/secure_fw/CMakeLists.txt
index f451e49..f81a4b3 100644
--- a/secure_fw/CMakeLists.txt
+++ b/secure_fw/CMakeLists.txt
@@ -184,15 +184,16 @@
set(CMAKE_INSTALL_PREFIX "${CMAKE_BINARY_DIR}/install" CACHE PATH "Default install location for secure_fw." FORCE)
endif()
+ #Export files needed to interface external applications at: <build_dir>/install/export/tfm/
install(DIRECTORY ${TFM_ROOT_DIR}/interface/include/
- DESTINATION tfm/inc)
+ DESTINATION export/tfm/inc)
install(DIRECTORY ${TFM_ROOT_DIR}/interface/src/
- DESTINATION tfm/src)
+ DESTINATION export/tfm/src)
- install(FILES ${S_VENEER_FILE} DESTINATION tfm/veneers)
+ install(FILES ${S_VENEER_FILE} DESTINATION export/tfm/veneers)
- #Collect executables to common location: build/install/outputs/
+ #Collect executables to common location: <build_dir>/install/outputs/
if (DEFINED SECURE_AXF_DIR_PREFIX)
set(MY_BINARY_DIR ${SECURE_AXF_DIR_PREFIX})
else()