CMake build procedure
1.0
  • Introduction
  • Motivations and overview
  • Anatomy of a CMakeLists.txt file
  • Package detection mechanism
  • Exposing a module’s configuration (advanced)
  • Various guidelines and conventions (advanced)
CMake build procedure
  • Docs »
  • SALOME - CMake build procedure
  • View page source

SALOME - CMake build procedure¶

The section marked as ADVANCED need not be read by someone only trying to compile SALOME. Those sections are intented to the core SALOME developers, to help them understand/fix/improve the process.

Contents:

  • Introduction
  • Motivations and overview
    • CMake must be user-friendly
    • Basic usage
    • Variable reference
    • Overview of the logic (advanced)
  • Anatomy of a CMakeLists.txt file
    • Root CMakeLists.txt
    • CMakeLists.txt dedicated to the build of a target
  • Package detection mechanism
    • Philosophy
    • Root dir variables and priority order
    • Writing the detection macro of a new SALOME prerequisite
    • Writing a new generic detection macro (advanced)
    • Implementation details (advanced)
  • Exposing a module’s configuration (advanced)
    • Principle
    • Guidelines
    • Configuration file
  • Various guidelines and conventions (advanced)
    • Debugging CMake
    • General conventions
    • Naming conventions
    • Parallel compilation - Correct dependencies
    • Command specific conventions

Indices and tables¶

  • Index
  • Module Index
  • Search Page
Next

© Copyright 2013-2022, Adrien Bruneton (CEA), Anthony Geay (CEA), Nicolas Geimer (EDF), Paul Rascle (EDF)

Built with Sphinx using a theme provided by Read the Docs.