Skip to content
Snippets Groups Projects
Commit 032f27aa authored by Nat Goodspeed's avatar Nat Goodspeed
Browse files

Simplify CMake code to generate viewer_version.txt and summary.json.

The quoting used for the cygwin printf command didn't work for 'cmake -E
echo'. The whole content was enclosed in single quotes, with individual
string elements enclosed in double quotes. But we ended up with a summary.json
containing (e.g.):
'{Type:viewer,Version:3.7.26.33262}'
instead of the desired:
{"Type":"viewer","Version":"3.7.26.33262"}
HOWEVER: I see no compelling reason why either of these files must be deferred
to build time. It's simpler and more robust to generate them both directly
from CMake at configure time.
parent 611913f5
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment