Skip to content

Commit bb4aa0e

Browse files
committed
Convert CRLF to LF everywhere
We had a mixture of files that were using LF and files that were using CRLF. For consistency convert *everything* to LF. This unfortunately means that for most code blame will become less useful since you'd need to go past this commit but such is life.
1 parent 6a7869c commit bb4aa0e

18 files changed

+6210
-6210
lines changed

CMakeLists.txt

+31-31
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,31 @@
1-
project(meshoptimizer)
2-
cmake_minimum_required(VERSION 3.0)
3-
4-
option(BUILD_DEMO "Build demo" OFF)
5-
6-
if(MSVC)
7-
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /W4 /WX")
8-
endif(MSVC)
9-
10-
set(SOURCES
11-
src/meshoptimizer.h
12-
src/indexcodec.cpp
13-
src/indexgenerator.cpp
14-
src/overdrawanalyzer.cpp
15-
src/overdrawoptimizer.cpp
16-
src/simplifier.cpp
17-
src/stripifier.cpp
18-
src/vcacheanalyzer.cpp
19-
src/vcacheoptimizer.cpp
20-
src/vertexcodec.cpp
21-
src/vfetchanalyzer.cpp
22-
src/vfetchoptimizer.cpp
23-
)
24-
25-
add_library(meshoptimizer STATIC ${SOURCES})
26-
target_include_directories(meshoptimizer INTERFACE "${CMAKE_CURRENT_SOURCE_DIR}/src")
27-
28-
if(BUILD_DEMO)
29-
add_executable(demo demo/main.cpp demo/miniz.cpp demo/objparser.cpp)
30-
target_link_libraries(demo meshoptimizer)
31-
endif()
1+
project(meshoptimizer)
2+
cmake_minimum_required(VERSION 3.0)
3+
4+
option(BUILD_DEMO "Build demo" OFF)
5+
6+
if(MSVC)
7+
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /W4 /WX")
8+
endif(MSVC)
9+
10+
set(SOURCES
11+
src/meshoptimizer.h
12+
src/indexcodec.cpp
13+
src/indexgenerator.cpp
14+
src/overdrawanalyzer.cpp
15+
src/overdrawoptimizer.cpp
16+
src/simplifier.cpp
17+
src/stripifier.cpp
18+
src/vcacheanalyzer.cpp
19+
src/vcacheoptimizer.cpp
20+
src/vertexcodec.cpp
21+
src/vfetchanalyzer.cpp
22+
src/vfetchoptimizer.cpp
23+
)
24+
25+
add_library(meshoptimizer STATIC ${SOURCES})
26+
target_include_directories(meshoptimizer INTERFACE "${CMAKE_CURRENT_SOURCE_DIR}/src")
27+
28+
if(BUILD_DEMO)
29+
add_executable(demo demo/main.cpp demo/miniz.cpp demo/objparser.cpp)
30+
target_link_libraries(demo meshoptimizer)
31+
endif()

demo/ansi.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
/* This file makes sure the library can be used by C89 code */
2-
#include "../src/meshoptimizer.h"
1+
/* This file makes sure the library can be used by C89 code */
2+
#include "../src/meshoptimizer.h"

demo/miniz.cpp

+1,197-1,197
Large diffs are not rendered by default.

demo/miniz.h

+298-298
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)