From 3c1fb63a92cdb7fa61ca27ae9af621e9d687bb50 Mon Sep 17 00:00:00 2001 From: Gon Solo Date: Thu, 19 Oct 2023 17:22:57 +0200 Subject: [PATCH] Unify suffixes. --- Makefile | 4 ++-- Sources/cudaBridge/{Model.cpp => Model.cc} | 0 Sources/cudaBridge/{OptixRenderer.cpp => OptixRenderer.cc} | 0 Sources/cudaBridge/{cudaBridge.cpp => cudaBridge.cc} | 0 Sources/exr/{exr.cpp => exr.cc} | 0 Sources/ptexBridge/{ptex.cpp => ptex.cc} | 0 6 files changed, 2 insertions(+), 2 deletions(-) rename Sources/cudaBridge/{Model.cpp => Model.cc} (100%) rename Sources/cudaBridge/{OptixRenderer.cpp => OptixRenderer.cc} (100%) rename Sources/cudaBridge/{cudaBridge.cpp => cudaBridge.cc} (100%) rename Sources/exr/{exr.cpp => exr.cc} (100%) rename Sources/ptexBridge/{ptex.cpp => ptex.cc} (100%) diff --git a/Makefile b/Makefile index e07e39b..632c871 100644 --- a/Makefile +++ b/Makefile @@ -222,8 +222,8 @@ test_pbrt: xcode: $(SWIFT) package generate-xcodeproj --xcconfig-overrides Config.xcconfig -FILES=$(shell find Sources -name \*.swift -o -name \*.h -o -name \*.cpp| egrep -v \.build | wc -l) -LINES=$(shell wc -l $$(find Sources -name \*.swift -o -name \*.h -o -name \*.cpp) | tail -n1 | awk '{ print $$1 }') +FILES=$(shell find Sources -name \*.swift -o -name \*.h -o -name \*.cc| egrep -v \.build | wc -l) +LINES=$(shell wc -l $$(find Sources -name \*.swift -o -name \*.h -o -name \*.cc) | tail -n1 | awk '{ print $$1 }') wc: @echo $(FILES) "files" @echo $(LINES) "lines" diff --git a/Sources/cudaBridge/Model.cpp b/Sources/cudaBridge/Model.cc similarity index 100% rename from Sources/cudaBridge/Model.cpp rename to Sources/cudaBridge/Model.cc diff --git a/Sources/cudaBridge/OptixRenderer.cpp b/Sources/cudaBridge/OptixRenderer.cc similarity index 100% rename from Sources/cudaBridge/OptixRenderer.cpp rename to Sources/cudaBridge/OptixRenderer.cc diff --git a/Sources/cudaBridge/cudaBridge.cpp b/Sources/cudaBridge/cudaBridge.cc similarity index 100% rename from Sources/cudaBridge/cudaBridge.cpp rename to Sources/cudaBridge/cudaBridge.cc diff --git a/Sources/exr/exr.cpp b/Sources/exr/exr.cc similarity index 100% rename from Sources/exr/exr.cpp rename to Sources/exr/exr.cc diff --git a/Sources/ptexBridge/ptex.cpp b/Sources/ptexBridge/ptex.cc similarity index 100% rename from Sources/ptexBridge/ptex.cpp rename to Sources/ptexBridge/ptex.cc