That link more or less has it right. It is a planned 5.0 feature. @rgeary has
something working in his own branch; there is no official implementation in
Premake-dev at this time.
On Dec 27, 2012, at 6:32 PM, Anders Lindqvist <andersjakoblindqv...@gmail.com>
wrote:
> Hi,
>
> This is my first post and I'm very new to premake so please excuse me for my
> newbie question! I'm investigating it to see if premake would be a viable
> replacement to my own personal project generator. While I'm quite happy with
> it, it doesn't support as many platforms as it should and it could be a
> little more flexible as well.
>
> I'm very C++-centric and currently mostly on Visual Studio 2010/2012.
>
> The features that I have been unable to find in premake is related to more
> advanced dependencies between projects. Here is a list of the most useful
> features that I'm looking for:
>
> a) If a project depends on another project ("links" in premake-terminology?),
> it will inherit all "public" include directories / defines / flags etc. This
> should be recursive, following dependencies.
>
> b) Each project can define "private" include directories, defines, flags etc
> that is only applicable for that very project (not leaked).
>
> c) If a project A make a "private" dependency to project B (think
> "links-private") it means that the cpp-files of A needs the headers of B, but
> anyone else depending on A will not need it. Example would be a library that
> fully encapsulates and hides the usage of libpng.
>
> a) and b) are the most important ones.
> c) is mostly to make sure that you get compiler errors if you forget that you
> were supposed to encapsulate something.
>
> This is probably something that quite a few people come across and hopefully
> you can point my to a solution. Unfortunately google hasn't been able to do
> so yet... I think that what I'm after is partially described here:
> http://industriousone.com/topic/specifying-usage-requirements-eg-include-dir-link-library
> but I've been unable to understand if it is exactly what I'm after, and what
> state it is currently in.
>
> Cheers,
> Anders.
> ------------------------------------------------------------------------------
> Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
> MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
> with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
> MVPs and experts. ON SALE this month only -- learn more at:
> http://p.sf.net/sfu/learnmore_122712_______________________________________________
> Premake-users mailing list
> Premake-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/premake-users
------------------------------------------------------------------------------
Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and
much more. Get web development skills now with LearnDevNow -
350+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122812
_______________________________________________
Premake-users mailing list
Premake-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/premake-users