Re: [CMake] Linking Behavior of Static Libraries on Windows

2007-03-22 Thread Sylvain Benner
LINK_DIRECTORIES is deprecated What do you mean by LINK_DIRECTORIES is deprecated ? As far as I know, in the documentation of this command it is not mentioned it is deprecated. Should I use another command instead of LINK_DIRECTORIES ? Thanks. --Sylvain __

[CMake] CVS cmake fails on paraview 3

2007-03-22 Thread John Biddiscombe
I wanted to use the latest LANGUAGE CXX/C from cmake cvs so I updated my tree, but ParaView3 fails to build on this 64 bit system. I didn't investigate the problem much, but adding file : ParaView3/VTK/Rendering/CMakeLists.txt /usr/X11R6/lib64/libXt.a /usr/X11R6/lib64/libSM.a /usr/X11R6/lib64/

Re: [CMake] CVS cmake fails on paraview 3

2007-03-22 Thread Bill Hoffman
John Biddiscombe wrote: I wanted to use the latest LANGUAGE CXX/C from cmake cvs so I updated my tree, but ParaView3 fails to build on this 64 bit system. I didn't investigate the problem much, but adding file : ParaView3/VTK/Rendering/CMakeLists.txt /usr/X11R6/lib64/libXt.a /usr/X11R6/lib64/l

Re: [CMake] CVS cmake fails on paraview 3

2007-03-22 Thread John Biddiscombe
>What is the value of X11_LIBRARIES which I assume should have all of that stuff you put in by hand? Empty John Biddiscombe wrote: I wanted to use the latest LANGUAGE CXX/C from cmake cvs so I updated my tree, but ParaView3 fails to build on this 64 bit system. I didn't investigate the probl

Re: [CMake] CVS cmake fails on paraview 3

2007-03-22 Thread Bill Hoffman
John Biddiscombe wrote: >What is the value of X11_LIBRARIES which I assume should have all of that stuff you put in by hand? Empty Well, that would be the problem. Can you run a simple cmake file on your machine. include(FindX11) Does it find X11? Also, did this work with other versions of

Re: [CMake] CVS cmake fails on paraview 3

2007-03-22 Thread John Biddiscombe
Does it find X11? Also, did this work with other versions of CMake, I just checked and the last time FindX11.cmake changed was 2006-04-17. The problem must be the 64 bit stuff. When you run cmake does it correctly determine the size of void*? Can you send me your cache? Yes the first t

Re: [CMake] CVS cmake fails on paraview 3

2007-03-22 Thread Bill Hoffman
John Biddiscombe wrote: Does it find X11? Also, did this work with other versions of CMake, I just checked and the last time FindX11.cmake changed was 2006-04-17. The problem must be the 64 bit stuff. When you run cmake does it correctly determine the size of void*? Can you send me y

[CMake] slow CMake performance configuring builds on remote SMB servers

2007-03-22 Thread Philip Lowman
Hi, We have somewhat of a large CMake project consisting of about 25 libraries. Configuring on Linux over NFS is a snap taking only a few seconds. Configuring on a local C:\ for the Windows build is also very fast only taking a few seconds. When we go to configure a build on a remote file

Re: [CMake] Linking Behavior of Static Libraries on Windows

2007-03-22 Thread bpwlist
I think this will work for what a need to do now, but it seems to be awful lot of work for something that should be pretty straight forward to do. Would it be worthwhile to rethink how CMake links static libraries under windows? Bryan Walsh Ben Ratzlaff <[EMAIL PROTECTED]> wrote: > Here

Re: [CMake] Linking Behavior of Static Libraries on Windows

2007-03-22 Thread bpwlist
err, actually this doesn't seem to work either. CMake doesn't seem to honor the LINK_FLAGS property when linking a statis library. Bryan [EMAIL PROTECTED] wrote: > I think this will work for what a need to do now, but it seems to be awful > lot of work for something that should be pretty

[CMake] cmake ignore files

2007-03-22 Thread Teodor Calin Hanchevici
Hi, I have some files that have to be built on a specific platform only. I know that I can define the sources using SET and IF, but I was wondering if there is a simpler option thank you calin ___ CMake mailing list CMake@cmake.org http://www.cmake.org/

Fwd: [CMake] Re: FindSDL.cmake and mingw / msys

2007-03-22 Thread PA Galmes
-- Forwarded message -- From: PA Galmes <[EMAIL PROTECTED]> Date: Mar 22, 2007 6:22 PM Subject: Re: [CMake] Re: FindSDL.cmake and mingw / msys To: "E. Wing" <[EMAIL PROTECTED]> Hi Eric, sorry for replying so late. On 3/13/07, E. Wing <[EMAIL PROTECTED]> wrote: > From: "PA Galm

Re: [CMake] Re: FindSDL.cmake and mingw / msys

2007-03-22 Thread PA Galmes
On 3/13/07, Werner Smekal <[EMAIL PROTECTED]> wrote: Hi Pierre, Hi Werner, okay, I looked at FindSDL.cmake more carefully. First I think you should make sure that SDL is actually found. You should have something like this in you cmakeLists.txt: find_package(SDL) if( NOT SDL_FOUND ) mess

[CMake] FreeBSD compile thinks its __APPLE_ in #ifdefs

2007-03-22 Thread Tim Sutton
Hi Im trying to help someone compile our software with cmake on FreeBSD. ccmake runs fine but during compile the following error occurs: # In file included from /home/psilotum/share/projects/libopenmodeller/openmodeller/src/openmodeller/Sample.cpp:5: # /usr/include/malloc.h:3:2: #error " has be

Re: [CMake] FreeBSD compile thinks its __APPLE_ in #ifdefs

2007-03-22 Thread Philip Lowman
Tim Sutton wrote: The code in question looks like this: 4 #ifdef __APPLE__ 5 #include 6 #endif So cmake has decided its an APPLE machine and is incorrectly entering this ifdef. Can any one point me to some notes on making things behave correctly on FreeBSD? I'd double check and make sure tha

Re: [CMake] Linking Behavior of Static Libraries on Windows

2007-03-22 Thread Filipe Sousa
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Sylvain Benner wrote: >> LINK_DIRECTORIES is deprecated >> >> > What do you mean by LINK_DIRECTORIES is deprecated ? My mistake. I meant LINK_LIBRARIES > As far as I know, in the documentation of this command it is not > mentioned it is deprecate

Re: [CMake] Linking Behavior of Static Libraries on Windows

2007-03-22 Thread Filipe Sousa
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 [EMAIL PROTECTED] wrote: > Part of my objection is that I want to limit how many in which libraries I > have to distribute. > > My project looks some thing like this: > > main_src/ > main_exe (depends on main_shared_library) > main_share

[CMake] No tests were found!!!

2007-03-22 Thread Ebner, Fritz (PAHV)
Hi. I have ctest running on an image processing application which runs natively on Linux x86, and also cross build (using cross compilers that run on a 'host' for a 'target' device) from x86 and test on target platforms. The Target platforms are x86, PPC7448 and PPC8541 so far. I run the same sc

[CMake] Cmake make clean

2007-03-22 Thread Mike Commeau
I'm having a problem with the "make clean". My intention was to add "ADDITIONAL_MAKE_CLEAN_FILES" to remove files that were not being removed during a make clean. I added the line in the cmake file. Ran cmake and then ran a make in the "UUID" directory. After running the make, I wanted to test to m

Re: [CMake] cmake ignore files

2007-03-22 Thread Eric Noulard
2007/3/22, Teodor Calin Hanchevici <[EMAIL PROTECTED]>: Hi, I have some files that have to be built on a specific platform only. I know that I can define the sources using SET and IF, but I was wondering if there is a simpler option I can't really think about something simpler than IF (CMAKE_S

Re: [CMake] FreeBSD compile thinks its __APPLE_ in #ifdefs

2007-03-22 Thread Bill Hoffman
Philip Lowman wrote: Tim Sutton wrote: The code in question looks like this: 4 #ifdef __APPLE__ 5 #include 6 #endif So cmake has decided its an APPLE machine and is incorrectly entering this ifdef. Can any one point me to some notes on making things behave correctly on FreeBSD? I'd double c

Re: [CMake] slow CMake performance configuring builds on remote SMB servers

2007-03-22 Thread Bill Hoffman
Philip Lowman wrote: Hi, We have somewhat of a large CMake project consisting of about 25 libraries. Configuring on Linux over NFS is a snap taking only a few seconds. Configuring on a local C:\ for the Windows build is also very fast only taking a few seconds. When we go to configure a b

Re: [CMake] Re: FindSDL.cmake and mingw / msys

2007-03-22 Thread E. Wing
And if I check all variables using the "show advanced values", SDL_LIBRARY is nowhere. The only other variable is SDL_LIBRARY_TEMP showing the value "SDL_LIBRARY_TEMP-NOT-FOUND". Any clue? Yeah, this is an artifact of how the script works. The quick answer is to set the SDL_LIBRARY_TEMP with yo

Re: [CMake] FreeBSD compile thinks its __APPLE_ in #ifdefs

2007-03-22 Thread E. Wing
Very weird. I've never had this problem myself when running on FreeBSD. I agree with Philip and make sure something isn't defining it somewhere in the code. Also make sure the person didn't generate the CMake stuff in Apple first, and then reboot or used a shared disk in FreeBSD and tried reusing

Re: [CMake] cmake ignore files

2007-03-22 Thread Eric Noulard
2007/3/22, Teodor Calin Hanchevici <[EMAIL PROTECTED]>: I have about 100 files, but 4 are windows specific, and 3 are linux specific When i try to build it picks all files. I wanted to know if there is a simpler way then listing all the files. for instance AUX_SOURCE_DIRECTORY(fileio FILO) IF (C

Re: [CMake] FreeBSD compile thinks its __APPLE_ in #ifdefs

2007-03-22 Thread Tim Sutton
Hi Yes I checked there was no -D__APPLE__ defined. I will try a simple hello world app as suggested in the first response... Regards Tim 2007/3/22, E. Wing <[EMAIL PROTECTED]>: Very weird. I've never had this problem myself when running on FreeBSD. I agree with Philip and make sure somethin

Re: [CMake] slow CMake performance configuring builds on remote SMB servers

2007-03-22 Thread Philip Lowman
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Bill Hoffman wrote: > Philip Lowman wrote: >> We have somewhat of a large CMake project consisting of about 25 >> libraries. Configuring on Linux over NFS is a snap taking only a few >> seconds. Configuring on a local C:\ for the Windows build is als