Skip to content

Commit

Permalink
move makefile to extension-ci-tools
Browse files Browse the repository at this point in the history
  • Loading branch information
samansmink committed Feb 28, 2024
1 parent 645002d commit 30e1914
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 119 deletions.
4 changes: 4 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,7 @@
path = duckdb
url = https://github.com/duckdb/duckdb
branch = main
[submodule "extension-ci-tools"]
path = extension-ci-tools
url = [email protected]:duckdb/extension-ci-tools.git
branch = main
4 changes: 3 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
PROJ_DIR := $(dir $(abspath $(lastword $(MAKEFILE_LIST))))

# Configuration of extension
EXT_NAME=quack
EXT_CONFIG=${PROJ_DIR}extension_config.cmake

include out-of-tree-extension.Makefile
# Include the Makefile from extension-ci-tools
include extension-ci-tools/makefiles/duckdb_extension.Makefile
1 change: 1 addition & 0 deletions extension-ci-tools
Submodule extension-ci-tools added at 7d022f
11 changes: 5 additions & 6 deletions extension_config.cmake
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
# Config to build this extension
# This file is included by DuckDB's build system. It specifies which extension to load

# Extension from this repo
duckdb_extension_load(quack
SOURCE_DIR ${CMAKE_CURRENT_LIST_DIR}
INCLUDE_PATH ${CMAKE_CURRENT_LIST_DIR}src/include
TEST_PATH ${CMAKE_CURRENT_LIST_DIR}src/include
LOAD_TESTS
DONT_LINK
)

# Load more extensions in your builds by adding them here. E.g.:
# duckdb_extension_load(json)
# Any extra extensions
# e.g.: duckdb_extension_load(json)
112 changes: 0 additions & 112 deletions out-of-tree-extension.Makefile

This file was deleted.

0 comments on commit 30e1914

Please sign in to comment.