When using -brtl, libtool creates shared libraries on AIX with:
$ nm -BCpg [object files] | awk '{
if ((($2 == "T") || ($2 == "D") ||
($2 == "B")) && (substr($3,1,1) != ".")) {
print $3
} }' | sort -u > lib.exp
$ xlc -o [shared library] [object files] ... \
-Wl,-brtl -Wl,-blibpath:/usr/l
On Wed, Sep 19, 2007 at 12:24:20PM -0500, Albert Chin wrote:
> Modules/Platform/HP-UX.cmake has:
> SET(CMAKE_SHARED_LIBRARY_SUFFIX ".sl")
> SET(CMAKE_FIND_LIBRARY_SUFFIXES ".sl" ".so" ".a")
>
> On HP-UX/PA, shared libraries end in ".sl". On HP-UX/IA, they can end
> in ".sl" or ".so", with ".so
Modules/Platform/HP-UX.cmake has:
SET(CMAKE_SHARED_LIBRARY_SUFFIX ".sl")
SET(CMAKE_FIND_LIBRARY_SUFFIXES ".sl" ".so" ".a")
On HP-UX/PA, shared libraries end in ".sl". On HP-UX/IA, they can end
in ".sl" or ".so", with ".so" being preferred. So, for HP-UX/IA, the
above should be:
SET(CMAKE_SHA
On 9/18/07, Goswin von Brederlow <[EMAIL PROTECTED]> wrote:
> "Brandon Van Every" <[EMAIL PROTECTED]> writes:
> >
> > I just got done telling all you guys how to reuse objects in a
> > platform independent manner. And it's in the FAQ now for handy
> > reference.
>
> Problems arise when you have to
On 9/18/07, Juan Sanchez <[EMAIL PROTECTED]> wrote:
> Hello Brandon,
>
> How do you create the final archive without the ar command?
The FAQ points at feature request #5155 where this is explained. If
the explanation given is not clear, let me know.
Cheers,
Brandon Van Every
Hello,
I just picked this thread up after doing a search on the list,
triggered by an automated message sent from mantis (since I was
monitoring a related bug).
I just wanted to make note that (as co-author and maintainer of the
module) I have been looking at the FindwxWidgets script and plan to
Christian Ehrlicher wrote:
Von: Bill Hoffman <[EMAIL PROTECTED]>
Christian Ehrlicher wrote:
We use this approach
FIND_LIBRARY(kdewin32 KDEWIN32LIB)
FIND_LIBRARY(kdwin32_d KDEWIN32LIB_D)
if(KDEWIN32LIB and KDEWIN32LIB_D)
set(KDEWIN32_LIBRARY optimized ... debug ...)
... che
Christian Ehrlicher wrote:
Hi,
For now cmake has the option to set a debug postifx for debug libs/executables
by one simple command:
set(CMAKE_DEBUG_POSTFIX "_d")
It would be nice to extend FIND_LIBRARY in a way that its possible to give that
debug postfix so avoid code duplication everywher
On 19.09.07 08:32:22, Bill Hoffman wrote:
> Andreas Pakulat wrote:
> >Hi,
> >
> >yesterday I noticed that the Debug buildtype has the same problems as
> >the --enable-debug option in autohell. Its not possible to properly
> >debug an application that has been built with CMAKE_BUILD_TYPE=Debug.
> >A
> Von: Bill Hoffman <[EMAIL PROTECTED]>
> Christian Ehrlicher wrote:
> >
> >>
> > We use this approach
> > FIND_LIBRARY(kdewin32 KDEWIN32LIB)
> > FIND_LIBRARY(kdwin32_d KDEWIN32LIB_D)
> > if(KDEWIN32LIB and KDEWIN32LIB_D)
> > set(KDEWIN32_LIBRARY optimized ... debug ...)
> > ... checking a
Hi Alexander,
> > 1. this looks strange to me
> >
> >
> >
> >
> >
> > 2. ???
>
> Do the two points above give you any problems in kdevelop or are they
> just "looking strange" if you inspect the project file directly ?
>
Yap. They look strange if you inspec
Christian Ehrlicher wrote:
We use this approach
FIND_LIBRARY(kdewin32 KDEWIN32LIB)
FIND_LIBRARY(kdwin32_d KDEWIN32LIB_D)
if(KDEWIN32LIB and KDEWIN32LIB_D)
set(KDEWIN32_LIBRARY optimized ... debug ...)
... checking all three possibilities
target_link_libraries(foo KDEWIN32_LIBRARY)
Bu
> Von: Bill Hoffman
> Betreff: Re: [CMake] Extend FIND_LIBRARY to properly recognize debug libs
> Christian Ehrlicher wrote:
> > Hi,
> >
> > For now cmake has the option to set a debug postifx for debug
> libs/executables by one simple command:
> >
> > set(CMAKE_DEBUG_POSTFIX "_d")
> >
> > It woul
On Wed, September 19, 2007 14:32, Bill Hoffman wrote:
> Andreas Pakulat wrote:
>> Hi,
>>
>> yesterday I noticed that the Debug buildtype has the same problems as
>> the --enable-debug option in autohell. Its not possible to properly
>> debug an application that has been built with CMAKE_BUILD_TYPE=
Andreas Pakulat wrote:
Hi,
yesterday I noticed that the Debug buildtype has the same problems as
the --enable-debug option in autohell. Its not possible to properly
debug an application that has been built with CMAKE_BUILD_TYPE=Debug.
At least not with Unix Makefile's (possibly the same applies
Hi all.
I have a question about library dependencies in cmake projects on linux.
Let's see an example:
PROJECT ( foo )
ADD_EXECUTABLE ( foo_bin foo.cpp )
TARGET_LINK_LIBRARIES ( foo_bin ssl )
When I am building a project by "make" command, it produces output like this:
Scanning dependencies of
Dear All,
I can copy files from one place to another by using the install command.
I want to copy a folder by giving the command install, But I could not find
out the solution.
Please help me how to do that.
Regards,
Manoj
___
CMake mailing
Dear All,
I can copy files from one place to another by using the install command.
I want to copy a folder by giving the command install, But I could not find
out the solution.
Please help me how to do that.
Regards,
Manoj
___
CMake mailing
Hi,
yesterday I noticed that the Debug buildtype has the same problems as
the --enable-debug option in autohell. Its not possible to properly
debug an application that has been built with CMAKE_BUILD_TYPE=Debug.
At least not with Unix Makefile's (possibly the same applies to MinGW
Makefile's but I
19 matches
Mail list logo