--- /dev/null
+# Copyright (c) 2017 Samsung Electronics Co., Ltd All Rights Reserved
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+# @file
+# @author Rafał Tymiński (r.tyminski@partner.samsung.com)
+# @brief CMakeLists for example TA
+#
+
+############# Entry defines #############
+
+SET(TARGET_TA 00000000-1234-5678-8765-432123456789.elf)
+
+SET(TA_SOURCES
+ src/example.c
+ )
+
+SET(TA_HEADERS
+ include/example_defines.h
+ )
+
+INCLUDE(FindPkgConfig)
+
+PKG_CHECK_MODULES(TA_DEPS REQUIRED
+ unified-ta-devkit
+ )
+
+INCLUDE(UnifiedTADevkit)
+
+ADD_EXECUTABLE(${TARGET_TA}
+ ${TA_SOURCES}
+ )
+
+TARGET_LINK_LIBRARIES(${TARGET_TA}
+ ${TA_DEPS_LIBRARIES}
+ ${TA_DEPS_STATIC_LIBRARIES}
+ )
+
+GENERATE_TA_IMAGE(SIGNED_TA ${TARGET_TA} ${TA_PATH}/example.xml ${TA_NAME})
+INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/${TA_NAME} DESTINATION ${TASTORE_DIR})
+INSTALL(FILES ${TA_HEADERS} DESTINATION ${INCLUDE_DIR})