summaryrefslogtreecommitdiff
path: root/cmake/Toolchain-QNX700-x86_64.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-QNX700-x86_64.cmake
parent8a02c81153db797703adf2e18be94efe0f0c7b8c (diff)
downloadlibical-git-5de3e1500d33e3f14b289ee29ceb79cd9cc64fed.tar.gz
REUSE compliance
fixes: #489
Diffstat (limited to 'cmake/Toolchain-QNX700-x86_64.cmake')
-rw-r--r--cmake/Toolchain-QNX700-x86_64.cmake22
1 files changed, 22 insertions, 0 deletions
diff --git a/cmake/Toolchain-QNX700-x86_64.cmake b/cmake/Toolchain-QNX700-x86_64.cmake
new file mode 100644
index 00000000..3b0e7bc6
--- /dev/null
+++ b/cmake/Toolchain-QNX700-x86_64.cmake
@@ -0,0 +1,22 @@
+#
+# SPDX-FileCopyrightText: 2009 Johns Hopkins University (JHU), All Rights Reserved.
+# SPDX-FileCopyrightText: 2018-2022 Klarälvdalens Datakonsult AB, a KDAB Group company <info@kdab.com>
+# 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 7.0.0)
+set(QNX_PROCESSOR x86_64)
+
+set(QNX_HOST_HINT "C:/qnx700/host/win32/x86")
+set(QNX_TARGET_HINT "C:/qnx700/target/qnx6")
+
+set(CMAKE_C_FLAGS "-Vgcc_ntox86_64" CACHE STRING "qcc c flags" FORCE)
+set(CMAKE_CXX_FLAGS "-Vgcc_ntox86_64 -lang-c++" CACHE STRING "qcc cxx flags" FORCE)
+
+include("${CMAKE_CURRENT_LIST_DIR}/Toolchain-QNX700-common.cmake")