[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.dsdp.rtsc] Specifying src path in 'package.bld'
|
- From: specker@xxxxxx (sgspecker )
- Date: Wed, 22 Jul 2009 10:22:20 +0000 (UTC)
- Newsgroups: eclipse.dsdp.rtsc
- Organization: Eclipse
- User-agent: NewsPortal/0.36 (http://florian-amrhein.de/newsportal)
I can't figure out where I'm going wrong. I'm creating a fairly simple
'package.bld' file to build a codec library on a Windows PC. Here's a
short clip from my .bld file:
----------------------------------------------------------
var csources = ["myalg_ialg.c", "myalg_tto_ialgvt.c"];
var profiles = ["debug", "release"];
for each (var targ in Build.targets) {
for each (var prof in profiles) {
var progName = "myalg_" + prof;
Pkg.addLibrary( progName,
targ,
{profile : prof}
).addObjects( csources );
}
}
------------------------------------------------------------
What is shown seems to work fine. Also, if I change a source file to
"src/myalg_tto_ialg.c", that seems to work fine, too.
The problem begins when I try to reference a source file elsewhere in my
system. All of these following examples seem to fail:
"../myalg_tto_ialg.c"
"m:/another_directory/myalg_tto_ialg.c"
"m:\another_directory\myalg_tto_ialg.c"
"m:\\another_directory\\myalg_tto_ialg.c"
Is there a trick that I'm missing? Any suggestions?
Thanks,
Scott