File tree Expand file tree Collapse file tree 1 file changed +32
-0
lines changed Expand file tree Collapse file tree 1 file changed +32
-0
lines changed Original file line number Diff line number Diff line change @@ -92,6 +92,38 @@ output("Building package assets" NOTICE LABEL "✓" LABEL_FORMAT "[ %label% ] ")
9292
9393See [ output module] ( ./modules/output/index.md ) for additional information.
9494
95+ ### Debug
96+
97+ (_ available since ` v0.1 ` _ )
98+
99+ Debugging utils.
100+
101+ ``` cmake
102+ set(resources_list "chart.png;driver.ini;config.json")
103+
104+ dump(
105+ resources_list
106+ )
107+ ```
108+
109+ Outputs:
110+
111+ ``` txt
112+ CMake Warning at cmake/rsp/debug.cmake:31 (message):
113+ dump:
114+
115+ resources_list = (list 3) [
116+ 0: (string 9) "chart.png"
117+ 1: (string 10) "driver.ini"
118+ 2: (string 11) "config.json"
119+ ]
120+ Call Stack (most recent call first):
121+ CMakeLists.txt:108 (dump)
122+ ```
123+
124+ See [ debug module] ( ./modules/debug/index.md ) for additional information.
125+
126+
95127### Logging
96128
97129(_ available since ` v0.1 ` _ )
You can’t perform that action at this time.
0 commit comments