File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change 1
1
cmake_minimum_required (VERSION 3.18) # 3.18 To automatically detect CUDA_ARCHITECTURES
2
2
set (CMAKE_CXX_STANDARD 20)
3
3
set (CMAKE_CUDA_STANDARD 17)
4
+
4
5
# Build Release by default; CMAKE_BUILD_TYPE needs to be set before project(...)
5
6
if (NOT CMAKE_BUILD_TYPE )
6
7
set (CMAKE_BUILD_TYPE "Release" CACHE STRING
7
8
"Choose the type of build, options are: Debug Release RelWithDebInfo MinSizeRel" FORCE)
8
9
endif (NOT CMAKE_BUILD_TYPE )
10
+
11
+ # Use debug postfix 'd' by default.
12
+ if (NOT CMAKE_DEBUG_POSTFIX )
13
+ set (CMAKE_DEBUG_POSTFIX "d" CACHE STRING
14
+ "Choose the debug postfix used when building Debug configuration" )
15
+ endif ()
16
+
9
17
project (RobotecGPULidar C CXX CUDA)
10
18
11
19
# Logging default settings (can be changed via API call)
You can’t perform that action at this time.
0 commit comments