sysbuild: cmake: Add set_config_int() function
Adds a function that will add an integer value to an image Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
This commit is contained in:
parent
e11d050b23
commit
8774f15bd2
1 changed files with 4 additions and 0 deletions
|
|
@ -661,6 +661,10 @@ function(set_config_string image setting value)
|
|||
set_property(TARGET ${image} APPEND_STRING PROPERTY CONFIG "${setting}=\"${value}\"\n")
|
||||
endfunction()
|
||||
|
||||
function(set_config_int image setting value)
|
||||
set_property(TARGET ${image} APPEND_STRING PROPERTY CONFIG "${setting}=${value}\n")
|
||||
endfunction()
|
||||
|
||||
# Usage:
|
||||
# sysbuild_add_subdirectory(<source_dir> [<binary_dir>])
|
||||
#
|
||||
|
|
|
|||
Loading…
Reference in a new issue