Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
    • Help
    • Support
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
CMake
CMake
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 2,686
    • Issues 2,686
    • List
    • Boards
    • Labels
    • Milestones
  • Merge Requests 23
    • Merge Requests 23
  • Packages
    • Packages
    • Container Registry
  • External Wiki
    • External Wiki
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Commits
  • Issue Boards
  • CMake
  • CMakeCMake
  • Issues
  • #18403

Closed
Open
Opened Sep 25, 2018 by Roddy Shuler@rshuler
  • Report abuse
  • New issue
Report abuse New issue

Document CMAKE_DISABLE_SOURCE_CHANGES and CMAKE_DISABLE_IN_SOURCE_BUILD

As suggested on https://stackoverflow.com/a/10306476, these variables are useful to avoid accidentally writing into the source tree, but since they are undocumented there is concern that they may change without warning in future versions. Looking at the git history, the syntax hasn't changed since introduced in 2006, so perhaps it would be worth documenting this feature.

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
1
Labels
area:doc
Assign labels
  • View project labels
Reference: cmake/cmake#18403