Skip to content

Commit

Permalink
Normalize line endings.
Browse files Browse the repository at this point in the history
  • Loading branch information
sherm1 committed Aug 16, 2013
1 parent 0f00f2a commit 48fbaf3
Show file tree
Hide file tree
Showing 625 changed files with 305,762 additions and 305,740 deletions.
22 changes: 22 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Auto detect text files and perform LF normalization
* text=auto

# Custom for Visual Studio
*.cs diff=csharp
*.sln merge=union
*.csproj merge=union
*.vbproj merge=union
*.fsproj merge=union
*.dbproj merge=union

# Standard to msysgit
*.doc diff=astextplain
*.DOC diff=astextplain
*.docx diff=astextplain
*.DOCX diff=astextplain
*.dot diff=astextplain
*.DOT diff=astextplain
*.pdf diff=astextplain
*.PDF diff=astextplain
*.rtf diff=astextplain
*.RTF diff=astextplain
40 changes: 20 additions & 20 deletions ApiDoxygen.cmake
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
INCLUDE(FindDoxygen)

IF(DOXYGEN_EXECUTABLE-NOTFOUND)
ELSE(DOXYGEN_EXECUTABLE-NOTFOUND)
SET(DOXY_CONFIG "${CMAKE_CURRENT_BINARY_DIR}/Doxyfile")

CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/Doxyfile.in
${DOXY_CONFIG}
@ONLY )

ADD_CUSTOM_TARGET(doxygen ${DOXYGEN_EXECUTABLE} ${DOXY_CONFIG})

FILE(MAKE_DIRECTORY "${PROJECT_BINARY_DIR}/html/")
INSTALL(DIRECTORY "${PROJECT_BINARY_DIR}/html/"
DESTINATION "doc/api/${PROJECT_NAME}/html"
)
# This is just a shortcut to the Doxygen index.html.
INSTALL(FILES "SimbodyAPI.html" DESTINATION "doc")
ENDIF(DOXYGEN_EXECUTABLE-NOTFOUND)

INCLUDE(FindDoxygen)

IF(DOXYGEN_EXECUTABLE-NOTFOUND)
ELSE(DOXYGEN_EXECUTABLE-NOTFOUND)
SET(DOXY_CONFIG "${CMAKE_CURRENT_BINARY_DIR}/Doxyfile")

CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/Doxyfile.in
${DOXY_CONFIG}
@ONLY )

ADD_CUSTOM_TARGET(doxygen ${DOXYGEN_EXECUTABLE} ${DOXY_CONFIG})

FILE(MAKE_DIRECTORY "${PROJECT_BINARY_DIR}/html/")
INSTALL(DIRECTORY "${PROJECT_BINARY_DIR}/html/"
DESTINATION "doc/api/${PROJECT_NAME}/html"
)
# This is just a shortcut to the Doxygen index.html.
INSTALL(FILES "SimbodyAPI.html" DESTINATION "doc")
ENDIF(DOXYGEN_EXECUTABLE-NOTFOUND)

Loading

0 comments on commit 48fbaf3

Please sign in to comment.