summaryrefslogtreecommitdiff
path: root/cmake/Toolchain-QNX660-armv7.cmake
diff options
context:
space:
mode:
authorAllen Winter <allen.winter@kdab.com>2022-06-06 08:09:39 -0400
committerAllen Winter <allen.winter@kdab.com>2022-06-06 08:09:39 -0400
commit5de3e1500d33e3f14b289ee29ceb79cd9cc64fed (patch)
tree071fd080dfcbb6e9e78aee3abded1236a9060470 /cmake/Toolchain-QNX660-armv7.cmake
parent8a02c81153db797703adf2e18be94efe0f0c7b8c (diff)
downloadlibical-git-5de3e1500d33e3f14b289ee29ceb79cd9cc64fed.tar.gz
REUSE compliance
fixes: #489
Diffstat (limited to 'cmake/Toolchain-QNX660-armv7.cmake')
-rw-r--r--cmake/Toolchain-QNX660-armv7.cmake21
1 files changed, 21 insertions, 0 deletions
diff --git a/cmake/Toolchain-QNX660-armv7.cmake b/cmake/Toolchain-QNX660-armv7.cmake
new file mode 100644
index 00000000..690448be
--- /dev/null
+++ b/cmake/Toolchain-QNX660-armv7.cmake
@@ -0,0 +1,21 @@
+#
+# SPDX-FileCopyrightText: 2009 Johns Hopkins University (JHU), All Rights Reserved.
+# SPDX-License-Identifier: LicenseRef-CISST
+
+# --- begin cisst license - do not edit ---
+#
+# This software is provided "as is" under an open source license, with no warranty.
+# The complete license can be found in LICENSES/LicenseRef-CISST.txt.
+#
+# --- end cisst license ---
+
+set(QNX_VERSION 6.6.0)
+set(QNX_PROCESSOR armv7)
+
+set(QNX_HOST_HINT "C:/qnx660/host/win32/x86")
+set(QNX_TARGET_HINT "C:/qnx660/target/qnx6")
+
+set(CMAKE_C_FLAGS "-Vgcc_ntoarmv7le" CACHE STRING "qcc c flags" FORCE)
+set(CMAKE_CXX_FLAGS "-Vgcc_ntoarmv7le -lang-c++" CACHE STRING "qcc cxx flags" FORCE)
+
+include("${CMAKE_CURRENT_LIST_DIR}/Toolchain-QNX660-common.cmake")