[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.dsdp.rtsc] Specifying src path in 'package.bld'

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