1*4882a593Smuzhiyun################################################################################ 2*4882a593Smuzhiyun# 3*4882a593Smuzhiyun# LetMeCreate 4*4882a593Smuzhiyun# 5*4882a593Smuzhiyun################################################################################ 6*4882a593Smuzhiyun 7*4882a593SmuzhiyunLET_ME_CREATE_VERSION = 1.5.2 8*4882a593SmuzhiyunLET_ME_CREATE_SITE = $(call github,CreatorDev,LetMeCreate,v$(LET_ME_CREATE_VERSION)) 9*4882a593SmuzhiyunLET_ME_CREATE_INSTALL_STAGING = YES 10*4882a593SmuzhiyunLET_ME_CREATE_LICENSE = BSD-3-Clause 11*4882a593SmuzhiyunLET_ME_CREATE_LICENSE_FILES = LICENSE 12*4882a593Smuzhiyun 13*4882a593Smuzhiyun# pure static build not supported 14*4882a593Smuzhiyunifeq ($(BR2_SHARED_LIBS),y) 15*4882a593SmuzhiyunLET_ME_CREATE_CONF_OPTS += -DBUILD_STATIC=OFF -DBUILD_SHARED=ON 16*4882a593Smuzhiyunelse ifeq ($(BR2_SHARED_STATIC_LIBS),y) 17*4882a593SmuzhiyunLET_ME_CREATE_CONF_OPTS += -DBUILD_STATIC=ON -DBUILD_SHARED=ON 18*4882a593Smuzhiyunendif 19*4882a593Smuzhiyun 20*4882a593Smuzhiyunifeq ($(BR2_PACKAGE_LET_ME_CREATE_EXAMPLES),y) 21*4882a593SmuzhiyunLET_ME_CREATE_CONF_OPTS += -DBUILD_EXAMPLES=ON 22*4882a593Smuzhiyunelse 23*4882a593SmuzhiyunLET_ME_CREATE_CONF_OPTS += -DBUILD_EXAMPLES=OFF 24*4882a593Smuzhiyunendif 25*4882a593Smuzhiyun 26*4882a593Smuzhiyun$(eval $(cmake-package)) 27