2014-10-20 17:11:18 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# yaml-cpp
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2019-09-29 19:39:53 +02:00
|
|
|
YAML_CPP_VERSION = 0.6.3
|
2018-06-09 12:46:37 +02:00
|
|
|
YAML_CPP_SITE = $(call github,jbeder,yaml-cpp,yaml-cpp-$(YAML_CPP_VERSION))
|
2014-10-20 17:11:18 +02:00
|
|
|
YAML_CPP_INSTALL_STAGING = YES
|
|
|
|
YAML_CPP_LICENSE = MIT
|
2018-06-09 12:46:37 +02:00
|
|
|
YAML_CPP_LICENSE_FILES = LICENSE
|
2015-03-28 20:34:32 +01:00
|
|
|
|
2015-07-30 20:39:46 +02:00
|
|
|
# Disable testing and parse tools
|
2018-06-11 06:51:44 +02:00
|
|
|
YAML_CPP_CONF_OPTS += \
|
|
|
|
-DYAML_CPP_BUILD_TESTS=OFF \
|
|
|
|
-DYAML_CPP_BUILD_TOOLS=OFF
|
2015-07-30 20:39:46 +02:00
|
|
|
|
2020-04-21 20:35:43 +02:00
|
|
|
ifeq ($(BR2_STATIC_LIBS),y)
|
|
|
|
YAML_CPP_CONF_OPTS += -DYAML_BUILD_SHARED_LIBS=OFF
|
|
|
|
else
|
|
|
|
YAML_CPP_CONF_OPTS += -DYAML_BUILD_SHARED_LIBS=ON
|
|
|
|
endif
|
|
|
|
|
2014-10-20 17:11:18 +02:00
|
|
|
$(eval $(cmake-package))
|