[CMake] intltool and cmake?

2008-01-13 Thread Christopher Lang
Hi, I am just converting a mid size autotools project to cmake. It works very nicely so far, but: there are all kinds of files that I need intltool for (.glade files etc.) so gettext alone will not do. Is there some example on how to integrate intltool cmake? Help is very much appreciated.

Re: [CMake] override CMAKE_COMMAND

2008-01-13 Thread Chen Levy
Solved. (Thanks to Bill Hoffman and Hans Rijneke) I have used my current installation as a bootstrap to compile the sources. I have used ccmake to change the CMAKE_CXX_FLGAS to be: -I/path/to/gcc/lib '-R$$ORIGIN/../lib' (see http://docs.sun.com/app/docs/doc/817-1984/6mhm7pl37?a=view) and then

Re: [CMake] cmake 2.4.8 RC 10

2008-01-13 Thread Benjamin Reed
On Jan 8, 2008 2:32 PM, Bill Hoffman [EMAIL PROTECTED] wrote: I have a new beta release for 2.4.8 ready for cmake. This will be the last release of the 2.4.X branch. The next release will be 2.6.0. So, please make sure you test it if you are interested in a 2.4.8. Send any issues to me or

Re: [CMake] intltool and cmake?

2008-01-13 Thread Brandon Van Every
On Jan 13, 2008 6:00 AM, Christopher Lang [EMAIL PROTECTED] wrote: Is there some example on how to integrate intltool cmake? I don't know if there's anything about intltool specifically; Google + the mailing list archives might tell you. Generally one uses add_custom_command. Cheers,

[CMake] Patch to apply! Changing the default name CMakeLists.txt!

2008-01-13 Thread Martin Lütken
Hi It's a long time since I said I might do this feature. But with the supplied patch it's now possible to use the option '--cmakelists-file-name' to specify another filename to look for instead of 'CMakeLists.txt'. I have a very good reason for needing this for a ambitios project, which

[CMake] Filter in VisualStudio projects

2008-01-13 Thread Anders Backman
Hi all. Is there a way to create/specify Filter (directories) in the VisualStudio projects? I would like to create a structure for the Source/Include (filters/Directories) in the VisualStudio project for clarity. Im using CMake 2.4 PAtch 7 and visualstudio 2005. Thanks.. --

Re: [CMake] Patch to apply! Changing the default name CMakeLists.txt!

2008-01-13 Thread Brandon Van Every
On Jan 13, 2008 12:13 PM, Martin Lütken [EMAIL PROTECTED] wrote: It's a long time since I said I might do this feature. But with the supplied patch it's now possible to use the option '--cmakelists-file-name' to specify another filename to look for instead of 'CMakeLists.txt'. Is a short

RE: [CMake] Patch to apply! Changing the default nameCMakeLists.txt!

2008-01-13 Thread Martin Lütken
It's fine by me to use -f and --file. And if thats what make does then there's even more reason to do so. Should I make that change and make a new patch ? Or if you can put it into cvs it's also fine by me if you make that search / replace. -Martin -Original Message- From: [EMAIL

RE: [CMake] Patch to apply! Changing the default nameCMakeLists.txt!

2008-01-13 Thread Martin Lütken
Ok heres a new patch using '-f' as the option! -Martin Lütken -Original Message- From: [EMAIL PROTECTED] on behalf of Brandon Van Every Sent: Sun 1/13/2008 6:57 PM To: cmake@cmake.org Subject: Re: [CMake] Patch to apply! Changing the default nameCMakeLists.txt! On Jan 13, 2008

Re: [CMake] Patch to apply! Changing the default nameCMakeLists.txt!

2008-01-13 Thread Brandon Van Every
On Jan 13, 2008 1:58 PM, Martin Lütken [EMAIL PROTECTED] wrote: Ok heres a new patch using '-f' as the option! Excellent, thanks! I could actually see a use for this, if it were available in a production version of CMake. The source tree I'm working on has multiple layers of Makefiles in

RE: [CMake] Patch to apply! Changing the default nameCMakeLists.txt!

2008-01-13 Thread Martin Lütken
That's great then. Do you know who to address in order to get the patch into the CVS code ? -Martin -Original Message- From: [EMAIL PROTECTED] on behalf of Brandon Van Every Sent: Sun 1/13/2008 8:38 PM To: cmake@cmake.org Subject: Re: [CMake] Patch to apply! Changing the default

Re: [CMake] Patch to apply! Changing the default nameCMakeLists.txt!

2008-01-13 Thread Bill Hoffman
Martin Lütken wrote: That's great then. Do you know who to address in order to get the patch into the CVS code ? Actually, what about something like this: # CMakeLists.txt INCLUDE(${CMAKE_CURRENT_SOURCE_DIR}/${CML_NAME}) cmake /path/to/proj -DCML_NAME:STRING=mycmake1.txt cmake

Re: [CMake] Filter in VisualStudio projects

2008-01-13 Thread Eric Noulard
2008/1/13, Anders Backman [EMAIL PROTECTED]: Hi all. Is there a way to create/specify Filter (directories) in the VisualStudio projects? I would like to create a structure for the Source/Include (filters/Directories) in the VisualStudio project for clarity. Does SOURCE_GROUP helps you:

Re: [CMake] Patch to apply! Changing the default nameCMakeLists.txt!

2008-01-13 Thread Brandon Van Every
On Jan 13, 2008 4:23 PM, Bill Hoffman [EMAIL PROTECTED] wrote: Martin Lütken wrote: That's great then. Do you know who to address in order to get the patch into the CVS code ? Actually, what about something like this: # CMakeLists.txt INCLUDE(${CMAKE_CURRENT_SOURCE_DIR}/${CML_NAME})

Re: [CMake] Patch to apply! Changing the default nameCMakeLists.txt!

2008-01-13 Thread Bill Hoffman
Brandon Van Every wrote: On Jan 13, 2008 4:23 PM, Bill Hoffman [EMAIL PROTECTED] wrote: Martin Lütken wrote: That's great then. Do you know who to address in order to get the patch into the CVS code ? Actually, what about something like this: # CMakeLists.txt

[CMake] Why is CMakeOutput.log created for one project but not another?

2008-01-13 Thread Christian Convey
Hi guys, Someone pointed out that when we cmake one of our projects, a file CMakeOutput.log and a directory CMakeTmp/ get created. It looks like they're being used to see if the function strcasecmp() works on this platform. But we have another project that this doesn't happen at all for, even

Re: [CMake] intltool and cmake?

2008-01-13 Thread Timothy M. Shead
On Sun, 2008-01-13 at 12:00 +0100, Christopher Lang wrote: Hi, I am just converting a mid size autotools project to cmake. It works very nicely so far, but: there are all kinds of files that I need intltool for (.glade files etc.) so gettext alone will not do. Is there some example on

Re: [CMake] Patch to apply! Changing the default nameCMakeLists.txt!

2008-01-13 Thread Brandon Van Every
On Jan 13, 2008 10:04 PM, Bill Hoffman [EMAIL PROTECTED] wrote: Many people will run CMake from a GUI and will not be giving a -f flag. With the patch there would be no way to build a project via one of the GUI's if it required changing the name of the file. cmakesetup and ccmake would also

Re: [CMake] Visual Studio Linker

2008-01-13 Thread Alex Demidenko
Hello, everyone! I have occur need to change Visual Studio linker ( link.exe) to some other external linker while build project by nmake. How i can do it by CMake? I have same question. Somebody know, how I can easy change linker? -- - With best