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 "

Re: [CMake] CMake Python support

2009-08-26 Thread Philip Lowman
On Wed, Aug 26, 2009 at 5:32 PM, Matt McCormick wrote: > Andreas Pakulat 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 > > > pyt

Re: [CMake] VS 2008 x64, Boost 1.39 - Can not find boost libraries

2009-08-26 Thread Philip Lowman
Mike, Sorry, I didn't realize you were using the CMake build for Boost. I wouldn't be surprised if there were issues with it as it's still experimental. You could report (both?) bugs to the boost-cmake list and/or try to reproduce with 1.40beta? http://lists.boost.org/mailman/listinfo.cgi/boost-

[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.txt"using read() and writ

Re: [CMake] CMake Python support

2009-08-26 Thread Matt McCormick
Andreas Pakulat 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 incompatibl

Re: [CMake] [New Module] FindCUDA

2009-08-26 Thread James Bigler
On Wed, Aug 26, 2009 at 2:36 PM, Luis Ibanez wrote: > On Tue, Aug 25, 2009 at 2:11 PM, James Bigler 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.

Re: [CMake] [New Module] FindCUDA

2009-08-26 Thread Luis Ibanez
On Tue, Aug 25, 2009 at 2:11 PM, James Bigler 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 control CUDA code

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 command

[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 t

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 www.kitware.

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 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 > and I end u

[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, the