From: sjw <simon.j.wright@mac.com>
Subject: Re: Shared library project
Date: Wed, 2 Jun 2010 05:02:41 -0700 (PDT)
Date: 2010-06-02T05:02:41-07:00 [thread overview]
Message-ID: <cd8b9c26-6598-471b-9710-a602b099d0e4@f14g2000vbn.googlegroups.com> (raw)
In-Reply-To: c4de33a1-b18e-404c-8e39-e8b862c1d1d5@o4g2000vbo.googlegroups.com
On Jun 2, 12:09 pm, AndreiK <andrei.krivos...@gmail.com> wrote:
> The "X" project file is:
In general, different compiler options (eg -fpic) are needed when
compiling a shared library; so your CPP_AdFilters project might use
the wrong options.
Each project (that actually has source in it) needs to have its own
Object_Dir, I think yours may be the same? (I'm not familiar with
"project'Object_Dir" used like this, does it mean the current
directory? -- yes, nice!)
you might consider just exporting variables:
in CPP_AdFilters,
Source_Dirs := project'Source_Dirs & "./src";
for Source_Dirs use ();
in Cpp_BI_SSLL_DLL,
for Source_Dirs use project'Source_Dirs & "./src" &
CPP_AdFilters.Source_Dirs;
(not sure about the bracketing there).
prev parent reply other threads:[~2010-06-02 12:02 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-06-02 11:05 Shared library project AndreiK
2010-06-02 11:09 ` AndreiK
2010-06-02 11:46 ` Yannick Duchêne (Hibou57)
2010-06-09 11:33 ` AndreiK
2010-06-09 14:24 ` Yannick Duchêne (Hibou57)
2010-06-10 5:10 ` AdaMagica
2010-06-10 12:50 ` Andrei Krivoshei
2010-06-10 13:04 ` Yannick Duchêne (Hibou57)
2010-06-10 19:53 ` Simon Wright
2010-06-10 13:48 ` Dmitry A. Kazakov
2010-06-02 12:02 ` sjw [this message]
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox