Bug 5133216: Add QNX tooltrain and cross build support

This commit is contained in:
shawnz
2025-05-29 16:57:28 +08:00
parent 9c0d5aaae6
commit 49307463b5
16 changed files with 113 additions and 72 deletions

View File

@@ -17,6 +17,12 @@ else()
set(CMAKE_CUDA_FLAGS "${CMAKE_CUDA_FLAGS} -lineinfo") # add line information to all builds for debug tools (exclusive to -G option)
endif()
# This sample is not supported on QNX
if(CMAKE_SYSTEM_NAME STREQUAL "QNX")
message(STATUS "Will not build sample ${PROJECT_NAME} - not supported on QNX")
return()
endif()
# Include directories and libraries
include_directories(../../../Common)