Re: [CMake] CPack: seg fault / cygwin / make package_source

2008-03-12 Thread Bill Hoffman
Bill Hoffman wrote: I am working on a fix, but the missing variable in your cpack source config file is this: CPACK_CYGWIN_PATCH_NUMBER -Bill Fix checked in: /cvsroot/CMake/CMake/CMakeCPackOptions.cmake.in,v <-- CMakeCPackOptions.cmake.in new revision: 1.8; previous revision: 1.7 /cvsr

Re: [CMake] CPack: seg fault / cygwin / make package_source

2008-03-12 Thread Bill Hoffman
I am working on a fix, but the missing variable in your cpack source config file is this: CPACK_CYGWIN_PATCH_NUMBER -Bill ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake

Re: [CMake] Attaching cmake commands to a custom target

2008-03-12 Thread Kaleb Pederson
Perfect, thanks! --Kaleb On Wed, Mar 12, 2008 at 1:29 PM, Andy Lego <[EMAIL PROTECTED]> wrote: > Hi, > > Just create another CMake file that has your command in it. Then execute it: > > FILE(WRITE "${CMAKE_CURRENT_BINARY_DIR}/myfile.cmake" > > "FILE(GLOB_RECURSE HEADERS ${SRCDIR}/*.h) > MESSAG

Re: [CMake] Attaching cmake commands to a custom target

2008-03-12 Thread Andy Lego
Hi, Just create another CMake file that has your command in it. Then execute it: FILE(WRITE "${CMAKE_CURRENT_BINARY_DIR}/myfile.cmake" "FILE(GLOB_RECURSE HEADERS ${SRCDIR}/*.h) MESSAGE(STATUS "Header files being processed: ${HEADERS}") ... MESSAGE(STATUS "Done processing...")") ADD_CUSTOM_TARG

[CMake] Attaching cmake commands to a custom target

2008-03-12 Thread Kaleb Pederson
If I have a custom target, how can I attach a set of cmake commands to it? For example, if I have a target: ADD_CUSTOM_TARGET( docs COMMAND ${DOXYGEN_EXECUTABLE} ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile DEPENDS ${PROJECT_SOURCE_DIR}/Doxyfile ) And I want to run the following set of c

Re: [CMake] Somehow making life easier with wxWidgets ...

2008-03-12 Thread Miguel A. Figueroa-Villanueva
On Wed, Mar 12, 2008 at 5:02 AM, Jorgen Bodde wrote: > I have succesfully converted my source to use the latest find script. > I have to say, GOD JOB! I wasn't expecting this level of flexibilityof > the script. I didn't have to add anything whiel configuring. Simply > configure and go! I'm gl

Re: [CMake] CPack: seg fault / cygwin / make package_source

2008-03-12 Thread Mathieu Malaterre
On Wed, Mar 12, 2008 at 8:32 PM, Mathieu Malaterre <[EMAIL PROTECTED]> wrote: > > On Wed, Mar 12, 2008 at 8:14 PM, Bill Hoffman <[EMAIL PROTECTED]> wrote: > > > > Mathieu Malaterre wrote: > > > Hi, > > > > > > I am getting a seg fault with both cmake 2.4.7 / CMake CVS when > > > making

Re: [CMake] CPack: seg fault / cygwin / make package_source

2008-03-12 Thread Mathieu Malaterre
On Wed, Mar 12, 2008 at 8:14 PM, Bill Hoffman <[EMAIL PROTECTED]> wrote: > > Mathieu Malaterre wrote: > > Hi, > > > > I am getting a seg fault with both cmake 2.4.7 / CMake CVS when > > making a cygwin package source. > > > > To reproduce: > > > > svn co https://gdcm.svn.sourceforge.ne

[CMake] CPack: CygwinBinary cmake 2.4.8 and CVS differs

2008-03-12 Thread Mathieu Malaterre
'lo, The behavior of cpack recently changed in CMake CVS. Using cmake 2.4.8 on cygwin I was getting: Run CPack packaging tool... CPack: Create package using CygwinBinary CPack: Install projects CPack: - Run preinstall target for: GDCM CPack: - Install project: GDCM CPack: - Strip files CPack: C

Re: [CMake] CPack: seg fault / cygwin / make package_source

2008-03-12 Thread Bill Hoffman
Mathieu Malaterre wrote: Hi, I am getting a seg fault with both cmake 2.4.7 / CMake CVS when making a cygwin package source. To reproduce: svn co https://gdcm.svn.sourceforge.net/svnroot/gdcm/trunk mkdir bin cd bin cmake ../trunk make && make package_source Backtrace is; $ gdb /home/mma

[CMake] CPack: seg fault / cygwin / make package_source

2008-03-12 Thread Mathieu Malaterre
Hi, I am getting a seg fault with both cmake 2.4.7 / CMake CVS when making a cygwin package source. To reproduce: svn co https://gdcm.svn.sourceforge.net/svnroot/gdcm/trunk mkdir bin cd bin cmake ../trunk make && make package_source Backtrace is; $ gdb /home/mmalaterre/Projects/CMake-cyg/

[CMake] Proper use of cached Boolean value

2008-03-12 Thread Mike Jackson
I am working with ParaView using the Extra_external_modules cmake variable. The problem is that I have 2 extra modules that I would like to build. Both of those modules include code from another project (plus include_directories and some other stuff). The problem is if I put BOTH modules in

Re: [CMake] ADD_CUSTOM_COMMAND doesn't create CMake rules

2008-03-12 Thread Andy Lego
Hello Thorben, You need something that drives the custom command, such as custom target. That said, if you are doing QT stuff, you should really look at FindQT.cmake. Andy On Wed, Mar 12, 2008 at 9:45 AM, Schick, Thorben (ITUC; ADITG/DFG) <[EMAIL PROTECTED]> wrote: > > > > I am trying to use CM

[CMake] ADD_CUSTOM_COMMAND doesn't create CMake rules

2008-03-12 Thread Schick, Thorben (ITUC; ADITG/DFG)
I am trying to use CMake to create the build information for MS Visual Studio .NET 2003 including some QT UIs. I added the following code to create the accordant building rules. Due to readability i give only some examples. I realized creation with a loop over all necessary uis and looping works fi

Re: [CMake] CMake bug tracker accout

2008-03-12 Thread Alexander Neundorf
On Wednesday 12 March 2008, Zschocke, Florian wrote: > Hello, > > in order to commit a bug report, do I need an account in the Cmake bug > tracker? Yes. > Is http://public.kitware.com/Bug/ the same thing as > http://www.gccxml.org/Bug/? Yes. > I tried to create an account with the latter, but h

[CMake] CMake bug tracker accout

2008-03-12 Thread Zschocke, Florian
Hello, in order to commit a bug report, do I need an account in the Cmake bug tracker? Is http://public.kitware.com/Bug/ the same thing as http://www.gccxml.org/Bug/? I tried to create an account with the latter, but haven't received any email yet. Is the system working? Regards, Florian _

Re: [CMake] configuration specific ADD_CUSTOM_COMMAND

2008-03-12 Thread Bill Hoffman
Zschocke, Florian wrote: From: Bill Hoffman [mailto:[EMAIL PROTECTED] With the use of CMAKE_CFG_INTDIR, you should be able to get to the targets you need inside custom commands with the multiconfiguration build systems. Have you tried CVS CMake, I think that the LOCATION of the target includ

Re: [CMake] configuration specific ADD_CUSTOM_COMMAND

2008-03-12 Thread Zschocke, Florian
> From: Bill Hoffman [mailto:[EMAIL PROTECTED] > > With the use of CMAKE_CFG_INTDIR, you should be able to get to the > targets you need inside custom commands with the multiconfiguration > build systems. Have you tried CVS CMake, I think that the LOCATION of > the target includes CMAKE_CFG_INTD

Re: [CMake] configuration specific ADD_CUSTOM_COMMAND

2008-03-12 Thread Bill Hoffman
Zschocke, Florian wrote: From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Martin Lütken The problem I suppose is that CMake is running before MSVC and thus have no way of knowing which configuration you will choose unless you tell so when generating the project. With the use o

Re: [CMake] Somehow making life easier with wxWidgets ...

2008-03-12 Thread Jorgen Bodde
Hi All, I have succesfully converted my source to use the latest find script. I have to say, GOD JOB! I wasn't expecting this level of flexibilityof the script. I didn't have to add anything whiel configuring. Simply configure and go! Thanks again for this effort. I will still keep thinking about

Re: [CMake] configuration specific ADD_CUSTOM_COMMAND

2008-03-12 Thread Zschocke, Florian
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Martin Lütken > > The problem I suppose is that CMake is running before MSVC and thus have no > way > of knowing which configuration you will choose unless you tell so when > generating the project. Actually I consider this a bug, or

Re: [CMake] configuration specific ADD_CUSTOM_COMMAND

2008-03-12 Thread Martin Lütken
Yes, you might be right. I Actually just make a set of debug MSVC files if I am going to be working in debug (which I do most of the time anyway). If I want release I just ask CMake to create release files. On Linux and probably other platforms also that is the only way to do it, so I've gotten