summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/GeneratorExpression/CONFIG-empty-entries.cmake
blob: a4d53f97baffe18b36d436b82ec0832e7bdf6f83 (plain)
1
2
3
4
5
6
7
8
9
cmake_policy(SET CMP0070 NEW)

set(text)
string(APPEND text "$<$<CONFIG:>:1>")
string(APPEND text "$<$<CONFIG:Release,>:2>")
string(APPEND text "$<$<CONFIG:,Release>:3>")
string(APPEND text "$<$<CONFIG:Release,,Debug>:4>")
string(APPEND text "$<$<CONFIG:Release,Debug>:5>")
file(GENERATE OUTPUT CONFIG-empty-entries-generated.txt CONTENT  ${text})