aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorGyorgy Szing <gyorgy.szing@arm.com>2017-12-05 01:08:47 +0000
committerAshutosh Singh <ashutosh.singh@arm.com>2017-12-14 11:21:52 +0000
commit30fa9871a8a24b2fdcf7c303dbd882b89b44cade (patch)
tree5a270079cba6753170cdb14e2acb45e24a0d3568 /CMakeLists.txt
parentffd3c4666aa61173d2c4fe1dfdb4505a568a86c5 (diff)
downloadtrusted-firmware-m-30fa9871a8a24b2fdcf7c303dbd882b89b44cade.tar.gz
Build: Cmake build system
-- Cmake based build system -- Only armclang supported currently Change-Id: I162357439bb1c871cba3a1c614822ef0b7a73e89 Signed-off-by: Abhishek Pandit <abhishek.pandit@arm.com>
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt16
1 files changed, 16 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
new file mode 100644
index 000000000..90d1d7027
--- /dev/null
+++ b/CMakeLists.txt
@@ -0,0 +1,16 @@
+#-------------------------------------------------------------------------------
+# Copyright (c) 2017, Arm Limited. All rights reserved.
+#
+# SPDX-License-Identifier: BSD-3-Clause
+#
+#-------------------------------------------------------------------------------
+
+cmake_minimum_required(VERSION 3.7)
+
+list(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake)
+include("Common/BuildSys")
+
+add_subdirectory(app)
+
+#Define a top-level generic tfm project
+project(tfm LANGUAGES)