Re: [CMake] FindBoost.cmake: please test

2008-01-19 Thread Hendrik Sattler
Am Sonntag 20 Januar 2008 schrieb Andreas Schneider: > Andreas Pakulat wrote: > > Hi, > > Hello, > > > apparently the FindBoost.cmake I attached to > > http://www.cmake.org/Bug/view.php?id=6257 > > > > isn't quite perfect - actually not even close. The last few days I've > > worked with Andreas Sch

Re: [CMake] FindBoost.cmake: please test

2008-01-19 Thread Andreas Schneider
Andreas Pakulat wrote: > Hi, Hello, > > apparently the FindBoost.cmake I attached to > http://www.cmake.org/Bug/view.php?id=6257 > > isn't quite perfect - actually not even close. The last few days I've > worked with Andreas Schneider to make it work on his and my own system. > > However thats

[CMake] FindBoost.cmake: please test

2008-01-19 Thread Andreas Pakulat
Hi, apparently the FindBoost.cmake I attached to http://www.cmake.org/Bug/view.php?id=6257 isn't quite perfect - actually not even close. The last few days I've worked with Andreas Schneider to make it work on his and my own system. However thats just two, I'd like to get some more testing feedb

Re: [CMake] Re: Custom build step

2008-01-19 Thread pepone . onrez
I Create a small test to try replicate the problem and all works Fine at first view and ADD_CUSTOM_COMMAND is called as expected. I now thinking that can be a problem in how i concatenate values in OUTPUT of the command, i go to change my script for clean and further inspect this issue. BTW i ca

Re: [CMake] Re: Custom build step

2008-01-19 Thread pepone . onrez
I test various debug messages before my first post here and variable values seems alright. Now ill try to reproduce the problem in a self contained example and post here the results. Thanks for all On Jan 19, 2008 7:15 PM, Brandon Van Every <[EMAIL PROTECTED]> wrote: > I'm going to take a wild g

Re: [CMake] Re: Custom build step

2008-01-19 Thread Brandon Van Every
I'm going to take a wild guess that one of your variables is emitting extra quotes or open parentheses or something, such that the 2nd ADD_CUSTOM_COMMAND gratuitously disappears. Suggest you message() all your variables to see what they are, and also write a small test case that simulates the beha

Re: [CMake] Re: Custom build step

2008-01-19 Thread pepone . onrez
Hi Brandon [EMAIL PROTECTED] ~/proyects/ydra-ipluginservice/build $ grep Moving * -R [EMAIL PROTECTED] ~/proyects/ydra-ipluginservice/build $ I grep -R in the build dir and don't see the keword Moving that i put in the Comment of the second ADD_CUSTOM_COMAND in any of CMake generated files.

Re: [CMake] Re: Custom build step

2008-01-19 Thread Brandon Van Every
On Jan 19, 2008 11:50 AM, pepone. onrez <[EMAIL PROTECTED]> wrote: > > Case 2 - i don`t see that Cmake generated any rule for the second commands. Did you grep all the files in the generated CMake tree? Perhaps they were output to a different file. Cheers, Brandon Van Every

Re: [CMake] Re: Custom build step

2008-01-19 Thread pepone . onrez
I know is not a good practice but this library only has generated code, and the generated headers are need for build other applications made by third parties. This is why i prefer to put in sources. I atach here the relevant code for both cases and generated rules. Case 1 - works as expected Case

[CMake] Re: Custom build step

2008-01-19 Thread pepone . onrez
I solve the problem by adding the move step in the same ADD_CUSTOM_COMAND Here is the new code. Any ideas for #BEGIN MACRO ( GENERATE_SLICE2CPP_RULES GENERATED_CPP_LIST GENERATED_HEADER_LIST ) FOREACH( SLICE_SOURCE_BASENAME ${ARGN} ) APPEND( GEN_SLICE_RULES_SLICE_DEPENDS "${SLICE_SO

[CMake] Custom build step

2008-01-19 Thread pepone . onrez
Hello i creating a CMake macro for compile same IDL files. Here is steps i trying to do 1) find all files in ./slice directory that's end with .ice for each .ice files 1.1) run slice2cpp compiler that's generate a .h and .cpp file white the same name as the .ice 1.2) move the .h file to the in