File tree Expand file tree Collapse file tree 2 files changed +12
-3
lines changed
Expand file tree Collapse file tree 2 files changed +12
-3
lines changed Original file line number Diff line number Diff line change 2020 "CHECK_PC_MD5" : false ,
2121 "ENABLE_CI_TESTING" : false ,
2222 "ENABLE_MY_TESTING" : false ,
23- "ENABLE_V3CRTP" : false
23+ "ENABLE_V3CRTP" : false ,
24+ "ENABLE_UVGRTP_PRINTS" : true
2425 }
2526 },
2627 {
3132 "CMAKE_BUILD_TYPE" : " Release" ,
3233 "ENABLE_TESTING" : true ,
3334 "ENABLE_CI_TESTING" : true ,
34- "CMAKE_CXX_FLAGS_RELEASE" : " -O3 -DNDEBUG"
35+ "CMAKE_CXX_FLAGS_RELEASE" : " -O3 -DNDEBUG" ,
36+ "ENABLE_UVGRTP_PRINTS" : false
3537 }
3638 },
3739 {
Original file line number Diff line number Diff line change @@ -36,7 +36,14 @@ if(ENABLE_V3CRTP)
3636 set (UVGV3CRTP_DISABLE_TESTS ON CACHE BOOL "" FORCE)
3737 set (UVGV3CRTP_DISABLE_EXAMPLES ON CACHE BOOL "" FORCE)
3838 set (UVGV3CRTP_DISABLE_INSTALL OFF CACHE BOOL "" FORCE)
39-
39+
40+ # Disable uvgRTP prints unless using a debug prints
41+ if (ENABLE_UVGRTP_PRINTS)
42+ set (UVGRTP_DISABLE_PRINTS OFF CACHE BOOL "" FORCE)
43+ else ()
44+ set (UVGRTP_DISABLE_PRINTS ON CACHE BOOL "" FORCE)
45+ endif ()
46+
4047 add_subdirectory (${CMAKE_CURRENT_SOURCE_DIR} /dependencies/uvgV3CRTP)
4148
4249 include_directories (${uvgv3crtp_SOURCE_DIR} /include )
You can’t perform that action at this time.
0 commit comments