summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2021-10-20 12:55:30 (GMT)
committerKitware Robot <kwrobot@kitware.com>2021-10-20 12:55:39 (GMT)
commitb7510944dcabd6140c671e65df315d0341eb037e (patch)
tree5d86e982f485e03b007b41f5f18ff5bf6ca4f2df /Modules
parent9be4c7f0c426c1445e48165f13ae2d31fa1f2940 (diff)
parent3f9b40dab7345cea8864b11a4af7847988075827 (diff)
downloadCMake-b7510944dcabd6140c671e65df315d0341eb037e.zip
CMake-b7510944dcabd6140c671e65df315d0341eb037e.tar.gz
CMake-b7510944dcabd6140c671e65df315d0341eb037e.tar.bz2
Merge topic 'platform-generic-elf'
3f9b40dab7 Generic-ELF: Add platform module to configure the .elf file extension Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6630
Diffstat (limited to 'Modules')
-rw-r--r--Modules/Platform/Generic-ELF.cmake7
1 files changed, 7 insertions, 0 deletions
diff --git a/Modules/Platform/Generic-ELF.cmake b/Modules/Platform/Generic-ELF.cmake
new file mode 100644
index 0000000..943cb6b
--- /dev/null
+++ b/Modules/Platform/Generic-ELF.cmake
@@ -0,0 +1,7 @@
+# This is a platform definition file for platforms without
+# an operating system using the ELF executable format.
+# It is used when CMAKE_SYSTEM_NAME is set to "Generic-ELF"
+
+include(Platform/Generic)
+
+set(CMAKE_EXECUTABLE_SUFFIX .elf)