2023-01-29 23:50:01 +01:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# oatpp
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
|
|
|
OATPP_VERSION = 1.3.0
|
|
|
|
OATPP_SITE = $(call github,oatpp,oatpp,$(OATPP_VERSION))
|
|
|
|
OATPP_LICENSE = Apache-2.0
|
|
|
|
OATPP_LICENSE_FILES = LICENSE
|
2024-04-07 15:59:51 +02:00
|
|
|
OATPP_CONF_OPTS = -DBUILD_SHARED_LIBS=OFF -DOATPP_BUILD_TESTS=OFF
|
2023-01-29 23:50:01 +01:00
|
|
|
OATPP_INSTALL_STAGING = YES
|
|
|
|
# Only builds a static lib and headers
|
|
|
|
OATPP_INSTALL_TARGET = NO
|
|
|
|
|
2023-11-23 22:52:50 +01:00
|
|
|
ifeq ($(BR2_TOOLCHAIN_HAS_THREADS_NPTL),y)
|
|
|
|
OATPP_CONF_OPTS += -DOATPP_COMPAT_BUILD_NO_SET_AFFINITY=OFF
|
|
|
|
else
|
|
|
|
OATPP_CONF_OPTS += -DOATPP_COMPAT_BUILD_NO_SET_AFFINITY=ON
|
|
|
|
endif
|
|
|
|
|
2023-01-29 23:50:01 +01:00
|
|
|
$(eval $(cmake-package))
|