premake / premake/premake-core
Add ability to download project dependencies
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 3.6k
- Forks
- 654
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 13
Description
A feature similar to CMake's FetchContent so that we can download and configure dependencies. Currently, a combination of http.download and zip.extract can do this but can we make this more convenient and allow configuration?
Or perhaps we can do such a thing:
project "GoogleTest"
kind "StaticLib"
url "https://github.com/google/googletest/archive/refs/tags/v1.15.2.tar.gz"
-- or url "https://github.com/google/googletest.git"
location "vendor"
files {
"vendor/googletest/googletest/src/gtest-all.cc",
"vendor/googletest/googletest/src/gtest_main.cc"
}
includedirs {
"vendor/googletest/googletest",
"vendor/googletest/googletest/include"
}
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the existing http.download and zip.extract entry points and compare their behavior with CMake's FetchContent. Define how project configuration should express archive or Git dependencies, their download location, and configuration options. Done means a convenient dependency workflow supports the examples described without requiring the current combination of commands.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- lua
- Domain
- build-system
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Active
- Clarity
- Needs clarification
- Newbie friendliness
- 42/100