[CMake] question related with Qt

2006-06-16 Thread kdsfinger
hi, all I am reading 2 CMakeList.txt files coming from the examples (SimpleView, Events) in vtk (Examples/GUI/Qt/). I am using Qt3.3. There is the following command in one of the CMakeList.txt QT_WRAP_UI(qtevents UI_HDRS UI_SRCS GUI.ui) Where can I find the reference for the key words "UI_HDRS

Re: [CMake] Names of known variables

2006-06-16 Thread Brandon J. Van Every
Philippe Poilbarbe wrote: Brandon J. Van Every a écrit : Philippe Poilbarbe wrote: ... When I bought the "Mastering CMake" book there was some of them (and it was not up to date) but it's quite difficult to find the new ones as new versions of cmake are coming. ... Although it's not complete,

[CMake] Linking static libraries into shared libs?

2006-06-16 Thread Daniel Sands
I have some static libraries and need to link them into my CMAKE project's shared libraries. Is there a platform-independent way to specify this? What I want can be expressed by the following: g++ -shared -o libmylib.so my_obj_files.o -Wl,-whole-archive -lmy_static_lib -Wl,-no-whole-archive

Re: [CMake] CPack and install_name_tool on the Mac

2006-06-16 Thread Brad King
Karl Merkley wrote: On Jun 16, 2006, at 11:47 AM, Brad King wrote: Karl Merkley wrote: Does CPack have any ability to help with the install_name_tool on the Mac? Mac applications avoid DLL hell by creating an application bundle that is really a directory structure that includes the

Re: [CMake] CPack and install_name_tool on the Mac

2006-06-16 Thread Karl Merkley
On Jun 16, 2006, at 11:47 AM, Brad King wrote: Karl Merkley wrote: Does CPack have any ability to help with the install_name_tool on the Mac? Mac applications avoid DLL hell by creating an application bundle that is really a directory structure that includes the application, the resou

Re: [CMake] Exporting an API for use by IDEs

