Skip to content

Commit 634b1bd

Browse files
committed
Refactored workflow for the C-STAT interactive example
1 parent 9e07cf5 commit 634b1bd

1 file changed

Lines changed: 4 additions & 6 deletions

File tree

examples/cstat/CMakeLists.txt

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,14 @@ set(This cstat_demo)
55

66
project(${This} C)
77

8-
# TODO 1: Get the compiler path
98

9+
# TODO 1: Enable C-STAT Static Analysis
1010

11-
# TODO 2: Enable C-STAT Static Analysis
1211

12+
# TODO 2: Select the CERT C ruleset
1313

14-
# TODO 3: Select the CERT C ruleset
1514

16-
17-
# TODO 4: Select the MISRA C:2012 ruleset
15+
# TODO 3: Select the MISRA C:2012 ruleset
1816

1917

2018
add_executable(${This})
@@ -34,5 +32,5 @@ target_link_options(${This} PRIVATE
3432
--map .
3533
)
3634

37-
# TODO 5: Perform link-time analysis when using the MISRA C:2012 ruleset
35+
# TODO 4: Perform link-time analysis when using the MISRA C:2012 ruleset
3836

0 commit comments

Comments
 (0)