[CMake] Compilation error when compiling with apache httpd

2009-08-26 Thread Rajika Kumarasiri
hello everybody, I have this strange error. I have a apache module which I try to compile using CMake. I included the required httpd headers(using a varible pass using -D) and ran cmake. After that I try to run make and I end up with the following set of errors. I am not sure why this happens,

Re: [CMake] Compilation error when compiling with apache httpd

2009-08-26 Thread Cosmin Luță
On Wed, 26 Aug 2009 19:22:57 +0530 Rajika Kumarasiri raj...@wso2.com wrote: hello everybody, I have this strange error. I have a apache module which I try to compile using CMake. I included the required httpd headers(using a varible pass using -D) and ran cmake. After that I try to run make

Re: [CMake] add_custom_command using CMAKE_CXX_FLAGS

2009-08-26 Thread John Smith
On Aug 25, 2009, at 11:26 AM, Tyler Roscoe wrote: Michael and Marcel have already posted helpful follow-ups to the original question about compiling assembler files. The replies have been very helpful indeed, thanks! -J ___ Powered by

[CMake] How do I tell a program to link against the static version of a library if both static and shared are there.

2009-08-26 Thread kent williams
We use the Slicer Execution Model stuff from Slicer3 for command line processing. This lets Slicer3 load our programs as modules and generate user interface panels. This works really slick EXCEPT for this issue: the utility GenerateCLP which is needed to convert the command line description XML

Re: [CMake] How do I tell a program to link against the static version of a library if both static and shared are there.

2009-08-26 Thread Will Dicharry
kent williams wrote: We use the Slicer Execution Model stuff from Slicer3 for command line processing. This lets Slicer3 load our programs as modules and generate user interface panels. This works really slick EXCEPT for this issue: the utility GenerateCLP which is needed to convert the

Re: [CMake] [New Module] FindCUDA

2009-08-26 Thread Luis Ibanez
On Tue, Aug 25, 2009 at 2:11 PM, James Biglerjamesbig...@gmail.com wrote: This is code that is up for inclusion into the CMake Modules directory. FindCUDA does several things. 1. It locates all the build tools found in the NVIDIA CUDA toolkit and SDK. 2. It provides common options used to

Re: [CMake] [New Module] FindCUDA

2009-08-26 Thread James Bigler
On Wed, Aug 26, 2009 at 2:36 PM, Luis Ibanezluis.iba...@kitware.com wrote: On Tue, Aug 25, 2009 at 2:11 PM, James Biglerjamesbig...@gmail.com wrote: This is code that is up for inclusion into the CMake Modules directory. FindCUDA does several things. 1. It locates all the build tools found

Re: [CMake] CMake Python support

2009-08-26 Thread Matt McCormick
Andreas Pakulat ap...@... writes: On 19.08.09 08:34:26, Philip Lowman wrote: Speaking of the existing FindPython* scripts they do not support v3.0 yet. Is there a need to maintain support for picking 2.x if two versions of python are installed? As Py2 and Py3 are basically

[CMake] Compiled file cannot be executed

2009-08-26 Thread Swaroop Ramachandra
Hi, I'm trying to do the following in my CMake file: 1. Generate a xyz.txt file 2. Compile a generate.c file to give out a generate binary in my bin directory. 3. Execute the generate binary (The binary just reads contents of xyz.txt and creates a copy of xyz.txtusing read() and write()

Re: [CMake] CMake Python support

2009-08-26 Thread Philip Lowman
On Wed, Aug 26, 2009 at 5:32 PM, Matt McCormick m...@mmmccormick.comwrote: Andreas Pakulat ap...@... writes: On 19.08.09 08:34:26, Philip Lowman wrote: Speaking of the existing FindPython* scripts they do not support v3.0 yet. Is there a need to maintain support for picking 2.x if two

Re: [CMake] Compiled file cannot be executed

2009-08-26 Thread Michael Wild
On 27. Aug, 2009, at 0:58, Swaroop Ramachandra wrote: Hi, I'm trying to do the following in my CMake file: 1. Generate a xyz.txt file 2. Compile a generate.c file to give out a generate binary in my bin directory. 3. Execute the generate binary (The binary just reads contents of xyz.txt