cmake - FEniCS Project
cmake - FEniCS Project cmake - FEniCS Project
Dolfin and SCons Write a SConstruct file in the root Write SConscript files in various subdirectories As SCons is not a preprocessor to make, the buildrules must be defined explicitly Run by saying scons in the root directory. A submodule can be compiled with scons -u in that directory. Central concept: the Environment © 2006
Pros and Cons Pros - CMake Clean syntax Large user community Cons - CMake Special macro language Not much documentation available for free Rely on make for Looking into the CMake system for VTK doesn’t give me great confidence Pros - SCons Based on Python Decent documentation Support multiple buildenvironments (but not true hierarchical) Can run under the regular python debugger (pdb) Cons - SCons Lacks proper configure Lot of relatively black magic Build-files can be messy if not implemented with care © 2006
- Page 1 and 2: Configure And Build Åsmund Ødegå
- Page 3 and 4: What is the challenge? Installing s
- Page 5 and 6: On the more technical side Audit tr
- Page 7 and 8: There is no perfect system around!
- Page 9 and 10: There is no perfect system around!
- Page 11 and 12: There is no perfect system around!
- Page 13 and 14: There is no perfect system around!
- Page 15 and 16: CMake Developed by Kitware (VTK!) S
- Page 17 and 18: CMake Developed by Kitware (VTK!) S
- Page 19 and 20: SCons - a quite different tool Whil
- Page 21 and 22: BuildSystem Someone here knows this
- Page 23 and 24: Jam and all it’s variants The ori
- Page 25 and 26: What else have we I have found nume
- Page 27: Dolfin and CMake Write a CMakeLists
- Page 31 and 32: Offloading the work It is common th
- Page 33 and 34: SCons and configure We are currentl
- Page 35 and 36: Cross language reference counting
- Page 37 and 38: A few words on the context Some C++
Dolfin and SCons<br />
Write a SConstruct file in the root<br />
Write SConscript files in various subdirectories<br />
As SCons is not a preprocessor to make, the buildrules must<br />
be defined explicitly<br />
Run by saying scons in the root directory.<br />
A submodule can be compiled with scons -u in that directory.<br />
Central concept: the Environment<br />
<br />
© 2006