File tree Expand file tree Collapse file tree 3 files changed +5
-6
lines changed Expand file tree Collapse file tree 3 files changed +5
-6
lines changed Original file line number Diff line number Diff line change 25
25
26
26
cmake_minimum_required (VERSION 3.20.0 )
27
27
28
- # Read VERSION
29
- file (STRINGS "${CMAKE_SOURCE_DIR} /VERSION.txt" PROJECT_VER LIMIT_COUNT 1 )
30
- set_property (DIRECTORY . APPEND PROPERTY CMAKE_CONFIGURE_DEPENDS "${CMAKE_SOURCE_DIR} /VERSION.txt" )
31
-
32
28
# Extra components
33
29
list (APPEND ZEPHYR_EXTRA_MODULES
34
30
"${CMAKE_CURRENT_SOURCE_DIR} /components/cJSON"
@@ -51,7 +47,6 @@ target_sources(app PRIVATE "src/main.c")
51
47
52
48
# Definitions
53
49
target_compile_definitions (app PRIVATE PROJECT_NAME = "mender-stm32l4a6-zephyr-example" )
54
- target_compile_definitions (app PRIVATE PROJECT_VERSION= "${PROJECT_VER} " )
55
50
56
51
# Generate Root CA include file
57
52
generate_inc_file_for_target (app "src/AmazonRootCA1.cer" "${ZEPHYR_BINARY_DIR} /include/generated/AmazonRootCA1.cer.inc" )
Original file line number Diff line number Diff line change
1
+ VERSION_MAJOR = 0
2
+ VERSION_MINOR = 1
3
+ PATCHLEVEL = 0
4
+ VERSION_TWEAK = 0
5
+ EXTRAVERSION =
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments