Re: [CMake] CMake is always genetating files

2006-04-11 Thread William A. Hoffman
At 06:36 PM 4/11/2006, Filipe Sousa wrote: >-BEGIN PGP SIGNED MESSAGE- >Hash: SHA1 > >Filipe Sousa wrote: >> Filipe Sousa wrote: >> >> In my previous mail I forgot this piece of code that triggers the >> regeneration >> CONFIGURE_FILE(foo.c ${CMAKE_CURRENT_BINARY_DIR}/foo.c) >> Wow, you

[CMake] OPTION variables are not accesible in POST_INSTALL_SCRIPTs

2006-04-11 Thread Michael Biebl
I have OPTION(INSTALL_LINKS "..." ON) in the toplevel CMakeLists.txt file and want to use that variable in a POST_INSTALL_SCRIPT. Depending on INSTALL_LINKS I want to create additional links. Unfortunately the value of INSTALL_LINKS is not propagated to the POST_INSTALL_SCRIPT create_links.cmake. I

Re: [CMake] CMake is always genetating files

2006-04-11 Thread Filipe Sousa
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Filipe Sousa wrote: > Filipe Sousa wrote: > > In my previous mail I forgot this piece of code that triggers the > regeneration > CONFIGURE_FILE(foo.c ${CMAKE_CURRENT_BINARY_DIR}/foo.c) > A more verbose output: [EMAIL PROTECTED] ~/tmp/bug/build $ ma

[CMake] Use of MACOSX_BUNDLE??

2006-04-11 Thread Lars Pechan
Hi all, I have the following problem. I generate my wxWidgets project for Xcode on OSX. The result is an app that is not a first-class citizen. For example trying to activate the main window of the generated app is impossible, as is trying to use any of its menus. As a consequence of this

Re: [CMake] CMake is always genetating files

2006-04-11 Thread Filipe Sousa
~/tmp/bug/build $ make > -- foo message > -- Configuring done > -- Generating done > -- Build files have been written to: /home/fsousa/tmp/bug/build > > cmake is always generating files > > [EMAIL PROTECTED] ~/tmp/bug/build $ cmake --version > cmake version 2.3-200

[CMake] CMake is always genetating files

2006-04-11 Thread Filipe Sousa
oo message - -- Configuring done - -- Generating done - -- Build files have been written to: /home/fsousa/tmp/bug/build cmake is always generating files [EMAIL PROTECTED] ~/tmp/bug/build $ cmake --version cmake version 2.3-20060411 - -- Filipe Sousa -BEGIN PGP SIGNATURE- Version: GnuPG v1.

Re: [CMake] Run commands after "make install"

2006-04-11 Thread Michael Biebl
On 4/11/06, Filipe Sousa <[EMAIL PROTECTED]> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Michael Biebl wrote: > > Hi, > > > > after a successfull "make install" run I want to display some messages > > and execute a command. With automake I used a install-data-hook in the > > toplev

Re: [CMake] Run commands after "make install"

2006-04-11 Thread Filipe Sousa
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Michael Biebl wrote: > Hi, > > after a successfull "make install" run I want to display some messages > and execute a command. With automake I used a install-data-hook in the > toplevel Makefile.am for this, so the commands were processed at the > end

Re: [CMake] Run commands after "make install"

2006-04-11 Thread Brad King
Michael Biebl wrote: after a successfull "make install" run I want to display some messages and execute a command. With automake I used a install-data-hook in the toplevel Makefile.am for this, so the commands were processed at the end of the install run. How can I do this with cmake? I tried to

[CMake] Run commands after "make install"

2006-04-11 Thread Michael Biebl
Hi, after a successfull "make install" run I want to display some messages and execute a command. With automake I used a install-data-hook in the toplevel Makefile.am for this, so the commands were processed at the end of the install run. How can I do this with cmake? I tried to add a custom targe

Re: [CMake] using cmake with java

2006-04-11 Thread Brad King
Gaetan Lehmann wrote: Hi, Currently, I'm using the ADD_CUSTOM_TARGET() macro to compile the java tests in WrapITK. The problem is that those files are rebuild for each make. Is there a better way to build java programs ? Use ADD_CUSTOM_COMMAND, and then add only one ADD_CUSTOM_TARGET tha

Re: [CMake] Hierarchical Menu for options

2006-04-11 Thread Brad King
James Bigler wrote: Is there a way to create hierarchical options tweakable by the build? The list I currently have is getting quite long. I want something like: SCENE_BUILDS: BUILD_SCENE_0 BUILD_SCENE_1 ... BUILD_SCENE_FANCY_GEOM ADVANCED_BUILD_OPTIONS: BUILD_INTERNAL_MALLOC ASSE

Re: [CMake] CMake Error: LOAD_COMMAND Attempt to load the library libcmVTK_WRAP_TCL2.so failed

2006-04-11 Thread Brad King
Dário Oliveira wrote: Hi. I've found a topic that solved my las problem but now I'm having another and I think that hs to do with the fact that my linux is ubuntu 64 bits. The library is in the directory, I can do a ldd command and it points do the lib-64 directory. Is there any solution for me

Re: [CMake] Re: Processing new extensions with cmake

2006-04-11 Thread Brad King
Michael Biebl wrote: FWIW, this is my solution so far: < MACRO(PROCESS_IIFILES _i_FILES _ii_FILES) SET(_i_FILES) FOREACH(_current_FILE ${ARGN}) GET_FILENAME_COMPONENT(_tmp_FILE ${_current_FILE} ABSOLU