allow passing OWNER_TEXT variables into cmake
This commit is contained in:
parent
88877074e8
commit
bbc0cf5930
1 changed files with 10 additions and 2 deletions
|
@ -31,9 +31,17 @@ else()
|
|||
endif()
|
||||
|
||||
# Owner text displayed on watch faces, <=20ch
|
||||
if(DEFINED OWNER_TEXT)
|
||||
set(OWNER_TEXT ${OWNER_TEXT})
|
||||
else()
|
||||
set(OWNER_TEXT "Pine Time")
|
||||
endif()
|
||||
# Owner text displayed on watch faces, <=6ch
|
||||
if(DEFINED OWNER_TEXT_SHORT)
|
||||
set(OWNER_TEXT_SHORT ${OWNER_TEXT_SHORT})
|
||||
else()
|
||||
set(OWNER_TEXT_SHORT "pine")
|
||||
endif()
|
||||
|
||||
add_library(infinitime_apps INTERFACE)
|
||||
target_sources(infinitime_apps INTERFACE "${CMAKE_CURRENT_BINARY_DIR}/Apps.h")
|
||||
|
|
Loading…
Reference in a new issue