Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • CMake CMake
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 4,166
    • Issues 4,166
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 15
    • Merge requests 15
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • External wiki
    • External wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • CMakeCMake
  • CMakeCMake
  • Merge requests
  • !3860

VS: Tell VS 16.4 not to verify SYMBOLIC custom command outputs

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Brad King requested to merge brad.king/cmake:vs-16.4-custom-commands into master Sep 23, 2019
  • Overview 5
  • Commits 1
  • Pipelines 3
  • Changes 2

VS 16.4 introduces an additional check on CustomBuild rules that warns if the outputs of the command are not created. However, CMake supports marking outputs with the SYMBOLIC property to indicate that they will not actually be generated. That property is used by Makefile and Ninja generators but has not been needed by the VS generators before. Teach the VS generator to disable VerifyInputsAndOutputsExist in custom build rules that have a symbolic output.

Fixes: #19737 (closed)

Edited Sep 23, 2019 by Brad King
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: vs-16.4-custom-commands