浏览代码

CMake: Generate panda.prc with `notify-level warning` when not Debug

Sam Edwards 6 年之前
父节点
当前提交
f75a8d03e0
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4 0
      panda/src/configfiles/panda.prc.in

+ 4 - 0
panda/src/configfiles/panda.prc.in

@@ -12,6 +12,10 @@ model-path $THIS_PRC_DIR/${MODELS_PARENT_PATH}/models
 win-origin -2 -2
 win-size 800 600
 
+# For debugging, it's nice to have notify-level at the default setting of
+# "info", but everywhere else we turn the verbosity down to "warning"
+$<$<CONFIG:Debug>:#>notify-level warning
+
 # Define the display types that have been compiled in.  Panda will
 # pick one of these by going through the list in this order until one
 # is found that works, unless the user specifically requests a