[Insight-developers] custom build for FLTK generated files

Luis Ibanez ibanez@choroid.cs.unc.edu
Fri, 6 Apr 2001 23:30:32 -0400 (EDT)


Hi,

FLTK has an interactive tool for building GUI's.
It save all the widgets definitions in a *.fl
file. It can generate C++ code from this file.

I'm now checking in both the .fl file and the
generated .cxx and .h  files, but that seems to
be redundant and error prone.

Is there any way to specify this custom build
in CMake ?

The equivalent of the following rules in make:

myGui.cxx:    myGui.fl
  fluid -c myGui.fl

myGui.h:    myGui.fl
  fluid -c myGui.fl



Thanks


Luis