[CMake] Patch for IF documentation.

2006-06-09 Thread Miguel A. Figueroa-Villanueva
I think the following documentation for the IF command: IF(variable1 OR variable2) True if either variable would be considered true individually. IF(COMMAND command-name) True if the given name is a file or directory. IF(EXISTS file-name) IF(EXISTS

Re: [CMake] newbie trying to run CMake example on WinXP with free toolkit 2003

2006-06-09 Thread William A. Hoffman
At 08:35 PM 6/9/2006, jecxz wrote: >I am trying on CMake and after downloading and installing it on my WinXP >system, I'm now trying to use the Hello/Demo example using the MS free >C++ toolkit 2003. I have used this kit now for quite a while, so I'm >confident it is all installed and working. > >I

[CMake] newbie trying to run CMake example on WinXP with free toolkit 2003

2006-06-09 Thread jecxz
I am trying on CMake and after downloading and installing it on my WinXP system, I'm now trying to use the Hello/Demo example using the MS free C++ toolkit 2003. I have used this kit now for quite a while, so I'm confident it is all installed and working. In the main example dir I have run Cmakes

Re: [CMake] Replacing -L with -l

2006-06-09 Thread William A. Hoffman
At 01:16 PM 6/9/2006, Jorgen Bodde wrote: >Thanks Bill! One more thing, on the sun we had to do this SET(CMAKE_DL_LIBS "-Bdynamic -ldl -Bstatic") Because -ldl can not be linked static. >By the way is it true that Cmake is adopted by the KDE development team? That >is good news! Yes, it is true

Re: [CMake] Replacing -L with -l

2006-06-09 Thread Jorgen Bodde
Thanks Bill! By the way is it true that Cmake is adopted by the KDE development team? That is good news! - Jorgen William A. Hoffman wrote: At 12:50 PM 6/9/2006, Jorgen Bodde wrote: Hi Philip, Thanks for the info. The problem is that wx-config outputs a whole lot of flags including the /u

Re: [CMake] Replacing -L with -l

2006-06-09 Thread William A. Hoffman
At 12:50 PM 6/9/2006, Jorgen Bodde wrote: >Hi Philip, > >Thanks for the info. The problem is that wx-config outputs a whole lot of >flags including the /usr/lib .. /usr/lib contains a lot of libs I need so I >think I will have to make shortcuts to them all .. > >But, it sounds doable! Thanks! > >

Re: [CMake] Replacing -L with -l

2006-06-09 Thread Jorgen Bodde
Hi Philip, Thanks for the info. The problem is that wx-config outputs a whole lot of flags including the /usr/lib .. /usr/lib contains a lot of libs I need so I think I will have to make shortcuts to them all .. But, it sounds doable! Thanks! - Jorgen Phillip Hellewell wrote: On 6/9/06, *Jo

Re: [CMake] Replacing -L with -l

2006-06-09 Thread Phillip Hellewell
On 6/9/06, Jorgen Bodde <[EMAIL PROTECTED]> wrote: Hi Alex,Thank you for your reply. I want to statically link as much libs aspossible (especially wxGTK2.6.3) .. The reason is that my app needs todistributed. When I have wxGTK2.6.1 installed in /usr/lib it always takes those instead of my own absol

Re: [CMake] Replacing -L with -l

2006-06-09 Thread Jorgen Bodde
Hi Alex, Thank you for your reply. I want to statically link as much libs as possible (especially wxGTK2.6.3) .. The reason is that my app needs to distributed. When I have wxGTK2.6.1 installed in /usr/lib it always takes those instead of my own absolute path. I do not really mind if it is p

Re: [CMake] Replacing -L with -l

2006-06-09 Thread Alexander Neundorf
> Von: Jorgen Bodde <[EMAIL PROTECTED]> >  > Hi all, > > Is there any feature in CMake (Linux / Suse 10) that replaces e.g. > > /home/jorg/src/scintilla/lib/libscintilla.a > > in TARGET_LINK_LIBRARIES with > > -L/home/jorg/src/scintilla/lib/ and -lscintilla ? Yes. > If so how can I disa

[CMake] Replacing -L with -l

2006-06-09 Thread Jorgen Bodde
Hi all, Is there any feature in CMake (Linux / Suse 10) that replaces e.g. /home/jorg/src/scintilla/lib/libscintilla.a in TARGET_LINK_LIBRARIES with -L/home/jorg/src/scintilla/lib/ and -lscintilla ? If so how can I disable this? The reason is that if the latter notation is used, and a scri

Re: [CMake] Re: bug ADD_DEFINITIONS

2006-06-09 Thread Peter Kümmel
Jan Woetzel wrote: > Peter Kümmel wrote: > > SET_SOURCE_FILES_PROPERTIES( ${FN2} PROPERTIES COMPILE_FLAGS > >>> By the way, >>> ADD_DEFINTIONS has another bug in Visual Studio 7.1 generator, >>> see my bug report 3354 >>> >>> Example: >>> ADD_DEFINTIONS( -foo ) >>> adds >>> /D "-fo

Re: [CMake] Re: bug ADD_DEFINITIONS

2006-06-09 Thread Jan Woetzel
Peter Kümmel wrote: SET_SOURCE_FILES_PROPERTIES( ${FN2} PROPERTIES COMPILE_FLAGS By the way, ADD_DEFINTIONS has another bug in Visual Studio 7.1 generator, see my bug report 3354 Example: ADD_DEFINTIONS( -foo ) adds /D "-foo" instead of -foo S