summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/File_Generate/NewLineStyle-InvalidArg.cmake
blob: 578cf21629b3928a5c2303b3d5bc3d2b2ff59a4e (plain)
1
2
3
4
5
6
7
file(REMOVE "${CMAKE_CURRENT_BINARY_DIR}/main.cpp")

file(GENERATE
  OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/main.cpp"
  CONTENT "int main() { return 0; }\n"
  NEWLINE_STYLE FOO
  )