-
-
Notifications
You must be signed in to change notification settings - Fork 143
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Appveyor now uses main CMake configuration script.
Updated makefiles.
- Loading branch information
Showing
21 changed files
with
66 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
all: | ||
g++ -o deepview -g -O2 main.cc trackball.cc ../../tinyexr.cc -framework OpenGL -framework GLUT | ||
g++ -I ../../deps/miniz -o deepview -g -O2 main.cc trackball.cc ../../tinyexr.cc ../../deps/miniz/miniz.c -framework OpenGL -framework GLUT |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
all: | ||
clang++ -g -fsanitize=address -O2 -o exr2ldr -I../common -I../../ exr2ldr.cc ../../tinyexr.cc | ||
clang -g -O2 -c -I../../deps/miniz ../../deps/miniz/miniz.c | ||
clang++ -g -fsanitize=address -O2 -o exr2ldr -I../common -I../../ -I../../deps/miniz exr2ldr.cc ../../tinyexr.cc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
all: | ||
g++ -O2 -o exr2rgbe -I../common -I../../ exr2rgbe.cc ../../tinyexr.cc | ||
gcc -O2 -c -I../../deps/miniz ../../deps/miniz/miniz.c | ||
g++ -O2 -o exr2rgbe -I../common -I../../ -I../../deps/miniz exr2rgbe.cc ../../tinyexr.cc miniz.o |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
all: | ||
g++ -std=c++11 -O2 -o exrfilter -I../common -I../../ exrfilter.cc ../../tinyexr.cc | ||
gcc -O2 -c -I../../deps/miniz ../../deps/miniz/miniz.c | ||
g++ -std=c++11 -O2 -o exrfilter -I../common -I../../ -I ../../deps/miniz exrfilter.cc ../../tinyexr.cc miniz.o |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
all: | ||
g++ -O2 -o ldr2exr -I../common -I../../ ldr2exr.cc ../../tinyexr.cc | ||
gcc -O2 -c -I../../deps/miniz ../../deps/miniz/miniz.c | ||
g++ -O2 -o ldr2exr -I../common -I../../ -I../../deps/miniz ldr2exr.cc ../../tinyexr.cc miniz.o |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
all: | ||
clang++ -O2 -g -fsanitize=address -I../common -I../../ -o normalmap main.cc | ||
clang -O2 -c -I../../deps/miniz ../../deps/miniz/miniz.c | ||
clang++ -O2 -g -fsanitize=address -I../common -I../../ -I../../deps/miniz -o normalmap main.cc miniz.o |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
all: | ||
clang++ -fsanitize=undefined -O2 -o exrresize -I../common -I../../ resize.cc ../../tinyexr.cc | ||
clang -g -O2 -c -I../../deps/miniz ../../deps/miniz/miniz.c | ||
clang++ -fsanitize=undefined -O2 -o exrresize -I../common -I../../ -I../../deps/miniz resize.cc ../../tinyexr.cc miniz.o |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
all: | ||
g++ -O2 -o rgbe2exr -I../common -I../../ rgbe2exr.cc ../../tinyexr.cc | ||
gcc -O2 -c -I../../deps/miniz ../../deps/miniz/miniz.c | ||
g++ -O2 -o rgbe2exr -I../common -I../../ -I../../deps/miniz rgbe2exr.cc ../../tinyexr.cc miniz.o |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
all: | ||
g++ -std=c++11 -O2 -o testmapgen -I../common -I../../ testmapgen.cc ../../tinyexr.cc | ||
gcc -O2 -I../../deps/miniz -c ../../deps/miniz/miniz.c | ||
g++ -std=c++11 -O2 -o testmapgen -I../common -I../../ -I../../deps/miniz testmapgen.cc ../../tinyexr.cc miniz.o |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
all: | ||
g++ -c -I../../ ../../tinyexr.cc | ||
gcc -c -I../../deps/miniz ../../deps/miniz/miniz.c | ||
g++ -c -I../../ -I../../deps/miniz ../../tinyexr.cc | ||
gcc -c -I../../ test.c | ||
gcc test.o tinyexr.o -lstdc++ | ||
gcc test.o tinyexr.o miniz.o -lstdc++ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,21 @@ | ||
.PHONY: clean | ||
|
||
CC = clang | ||
CXX = clang++ | ||
CXXFLAGS = -fsanitize=address,undefined -g -O2 -std=c++11 | ||
|
||
tester: tester.cc ../../tinyexr.h | ||
$(CXX) $(CXXFLAGS) -o tester tester.cc | ||
CXXFLAGS = -fsanitize=address,undefined -g -O2 -std=c++11 -I ../../deps/miniz | ||
CFLAGS = -fsanitize=address,undefined -g -O2 -I ../../deps/miniz | ||
|
||
all: tester | ||
|
||
miniz.o: | ||
$(CC) -c $(CFLAGS) ../../deps/miniz/miniz.c | ||
|
||
tester: tester.cc ../../tinyexr.h miniz.o | ||
$(CXX) $(CXXFLAGS) -o tester tester.cc miniz.o | ||
|
||
check: tester | ||
./tester | ||
|
||
clean: | ||
rm -rf tester | ||
rm -rf tester miniz.o | ||
|