Y
Hacker News
new
|
ask
|
show
|
jobs
by
anordal
651 days ago
Setting a variable by split identifier is surprisingly common in CMake (because functions can't return a value):
> set(${VAR}_VERSION ${VERSION})
This is the main reason I don't like CMake.