-
Notifications
You must be signed in to change notification settings - Fork 302
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dlt: fix warning in source and prepare for v2.19.x #732
base: master
Are you sure you want to change the base?
Conversation
@@ -14,13 +14,10 @@ | |||
####### | |||
|
|||
# Set minimum Cmake version and setup policy behavior | |||
cmake_minimum_required(VERSION 3.3) | |||
cmake_minimum_required(VERSION 3.10) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note for beta release
Example for truncate technique, any better idea?
|
4294a38
to
45ca61d
Compare
Hello @Le-Tin @Bichdao021195 Utests also need reworking, anyone takes responsibility?
Thanks |
This refactoring work is a preparation for v2.19.x + Replace strncpy and strncat with snprintf + Increase integrity by bounding and checking + Handle strings for file names and paths as null-terminated strings. + Git workflow: upload-artifact v3 -> v4 + Utests disabled, will be handled in next commits Signed-off-by: minminlittleshrimp <[email protected]>
45ca61d
to
f91cb9b
Compare
Conf:
|
Build:
|
42b9dec
to
f91cb9b
Compare
@@ -26,7 +26,7 @@ endif() | |||
|
|||
foreach(TARGET IN LISTS TARGET_LIST) | |||
set(TARGET_SRCS ${TARGET}) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @minminlittleshrimp
It is better to " set(TARGET_SRCS ${TARGET}.c)" instead of modifying add_execute.
Thanks
@@ -42,7 +42,7 @@ if(NOT WITH_DLT_CONSOLE_WO_SBTM) | |||
endif() | |||
|
|||
foreach(target IN LISTS TARGET_LIST) | |||
set(target_SRCS ${target}) | |||
set(target_SRCS ${target}.c) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if you would like to specify .c for each target_SRCS , I propose to add in TARGET_LIST like that "ist(APPEND TARGET_LIST dlt-receive.c), it will be easy for maintenance
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hello a Tin,
This document mentions about what we need:
This refactoring work is a preparation for v2.19.x