Merge topic 'test-IncludeDirectories-eof'

cad6921 Tests/IncludeDirectories: Files must end in a newline (#13314)
This commit is contained in:
David Cole 2012-06-19 14:43:34 -04:00 committed by CMake Topic Stage
commit 525813a698
1 changed files with 1 additions and 3 deletions

View File

@ -5,9 +5,7 @@ project(TargetIncludeDirectories)
macro(create_header _name) macro(create_header _name)
file(MAKE_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/${_name}") file(MAKE_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/${_name}")
file(WRITE "${CMAKE_CURRENT_BINARY_DIR}/${_name}/${_name}.h" file(WRITE "${CMAKE_CURRENT_BINARY_DIR}/${_name}/${_name}.h" "//${_name}.h\n")
"//${_name}.h
")
endmacro() endmacro()
create_header(bar) create_header(bar)