← Back to team overview

dolfin team mailing list archive

CMakeLists.txt x 2

 

Why is there an extra CMakeLists inside the dolfin directory and is it
easy to say what goes where?

There's a lot of dependency-specific code (like checking whether to
set HAS_PETSC) in dolfin/CMakeLists.txt) but similar things happen in
the main CMakeLists.txt.

Or is the point that the main file checks for the dependencies and
dolfin/CMakeLists.txt handles DOLFIN-specific stuff when the packages
have been found?

Another thing that seems strange is that dolfin-config.cmake and
dolfin.conf are generated in different files.

--
Anders