Init commit.

This commit is contained in:
James Pace 2026-09-16 19:54:38 -04:00
commit c31be75576
4 changed files with 39 additions and 0 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
blend2d/

23
CMakeLists.txt Normal file
View File

@ -0,0 +1,23 @@
cmake_minimum_required(VERSION 4.2)
project(blend2d_vendor)
# I can't use fetchcontent here because belnd2d assumes asmjit is in
# a path relative to the cmake source dir (or something like that).
#
# That tar.gz file was built by cloning the blend2d source repo and
# then cloning asmjit into the proper place per the blend2d instructions.
set(BLEND2D_SRC "${CMAKE_CURRENT_SOURCE_DIR}/blend2d")
find_package(ament_cmake REQUIRED)
execute_process(
COMMAND tar xvzf ${CMAKE_CURRENT_SOURCE_DIR}/blend2d.tar.gz
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
COMMAND_ERROR_IS_FATAL ANY
)
add_subdirectory(${BLEND2D_SRC})
ament_export_dependencies(blend2d)
ament_package()

BIN
blend2d.tar.gz Normal file

Binary file not shown.

15
package.xml Normal file
View File

@ -0,0 +1,15 @@
<?xml version="1.0"?>
<?xml-model href="http://download.ros.org/schema/package_format3.xsd" schematypens="http://www.w3.org/2001/XMLSchema"?>
<package format="3">
<name>blend2d_vendor</name>
<version>0.0.0</version>
<description>TODO: Package description</description>
<maintainer email="jpace121@gmail.com">jimmy</maintainer>
<license>TODO: License declaration</license>
<buildtool_depend>ament_cmake</buildtool_depend>
<export>
<build_type>ament_cmake</build_type>
</export>
</package>