project-is-top-level.rst 238 B

123456
  1. project-is-top-level
  2. --------------------
  3. * :command:`project` now sets variables :variable:`PROJECT_IS_TOP_LEVEL` and
  4. :variable:`<PROJECT-NAME>_IS_TOP_LEVEL` to indicate whether it was called
  5. in a top level ``CMakeLists.txt`` file.