Building particular apps/directories

18 views
Skip to first unread message

Garrett Smith

unread,
Jan 24, 2010, 12:28:40 PM1/24/10
to Erlware Questions
I'm trying to build one application within the libs dir of a sinan
generated project. sinan is trying to compile everything.

Is there a way to have sinan build from a particular directory down?

Garrett

Martin Logan

unread,
Jan 24, 2010, 2:01:58 PM1/24/10
to erlware-...@googlegroups.com
That would be nice - and right now I don't think it is possible.
Yesterday I was running into the same problem and I was thinking that
one way to have it happen woudl be that if you are in an application
taht sinan would recognize it and build only that application. If you
are are outside of an app sinan would build the whole tree. Basically
sinan would regress from the current directory until it recognizes
where it is and then it would build. That seems to me to be the most
straightforward solution.

> --
> You received this message because you are subscribed to the Google Groups "erlware-questions" group.
> To post to this group, send email to erlware-...@googlegroups.com.
> To unsubscribe from this group, send email to erlware-questi...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/erlware-questions?hl=en.
>
>

Eric Merritt

unread,
Jan 24, 2010, 3:19:28 PM1/24/10
to erlware-...@googlegroups.com
That would work a long as you don't have any dependencies in any of
the other directories. Just out of curiosity whats the source of the
need? That should allow me to understand whats underlaying the request
better.

Garrett Smith

unread,
Jan 24, 2010, 4:49:49 PM1/24/10
to erlware-...@googlegroups.com
I might have mucked around with another app and am not interested in
compiling it.

Naturally, if there's a dependency on another project at runtime, all
bets are off. But to compile, I should be able to use the dependency
feature of sinan to reference required include dir without those apps
being compiled -- assuming I'm, e.g. a subdir.

This is common pattern/workflow in makefile based builds.

Garrett Smith

unread,
Jan 24, 2010, 2:19:05 PM1/24/10
to erlware-...@googlegroups.com
I'll play around with copying/modifying the _build.cfg into the app subdir.

On Sun, Jan 24, 2010 at 1:01 PM, Martin Logan <martin...@gmail.com> wrote:

Reply all
Reply to author
Forward
0 new messages