2006-06-16 Thread William A. Hoffman
At 01:51 PM 6/16/2006, Matt Rogers wrote: >Hi, > >Awhile back, I asked on the kde-buildsystem >(http://mail.kde.org/pipermail/kde-buildsystem/2006-March/001838.html) list >about getting some sort of API or parser seperation or whatever that I could >use to integrate CMake into KDevelop so that n

Re: [CMake] another RPATH problem

2006-06-16 Thread Brad King
Alexander Neundorf wrote: It is now in CVS and it will be in 2.4.3, and if CMAKE_PATCH_VERSION is not set you can assume an earlier version. This means CMAKE_PATCH_VERSION will work in 2.4.3 ? Yes. -Brad ___ CMake mailing list CMake@cmake.org http:

[CMake] Exporting an API for use by IDEs

2006-06-16 Thread Matt Rogers
Hi, Awhile back, I asked on the kde-buildsystem (http://mail.kde.org/pipermail/kde-buildsystem/2006-March/001838.html) list about getting some sort of API or parser seperation or whatever that I could use to integrate CMake into KDevelop so that native support for the editing, configuring, and

Re: [CMake] CPack and install_name_tool on the Mac

2006-06-16 Thread Brad King
Karl Merkley wrote: Does CPack have any ability to help with the install_name_tool on the Mac? Mac applications avoid DLL hell by creating an application bundle that is really a directory structure that includes the application, the resources, and the shared libraries used by the applicati

Re: [CMake] file glob problems

2006-06-16 Thread Filipe Sousa
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Clinton Stimpson wrote: > So a > > FILE(GLOB MYVAR "${SOMEDIR}/*/*.ext") > > somedir/ > a/a.ext > b/b.ext > c/c.ext > > > On Windows, returns them in alphabetical order. > On Linux, returns them in some random order. > > How do we get i

[CMake] file glob problems

2006-06-16 Thread Clinton Stimpson
So a FILE(GLOB MYVAR "${SOMEDIR}/*/*.ext") somedir/ a/a.ext b/b.ext c/c.ext On Windows, returns them in alphabetical order. On Linux, returns them in some random order. How do we get it in alphabetical order all the time? Clint ___ CMake mai

[CMake] FILE(GLOB) don't work with directories

2006-06-16 Thread Philippe Poilbarbe
Hello, I did try to do a module to find the InstallBuilder program. For unices, no problem but on MS-Windows this program installs itself in a directory containing the version so I did something like this: FILE(GLOBWIN32_IB_DIRS "C:/Program files/Bitrock*" "C:/Program files/Bit

[CMake] CPack and install_name_tool on the Mac

2006-06-16 Thread Karl Merkley
Does CPack have any ability to help with the install_name_tool on the Mac? Mac applications avoid DLL hell by creating an application bundle that is really a directory structure that includes the application, the resources, and the shared libraries used by the application. My understandi

Re: [CMake] EXECUTE_PROCESS and writing output to a file

2006-06-16 Thread Philippe Poilbarbe
Sylvain Benner a écrit : ... It works but it's not really what I want since it doesn't display the output in real time. The process can be pretty long and the intermediate info are pretty important. ... On unix you can insert the 'tee' command in the list of commands where you want to keep th

Re: [CMake] How to get the system date in a CMake Script ?

2006-06-16 Thread Sylvain Benner
Thank you Philippe for this macro, very useful. Sylvain ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake

Re: [CMake] EXECUTE_PROCESS and writing output to a file

2006-06-16 Thread Sylvain Benner
Thank you for the response Filipe. It works but it's not really what I want since it doesn't display the output in real time. The process can be pretty long and the intermediate info are pretty important. Well if it's not possible to do it I will only log the errors. Sylvain _

Re: [CMake] How to get the system date in a CMake Script ?

2006-06-16 Thread Philippe Poilbarbe
Filipe Sousa a écrit : On Friday 16 June 2006 09:49, Sylvain Benner wrote: Is there a simple way to get the system date in a CMake script ? The only way is calling an external program through EXECUTE_PROCESS. Under Unix you have /usr/bin/date. Each time something cannot be done by CMak

Re: [CMake] EXECUTE_PROCESS and writing output to a file

2006-06-16 Thread Filipe Sousa
On Friday 16 June 2006 10:49, Sylvain Benner wrote: > Hi, > > When I specify an output variable in the EXECUTE_PROCESS arguments, there > is no output in the console. Is there a way to have both the ouput written > in a variable and displayed on the screen? EXECUTE_PROCESS( OUTPUT_VARIABLE out

[CMake] EXECUTE_PROCESS and writing output to a file

2006-06-16 Thread Sylvain Benner
Hi,   When I specify an output variable in the EXECUTE_PROCESS arguments, there is no output in the console. Is there a way to have both the ouput written in a variable and displayed on the screen?   Thank you. Sylvain  ___ CMake mailing list CMake@

Re: [CMake] How to get the system date in a CMake Script ?

2006-06-16 Thread Filipe Sousa
On Friday 16 June 2006 09:49, Sylvain Benner wrote: > Is there a simple way to get the system date in a CMake script ? > > Thank you, > Sylvain The only way is calling an external program through EXECUTE_PROCESS. Under Unix you have /usr/bin/date. -- Filipe Sousa pgpv7eZ1hsp60.pgp Descriptio

Re: [CMake] How to get the system date in a CMake Script ?

2006-06-16 Thread Sylvain Benner
I planed to do this but I was wondering if there was a simple way to get it, something more platform independent. Anyway, thank you for the answer, I will do what you suggest. Sylvain - Original Message - From: "Filipe Sousa" <[EMAIL PROTECTED]> To: Sent: Friday, June 16, 2006 11:13

Re: [CMake] Names of known variables

2006-06-16 Thread Philippe Poilbarbe
Brandon J. Van Every a écrit : Philippe Poilbarbe wrote: ... When I bought the "Mastering CMake" book there was some of them (and it was not up to date) but it's quite difficult to find the new ones as new versions of cmake are coming. ... Although it's not complete, http://www.cmake.org/Wiki

[CMake] How to get the system date in a CMake Script ?

2006-06-16 Thread Sylvain Benner
Is there a simple way to get the system date in a CMake script ?   Thank you, Sylvain ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake