variables for cross-platform code?

Ah, the link is dropped from the --help docs :confused: . Can you file an issue to improve wording to at least encourage looking there?

Yes, semicolon quoting test properties through a generic API was the straw that finally made me say “bah, I just need to implement this in cmake -E env”. :slight_smile: .

Note that:

cmake -E env --modify \
  PATH=path_list_prepend:path1 \
  PATH=path_list_prepend:path2

works as you expect (path2:path1:$PATH) so that you can build these up piecemeal instead of having to collate them ahead of time (sorting may be required though).

1 Like