premake / premake/premake-core

importproject

Open
#1,001 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
3.6k
Forks
654
Avg merge
1d 1h
Merged PRs (30d)
13

Description

Already did a post for it ( #991 ), but I can't seem to re-open the issue. In any case I still believe this would be a great addition. I've done a stab at it at here, it works but some tests doesn't pass, my understanding of lua isn't good enough for me to easily be able to fix it sadly. Currently it's only tested on MSVC ( needed to change one line in sln2005.projects() to make sure it computes the correct path ). There's a small example here that roughly shows how we use it. I understand this take on it won't make it into the master branch, but might be interesting for others to have a look at.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing issue #991 and the linked premake-core attempt, especially tests/test_importproject.lua and the sln2005.projects() change described in the issue. Check which tests currently fail and whether the proposed importproject behavior is still wanted; done would require an agreed implementation that passes the relevant tests beyond the reported MSVC-only case.

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
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.