Skip to content

Commit d400abf

Browse files
committed
Updates based on @msaft's comments
1 parent f48f77d commit d400abf

File tree

3 files changed

+9
-7
lines changed

3 files changed

+9
-7
lines changed

.vscode/settings.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,5 +50,6 @@
5050
"editor.insertSpaces": false,
5151
"editor.detectIndentation": false,
5252
"editor.renderWhitespace": "boundary"
53-
}
53+
},
54+
"cmake.configureOnOpen": true
5455
}

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
cmake_minimum_required(VERSION 3.25)
1+
cmake_minimum_required(VERSION 3.23)
22

33
# Build options options
44
option(BUILD_SHARED_LIBS "Build shared libraries" OFF)

utest/CMakeLists.txt

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,17 +26,18 @@ set(SOURCES
2626
main.c
2727
)
2828

29+
# -----------------------------------------------------------------------------
30+
31+
add_executable(${TARGET}
32+
${SOURCES}
33+
)
34+
2935
if (HAVE_STRINGOP_OVERFLOW)
3036
target_compile_options(${TARGET}
3137
PRIVATE -Wno-stringop-overflow
3238
)
3339
endif (HAVE_STRINGOP_OVERFLOW)
3440

35-
# -----------------------------------------------------------------------------
36-
37-
add_executable(${TARGET}
38-
${SOURCES}
39-
)
4041
target_link_libraries(${TARGET}
4142
PRIVATE
4243
${SUT}

0 commit comments

Comments
 (0)