pico-sdk/pico_sdk_version.cmake

21 lines
1.3 KiB
CMake
Raw Normal View History

2021-03-09 00:06:52 +00:00
# PICO_BUILD_DEFINE: PICO_SDK_VERSION_MAJOR, SDK major version number, type=int, group=pico_base
# PICO_CONFIG: PICO_SDK_VERSION_MAJOR, SDK major version number, type=int, group=pico_base
2021-01-20 16:44:27 +00:00
set(PICO_SDK_VERSION_MAJOR 1)
2021-03-09 00:06:52 +00:00
# PICO_BUILD_DEFINE: PICO_SDK_VERSION_MINOR, SDK minor version number, type=int, group=pico_base
# PICO_CONFIG: PICO_SDK_VERSION_MINOR, SDK minor version number, type=int, group=pico_base
2021-06-03 15:49:01 +00:00
set(PICO_SDK_VERSION_MINOR 3)
2021-03-09 00:06:52 +00:00
# PICO_BUILD_DEFINE: PICO_SDK_VERSION_REVISION, SDK version revision, type=int, group=pico_base
# PICO_CONFIG: PICO_SDK_VERSION_REVISION, SDK version revision, type=int, group=pico_base
2021-11-02 02:46:36 +00:00
set(PICO_SDK_VERSION_REVISION 1)
2021-03-09 00:06:52 +00:00
# PICO_BUILD_DEFINE: PICO_SDK_VERSION_PRE_RELEASE_ID, optional SDK pre-release version identifier, type=string, group=pico_base
# PICO_CONFIG: PICO_SDK_VERSION_PRE_RELEASE_ID, optional SDK pre-release version identifier, type=string, group=pico_base
2022-05-17 18:42:49 +00:00
#set(PICO_SDK_VERSION_PRE_RELEASE_ID develop)
2021-03-08 18:23:44 +00:00
2021-01-20 16:44:27 +00:00
# PICO_BUILD_DEFINE: PICO_SDK_VERSION_STRING, SDK version, type=string, group=pico_base
# PICO_CONFIG: PICO_SDK_VERSION_STRING, SDK version, type=string, group=pico_base
set(PICO_SDK_VERSION_STRING "${PICO_SDK_VERSION_MAJOR}.${PICO_SDK_VERSION_MINOR}.${PICO_SDK_VERSION_REVISION}")
2021-03-08 18:23:44 +00:00
if (PICO_SDK_VERSION_PRE_RELEASE_ID)
set(PICO_SDK_VERSION_STRING "${PICO_SDK_VERSION_STRING}-${PICO_SDK_VERSION_PRE_RELEASE_ID}")
2021-06-02 20:35:29 +00:00
endif()