Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • CMake CMake
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 3,823
    • Issues 3,823
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 9
    • Merge requests 9
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Packages & Registries
    • Packages & 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
  • CMake
  • CMakeCMake
  • Issues
  • #19859
Closed
Open
Created Oct 18, 2019 by Isabella Muerte@slurps-mad-rips

Genex: TARGET_PROPERTY disallows non-alphanumeric characters

Currently any value can be set as a property name, however, this seems to break down if a $<TARGET_PROPERTY:...> generator expression is used. Therefore if there are any properties that might contain anything outside of [A-Za-z0-9_], then CMake will error and the project cannot generate. This is an issue when dealing with properties in non-english languages and is also surprising given that CMake's documentation states that it is 8-bit clean. This also makes it harder to generate useful data post-configure without having to resort to using the variable_watch scope hack 😓

This was also surprising given that $<INSTALL_INTERFACE> and $<BUILD_INTERFACE> do support any byte sequence.

Edited Oct 28, 2019 by Brad King
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking