[CMake] how consider pre build

Alexander Neundorf a.neundorf-work at gmx.net
Wed Nov 25 13:29:29 EST 2009


On Wednesday 25 November 2009, Sören Freudiger wrote:
> Hi
> One Problem.
>
> There's one file in my sources that produces a cxx file in a pre build step
> (similar to qt_ui or moc, swig ...)
>
> But the source file isn't a h,c,cxx, file. It's a .if file thus I caonnot
> put this to the project source files without getting an error.

Did you try that ? What error do you get ? With which generator ?
If it's an extension unknown to cmake (".if" should be) then I thought this 
was supposed to work.

Alex


More information about the CMake mailing list