Re: [CMake] Execute_process with wildcard characters

2007-08-01 Thread Philippe Fremy
Bill Hoffman wrote: FILE(GLOB_RECURSE variable [RELATIVE path]) FILE(REMOVE [file1 ...]) While we are on this topic, I found something missing from the FILE command: the ability to rename a file or a directory. I need just this for one of my programs and it's missing. I tried to add it as a

Re: [CMake] Patch to FindBoost.cmake.

2007-08-01 Thread Andreas Schneider
Andreas Pakulat wrote: On 31.07.07 15:11:33, Mike Jackson wrote: I had my own home grown FindBoost.cmake that I have been using but I wanted to start using someone elses in the hopes that it would get put into the cmake distribution.. I was looking at the above FindBoost.cmake and the

[CMake] merging autotool project and qt project

2007-08-01 Thread Eric Noulard
Did forget to cc the list... -- Forwarded message -- From: Eric Noulard [EMAIL PROTECTED] Date: 1 août 2007 08:48 Subject: Re: [CMake] merging autotool project and qt project To: Marie-Christine Vallet [EMAIL PROTECTED] 2007/7/31, Marie-Christine Vallet [EMAIL PROTECTED]: Qt:

[CMake] Project and specific variables

2007-08-01 Thread Alexander.Camek
Hi List, I had a discussion last time and the topic of the discussion was following: When you use PROJECT, you normally get the two variablse PROJECT_NAME_SOURCE_DIR and PROJECT_NAME_BINARY_DIR. As I got informed these both varibales are only used for backward compatibility and shall not be

Re: [CMake] Patch to FindBoost.cmake.

2007-08-01 Thread Miguel A. Figueroa-Villanueva
On 8/1/07, Andreas Schneider [EMAIL PROTECTED] wrote: Andreas Pakulat wrote: On 31.07.07 15:11:33, Mike Jackson wrote: I had my own home grown FindBoost.cmake that I have been using but I wanted to start using someone elses in the hopes that it would get put into the cmake

Re: [CMake] *Updated* Eclipse CDT4 CMake Generator - Pre-Alpha version

2007-08-01 Thread Miguel A. Figueroa-Villanueva
Update patch and source. On 7/31/07, Alexander Neundorf wrote: On Tuesday 31 July 2007 15:40, you wrote: On 7/31/07, Alexander Neundorf wrote: From the header: enum ToolChainType { OTHER, LINUX, CYGWIN, MINGW, SOLARIS, MACOSX }; I would prefer more specific names, e.g. prefixing them

Re: [CMake] Eclipse CDT4 CMake Generator - Pre-Alpha version

2007-08-01 Thread Eric Noulard
2007/7/31, Miguel A. Figueroa-Villanueva [EMAIL PROTECTED]: Attached is the file. I changed some variable names and other minor things, but I'm not certain it follows all the coding standards. I leave that to your inspection, although please point out whatever you find that you needed to fix

RE: [CMake] cmake support Eclipse

2007-08-01 Thread Iain Hull
I also think that Cmake, Ant and Eclipse are complementary. Each does an excellent job for what it is designed to do. I would extend Mikes list of features for Cmake eclipse integration: 1) CMakeErrorParser: This would add cmake build errors to the Problem view in eclipse. This means that

Re: [CMake] *Updated* Eclipse CDT4 CMake Generator - Pre-Alpha version

2007-08-01 Thread Eric Noulard
2007/8/1, Miguel A. Figueroa-Villanueva [EMAIL PROTECTED]: Update patch and source. May be you can upload your patch on the Wiki when you update it? http://www.cmake.org/Wiki/Eclipse_CDT4_Generator_Development -- Erk ___ CMake mailing list

RE: [CMake] cmake support Eclipse

2007-08-01 Thread Iain Hull
1) CMakeErrorParser... I have a created a proof of concept plugin for this however I currently do not have time to finish it. If anyone is interested in looking at the code to do this send me an email and I will forward it on. I am looking at the CMake Editor Plug-in. now and will submit my

Re: [CMake] Eclipse CDT4 CMake Generator - Pre-Alpha version

2007-08-01 Thread Eric Noulard
2007/8/1, Eric Noulard [EMAIL PROTECTED]: 2007/7/31, Miguel A. Figueroa-Villanueva [EMAIL PROTECTED]: Attached is the file. I changed some variable names and other minor things, but I'm not certain it follows all the coding standards. I leave that to your inspection, although please point

