mxe/src/tinyxml2.mk

21 lines
718 B
Makefile
Raw Normal View History

# This file is part of MXE. See LICENSE.md for licensing information.
2014-12-13 23:15:18 +00:00
PKG := tinyxml2
$(PKG)_WEBSITE := http://grinninglizard.com/tinyxml2/
2014-12-13 23:15:18 +00:00
$(PKG)_IGNORE :=
2018-11-15 23:37:24 +00:00
$(PKG)_VERSION := 7.0.0
$(PKG)_CHECKSUM := fa0d1c745d65d4d833e62cb183e23c2034dc7a35ec1a4977e808bdebb9b4fe60
2018-03-15 09:34:46 +00:00
$(PKG)_GH_CONF := leethomason/tinyxml2/tags
$(PKG)_DEPS := cc
2014-12-13 23:15:18 +00:00
define $(PKG)_BUILD
cd '$(BUILD_DIR)' && '$(TARGET)-cmake' '$(SOURCE_DIR)'
$(MAKE) -C '$(BUILD_DIR)' -j '$(JOBS)'
$(MAKE) -C '$(BUILD_DIR)' -j 1 install
2014-12-13 23:15:18 +00:00
'$(TARGET)-g++' \
-W -Wall -ansi -pedantic \
'$(SOURCE_DIR)/xmltest.cpp' -o '$(PREFIX)/$(TARGET)/bin/test-$(PKG).exe' \
`'$(TARGET)-pkg-config' $(PKG) --cflags --libs`
2015-09-21 17:30:24 +01:00
endef