To add to Geoff's response: under Unix, you generally need to re-run
ccmake only if you add a directory. Otherwise, running "make" will
automatically re-generate the makefile in that directory if necessary.
"Geoffrey Cross" <geoff@...> writes:
> If you are editing some file in $VXLROOT/mystuff/, you should be able to
> just go into $VXLBUILDROOT/mystuff and type 'make', where $VXLBUILDROOT
> is the root of your vxl build. The Makefile generated by cmake in
> $VXLBUILDROOT should contain a dependency which will trigger the
> necessary rerun of cmake if you change the CMakeLists.txt.
> It might take a few seconds, but in practice you shouldn't be changing
> your CMakeLists very often once you start really coding and testing.
> Does that make any sense?
> > -----Original Message-----
> > From: vxl-users-admin@... [mailto:vxl-users-
> > admin@...] On Behalf Of Ferenz Kahlesz
> > Sent: Wednesday, November 27, 2002 3:12 PM
> > To: VxL User List
> > Subject: [Vxl-users] CMake question
> > Hi,
> > I'm trying to create a library within vxl (at the same level in the
> > directory tree as eg. `gel' or `mul'). As I'm new to CMake and as
> > sourcefiles yet getting frequently in and out I quite often change the
> > relevant CMakeLists.txt-s. Then I change to the build dir run `ccmake
> > sourcedir' (where sourcedir is the whole vxl-src dir, not just my
> > dir) and then configure the build.
> > My problem is that both steps (the initial `ccmake sourcedir' and the
> > configuration after) take quite some time (tenseconds), which is very
> > unfortunate in the modify-build-try cycle.
> > So my question is, how could I do it faster?
> > TIA,
> > Fecu