File tree Expand file tree Collapse file tree 3 files changed +9
-7
lines changed Expand file tree Collapse file tree 3 files changed +9
-7
lines changed Original file line number Diff line number Diff line change 50
50
"editor.insertSpaces" : false ,
51
51
"editor.detectIndentation" : false ,
52
52
"editor.renderWhitespace" : " boundary"
53
- }
53
+ },
54
+ "cmake.configureOnOpen" : true
54
55
}
Original file line number Diff line number Diff line change 1
- cmake_minimum_required (VERSION 3.25 )
1
+ cmake_minimum_required (VERSION 3.23 )
2
2
3
3
# Build options options
4
4
option (BUILD_SHARED_LIBS "Build shared libraries" OFF )
Original file line number Diff line number Diff line change @@ -26,17 +26,18 @@ set(SOURCES
26
26
main.c
27
27
)
28
28
29
+ # -----------------------------------------------------------------------------
30
+
31
+ add_executable (${TARGET}
32
+ ${SOURCES}
33
+ )
34
+
29
35
if (HAVE_STRINGOP_OVERFLOW )
30
36
target_compile_options (${TARGET}
31
37
PRIVATE -Wno-stringop-overflow
32
38
)
33
39
endif (HAVE_STRINGOP_OVERFLOW )
34
40
35
- # -----------------------------------------------------------------------------
36
-
37
- add_executable (${TARGET}
38
- ${SOURCES}
39
- )
40
41
target_link_libraries (${TARGET}
41
42
PRIVATE
42
43
${SUT}
You can’t perform that action at this time.
0 commit comments