On Wed, Dec 24, 2008 at 12:43 AM, Bill Hoffman <bill.hoff...@kitware.com> wrote: > Pau Garcia i Quiles wrote: >> >> On Tue, Dec 23, 2008 at 9:38 PM, Andrey Sploshnov >> <ice.nightcraw...@gmail.com> wrote: >>> >>> From documentation to CMake 2.6.x: >>> >>> "Note that the PRE_BUILD option is only supported on Visual Studio 7 or >>> later. For all other generators PRE_BUILD will be treated as PRE_LINK." >> >> I'm using Visual Studio 9, which is newer than VS7, so PRE_BUILD >> should be supported >> >>> What are you actually trying to do? >> >> I'm generating .cpp and .h filesfrom .ice files (something like >> CORBA's IDL), which I later compile into the 'thetarget' library. >> > > You want to use custom commands.... > > See this FAQ: > > http://www.cmake.org/Wiki/CMake_FAQ#How_can_I_generate_a_source_file_during_the_build.3F
Thank you very much, that's exactly what I want! -- Pau Garcia i Quiles http://www.elpauer.org (Due to my workload, I may need 10 days to answer) _______________________________________________ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake