summaryrefslogtreecommitdiffstats
path: root/Tests/GhsMulti/GhsMultiMultipleProjects/CMakeLists.txt
diff options
context:
space:
mode:
authorFred Baksik <frodak17@gmail.com>2019-01-05 16:01:20 (GMT)
committerFred Baksik <frodak17@gmail.com>2019-01-16 15:41:03 (GMT)
commit5cef3c61fc815393248762c14ba1878aae68394d (patch)
treef50de502f49e9c7dc43ec2195d3951a955cf4399 /Tests/GhsMulti/GhsMultiMultipleProjects/CMakeLists.txt
parenta42e40e78dc3d9c4289a3c9640cae94ecd034373 (diff)
downloadCMake-5cef3c61fc815393248762c14ba1878aae68394d.zip
CMake-5cef3c61fc815393248762c14ba1878aae68394d.tar.gz
CMake-5cef3c61fc815393248762c14ba1878aae68394d.tar.bz2
GHS: Update test suite
-- Update test suite so that CMake can use multiple toolsets CMake_TEST_GreenHillsMULTI_config ghs_config_name ghs_target_arch ghs_tools ghs_toolset_name ghs_os_root ghs_os_dir ghs_target_platform ghs_bsp_name -- Change ARM Integrity test to generic Integrity test Add Monolithic build test -- Add other GHS generator tests
Diffstat (limited to 'Tests/GhsMulti/GhsMultiMultipleProjects/CMakeLists.txt')
-rw-r--r--Tests/GhsMulti/GhsMultiMultipleProjects/CMakeLists.txt13
1 files changed, 13 insertions, 0 deletions
diff --git a/Tests/GhsMulti/GhsMultiMultipleProjects/CMakeLists.txt b/Tests/GhsMulti/GhsMultiMultipleProjects/CMakeLists.txt
new file mode 100644
index 0000000..d01c4d2
--- /dev/null
+++ b/Tests/GhsMulti/GhsMultiMultipleProjects/CMakeLists.txt
@@ -0,0 +1,13 @@
+# Distributed under the OSI-approved BSD 3-Clause License. See accompanying
+# file Copyright.txt or https://cmake.org/licensing for details.
+
+cmake_minimum_required(VERSION 3.12 FATAL_ERROR)
+
+project(test C)
+
+add_library(lib1 lib1.c)
+add_executable(exe1 exe1.c)
+target_link_libraries(exe1 lib1)
+
+add_subdirectory(sub)
+add_subdirectory(sub2 examples EXCLUDE_FROM_ALL)