opentracing-cpp.mk 975 B

12345678910111213141516171819202122232425262728
  1. ################################################################################
  2. #
  3. # opentracing-cpp
  4. #
  5. ################################################################################
  6. OPENTRACING_CPP_VERSION = 1.6.0
  7. OPENTRACING_CPP_SITE = \
  8. $(call github,opentracing,opentracing-cpp,v$(OPENTRACING_CPP_VERSION))
  9. OPENTRACING_CPP_LICENSE = Apache-2.0
  10. OPENTRACING_CPP_LICENSE_FILES = LICENSE
  11. OPENTRACING_CPP_INSTALL_STAGING = YES
  12. # BUILD_SHARED_LIBS is handled in pkg-cmake.mk as it is a generic cmake variable
  13. # although BUILD_STATIC_LIBS=ON is default, make it explicit,
  14. # cmake and static/shared libs is confusing enough already.
  15. ifeq ($(BR2_STATIC_LIBS),y)
  16. OPENTRACING_CPP_CONF_OPTS += -DBUILD_STATIC_LIBS=ON
  17. else ifeq ($(BR2_SHARED_STATIC_LIBS),y)
  18. OPENTRACING_CPP_CONF_OPTS += -DBUILD_STATIC_LIBS=ON
  19. else ifeq ($(BR2_SHARED_LIBS),y)
  20. OPENTRACING_CPP_CONF_OPTS += -DBUILD_STATIC_LIBS=OFF
  21. endif
  22. OPENTRACING_CPP_CONF_OPTS += -DENABLE_LINTING=OFF
  23. $(eval $(cmake-package))