Normalize source code
Add .gitattributes Remove trailing whitespaces
This commit is contained in:
parent
a240429cb8
commit
d85dd3e20f
|
@ -0,0 +1,6 @@
|
|||
# Normalize source code before commits
|
||||
*.lua eol=lf
|
||||
*.txt eol=lf
|
||||
*.ot* eol=lf
|
||||
*.cpp eol=lf
|
||||
*.h eol=lf
|
|
@ -4,7 +4,7 @@
|
|||
# FRAMEWORK_NET
|
||||
# FRAMEWORK_XML
|
||||
|
||||
# CMAKE_CURRENT_LIST_DIR cmake 2.6 compatiblity
|
||||
# CMAKE_CURRENT_LIST_DIR cmake 2.6 compatibility
|
||||
if(${CMAKE_MAJOR_VERSION} EQUAL 2 AND ${CMAKE_MINOR_VERSION} EQUAL 6)
|
||||
get_filename_component(CMAKE_CURRENT_LIST_DIR ${CMAKE_CURRENT_LIST_FILE} PATH)
|
||||
endif(${CMAKE_MAJOR_VERSION} EQUAL 2 AND ${CMAKE_MINOR_VERSION} EQUAL 6)
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# CMAKE_CURRENT_LIST_DIR cmake 2.6 compatiblity
|
||||
# CMAKE_CURRENT_LIST_DIR cmake 2.6 compatibility
|
||||
if(${CMAKE_MAJOR_VERSION} EQUAL 2 AND ${CMAKE_MINOR_VERSION} EQUAL 6)
|
||||
get_filename_component(CMAKE_CURRENT_LIST_DIR ${CMAKE_CURRENT_LIST_FILE} PATH)
|
||||
endif(${CMAKE_MAJOR_VERSION} EQUAL 2 AND ${CMAKE_MINOR_VERSION} EQUAL 6)
|
||||
|
|
Loading…
Reference in New Issue