[Cmake] Building in two separate trees

Amitha Perera perera at cs.rpi.edu
Mon Nov 25 13:49:48 EST 2002


Andy Cedilnik <andy.cedilnik at kitware.com> writes:
> The way VTK does it is that it configures a cmake file, which is
> included in the related project. This cmake file sets some variables
> which are then used in the related project.
> 
> For example, in your project have file MyProject.cmake.in:
> 
> SET(SOME_VAR "${SOME_VAR}")
> ...

But what variables are imporant? xxx_LIB_DEPENDS is important, for
example. What else? I know the new cmake has a *lot* of cache
entries...

Perhaps there is no good answer to this... :-(

Amitha.



More information about the CMake mailing list