summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/File_Generate/NewLineStyle-NoArg.cmake
blob: 9bd2ffa44e77a871a697c97384f2a03a3cb06834 (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
  )