1*4882a593Smuzhiyun################################################################################ 2*4882a593Smuzhiyun# 3*4882a593Smuzhiyun# opentracing-cpp 4*4882a593Smuzhiyun# 5*4882a593Smuzhiyun################################################################################ 6*4882a593Smuzhiyun 7*4882a593SmuzhiyunOPENTRACING_CPP_VERSION = 1.5.1 8*4882a593SmuzhiyunOPENTRACING_CPP_SITE = $(call github,opentracing,opentracing-cpp,v$(OPENTRACING_CPP_VERSION)) 9*4882a593SmuzhiyunOPENTRACING_CPP_LICENSE = Apache-2.0 10*4882a593SmuzhiyunOPENTRACING_CPP_LICENSE_FILES = LICENSE 11*4882a593Smuzhiyun 12*4882a593SmuzhiyunOPENTRACING_CPP_INSTALL_STAGING = YES 13*4882a593Smuzhiyun 14*4882a593Smuzhiyun# BUILD_SHARED_LIBS is handled in pkg-cmake.mk as it is a generic cmake variable 15*4882a593Smuzhiyun# although BUILD_STATIC_LIBS=ON is default, make it explicit, 16*4882a593Smuzhiyun# cmake and static/shared libs is confusing enough already. 17*4882a593Smuzhiyunifeq ($(BR2_STATIC_LIBS),y) 18*4882a593SmuzhiyunOPENTRACING_CPP_CONF_OPTS += -DBUILD_STATIC_LIBS=ON 19*4882a593Smuzhiyunelse ifeq ($(BR2_SHARED_STATIC_LIBS),y) 20*4882a593SmuzhiyunOPENTRACING_CPP_CONF_OPTS += -DBUILD_STATIC_LIBS=ON 21*4882a593Smuzhiyunelse ifeq ($(BR2_SHARED_LIBS),y) 22*4882a593SmuzhiyunOPENTRACING_CPP_CONF_OPTS += -DBUILD_STATIC_LIBS=OFF 23*4882a593Smuzhiyunendif 24*4882a593Smuzhiyun 25*4882a593SmuzhiyunOPENTRACING_CPP_CONF_OPTS += -DENABLE_LINTING=OFF 26*4882a593Smuzhiyun 27*4882a593Smuzhiyun$(eval $(cmake-package)) 28