add vendor packages

This commit is contained in:
EricX-Zhao
2026-02-12 00:47:10 +03:00
parent fae9d9f8ba
commit 7fffde2fd6
45 changed files with 930 additions and 20 deletions
@@ -0,0 +1,24 @@
cmake_minimum_required(VERSION 3.8)
project(glog_vendor)
if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_COMPILER_ID MATCHES "Clang")
add_compile_options(-Wall -Wextra -Wpedantic)
endif()
# uncomment the following section in order to fill in
# further dependencies manually.
# find_package(<dependency> REQUIRED)
include(FetchContent)
FetchContent_Declare(
glog_vendor
URL https://github.com/google/glog/archive/refs/tags/v0.7.1.tar.gz
)
set(BUILD_EXAMPLES OFF CACHE BOOL "BUILD_EXAMPLES" FORCE)
set(WITH_GTEST OFF CACHE BOOL "WITH_GTEST" FORCE)
FetchContent_MakeAvailable(glog_vendor)
@@ -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>glog_vendor</name>
<version>0.0.0</version>
<description>TODO: Package description</description>
<maintainer email="ericzhao0325@163.com">ericx</maintainer>
<license>TODO: License declaration</license>
<depend>gflags_vendor</depend>
<export>
<build_type>cmake</build_type>
</export>
</package>