Re: [CMake] Eclipse CDT4 CMake Generator - Pre-Alpha version

2007-08-01 Thread Miguel A. Figueroa-Villanueva
On 8/1/07, Eric Noulard wrote: 2007/7/31, Miguel A. Figueroa-Villanueva: Attached is the file. I changed some variable names and other minor things, but I'm not certain it follows all the coding standards. I leave that to your inspection, although please point out whatever you find that

Re: [CMake] *Updated* Eclipse CDT4 CMake Generator - Pre-Alpha version

2007-08-01 Thread Miguel A. Figueroa-Villanueva
On 7/31/07, Bill Hoffman wrote: Alexander Neundorf wrote: I did run into the following annoyance, but it is rather another topic. When I compile the CMake code in Eclipse using the cygwin tools, then the resulting Eclipse project files are broken. This is due to the fact that it creates

Re: [CMake] Eclipse CDT4 CMake Generator - Pre-Alpha version

2007-08-01 Thread Miguel A. Figueroa-Villanueva
On 8/1/07, Eric Noulard wrote: 2007/8/1, Eric Noulard : 2007/7/31, Miguel A. Figueroa-Villanueva : I have somes remarks: 1) The referred sources for the build are a cvs checkout but they do not appear as such in Eclipse, i.e. the Team menu is not enabled. :(( May be the CVS

[CMake] Windows registry

2007-08-01 Thread Berardino la Torre
Trying to read an installation path from the windows registry: SET(FBXSDK_ROOT_PATH [HKEY_LOCAL_MACHINE\\SOFTWARE\\FBX\\File SDK 2006.11.1;Install_Dir] CACHE PATH FBX) and then using the variable FBXSDK_ROOT_PATH to setup the include and lib directories. INCLUDE_DIRECTORIES(

Re: [CMake] Eclipse CDT4 CMake Generator - Pre-Alpha version

2007-08-01 Thread Alexander Neundorf
On Wednesday 01 August 2007 07:56, Miguel A. Figueroa-Villanueva wrote: On 8/1/07, Eric Noulard wrote: ... I've tried to manually activate Team menu on this particular folder but I am still unable to do it without Sharing the whole project which is definitely not what I want since

Re: [CMake] Eclipse CDT4 CMake Generator - Pre-Alpha version

2007-08-01 Thread Alexander Neundorf
On Tuesday 31 July 2007 17:09, Miguel A. Figueroa-Villanueva wrote: Hello Mike, ... So, to work my way around this CDT limitation what I did was that, for each project, I create a linked resource in the .project file. So, that the following CMake structure: PROJECT(foo) sub1/PROJECT(P1)

Re: [CMake] Project and specific variables

2007-08-01 Thread Bill Hoffman
[EMAIL PROTECTED] wrote: Hi List, I had a discussion last time and the topic of the discussion was following: When you use PROJECT, you normally get the two variablse PROJECT_NAME_SOURCE_DIR and PROJECT_NAME_BINARY_DIR. As I got informed these both varibales are only used for backward

Re: [CMake] *Updated* Eclipse CDT4 CMake Generator - Pre-Alpha version

2007-08-01 Thread Alexander Neundorf
On Wednesday 01 August 2007 04:12, Miguel A. Figueroa-Villanueva wrote: Update patch and source. I committed it to cvs with only minor cosmetical changes. Thanks Alex ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake

RE: [CMake] Project and specific variables

2007-08-01 Thread Alexander.Camek
Hi Bill, Hi List, I had a discussion last time and the topic of the discussion was following: When you use PROJECT, you normally get the two variables PROJECT_NAME_SOURCE_DIR and PROJECT_NAME_BINARY_DIR. As I got informed these both variables are only used for backward

Re: [CMake] Eclipse CDT4 CMake Generator - Pre-Alpha version

2007-08-01 Thread Eric Noulard
2007/8/1, Alexander Neundorf [EMAIL PROTECTED]: On Wednesday 01 August 2007 07:56, Miguel A. Figueroa-Villanueva wrote: On 8/1/07, Eric Noulard wrote: ... I've tried to manually activate Team menu on this particular folder but I am still unable to do it without Sharing the whole

[CMake] Re: Finding FLTK?

2007-08-01 Thread Christian Convey
On 8/1/07, Christian Convey [EMAIL PROTECTED] wrote: I'm using FindFLTK, and I seem to need to specify, on my own: FLTK_INCLUDE_DIR=/usr/include/FL In fact, I can even get it to work when I just specify: FLTK_INCLUDE_DIR=/usr/include which sounds even more ridiculous to need to do.

Re: [CMake] Project and specific variables

2007-08-01 Thread Alan W. Irwin
On 2007-08-01 08:45-0400 Bill Hoffman wrote: [EMAIL PROTECTED] wrote: Hi List, I had a discussion last time and the topic of the discussion was following: When you use PROJECT, you normally get the two variablse PROJECT_NAME_SOURCE_DIR and PROJECT_NAME_BINARY_DIR. As I got informed these

[CMake] fill-paragraph command in emacs for comments using cmake-mode.el

2007-08-01 Thread James Bigler
One of the features I like to use in emacs is the fill-paragraph command (usually run with M-q). For different modes this can do different things. For source files, when you run the command on a comment region, this has the effect of reorganizing a multi-line comment to make it look pretty.

[CMake] Trouble finding X11 libs on CentOS system

2007-08-01 Thread David Flitney
I've been trying to build a project on CentOS 5 which includes Qt and VTK elements and despite the configuration discovering X11 in the correct place: /usr/lib/X11 the build always fails with: ... No rule to make target `/usr/X11R6/lib/libX11.so' ... The build.make file contains

Re: [CMake] install() and EXCLUDE_FROM_ALL issue

2007-08-01 Thread Alexandru Ciobanu
Hi! Another observation I have is that the file cmake_install.cmake is generated correctly, it does not include the test/ directory. So I am inclined to think that normally make install should not ckeck the targets in test/. I've found a workaround in one Alexander Neundorf's posts. The idea

Re: [CMake] install() and EXCLUDE_FROM_ALL issue

2007-08-01 Thread Brandon Van Every
On 8/1/07, Alexandru Ciobanu [EMAIL PROTECTED] wrote: Hi! Given the following simple setup: add_subdirectory ( lib ) add_subdirectory ( tests EXCLUDE_FROM_ALL ) When I run make it correctly builds only the lib. When I run make install it checks for the presence of *all* the

Re: [CMake] install() and EXCLUDE_FROM_ALL issue

2007-08-01 Thread Brandon Van Every
Well this is sounding like a bug. You checked the bug tracker? You have a trivial reproducer? Cheers, Brandon Van Every On 8/1/07, Alexandru Ciobanu [EMAIL PROTECTED] wrote: Hi! Another observation I have is that the file cmake_install.cmake is generated correctly, it does not include the

Re: [CMake] install() and EXCLUDE_FROM_ALL issue ( reconfirmed in 2.4.7 )

2007-08-01 Thread Alexandru Ciobanu
Hi! Please ignore my last message. According to bug 3100 info, this should have been fixed after 2.2.3. I have just reproduced it with 2.4.7. Check the attached test case. Here are the steps to reproduce: 1. cd build 2. cmake .. 3. make ... will build only the lilbrary... 4. make

Re: [CMake] install() and EXCLUDE_FROM_ALL issue

2007-08-01 Thread Alexandru Ciobanu
Hi Brandon, This is my bad. This seems to have been solved in 2.4.7: http://www.cmake.org/Bug/bug.php?op=showbugid=3100 Alex Ciobanu Brandon Van Every wrote: Well this is sounding like a bug. You checked the bug tracker? You have a trivial reproducer? Cheers, Brandon Van Every On

[CMake] get includes

2007-08-01 Thread Juan Sanchez
Is it possible to get the include paths from ADD_DIRECTORIES into a custom command? I need to pass along the include path for a special swig invocation. Regards, Juan -- Juan Sanchez [EMAIL PROTECTED] 800-538-8450 Ext. 54395 512-602-4395 ___ CMake

Re: [CMake] *Patch* fill-paragraph command in emacs for comments using cmake-mode.el

2007-08-01 Thread Miguel A. Figueroa-Villanueva
On 8/1/07, James Bigler wrote: One of the features I like to use in emacs is the fill-paragraph command (usually run with M-q). For different modes this can do different things. For source files, when you run the command on a comment region, this has the effect of reorganizing a

Re: [CMake] install() and EXCLUDE_FROM_ALL issue ( reconfirmed in 2.4.7 )

2007-08-01 Thread Brandon Van Every
On 8/1/07, Alexandru Ciobanu [EMAIL PROTECTED] wrote: Hi! Please ignore my last message. According to bug 3100 info, this should have been fixed after 2.2.3. I have just reproduced it with 2.4.7. Check the attached test case. Here are the steps to reproduce: 1. cd build 2. cmake ..