summaryrefslogtreecommitdiff
path: root/src/mesh/assimp-master/scripts/adjust_header_paths.sh
diff options
context:
space:
mode:
authorsanine <sanine.not@pm.me>2022-03-04 10:47:15 -0600
committersanine <sanine.not@pm.me>2022-03-04 10:47:15 -0600
commit058f98a63658dc1a2579826ba167fd61bed1e21f (patch)
treebcba07a1615a14d943f3af3f815a42f3be86b2f3 /src/mesh/assimp-master/scripts/adjust_header_paths.sh
parent2f8028ac9e0812cb6f3cbb08f0f419e4e717bd22 (diff)
add assimp submodule
Diffstat (limited to 'src/mesh/assimp-master/scripts/adjust_header_paths.sh')
-rw-r--r--src/mesh/assimp-master/scripts/adjust_header_paths.sh38
1 files changed, 38 insertions, 0 deletions
diff --git a/src/mesh/assimp-master/scripts/adjust_header_paths.sh b/src/mesh/assimp-master/scripts/adjust_header_paths.sh
new file mode 100644
index 0000000..7c3bb37
--- /dev/null
+++ b/src/mesh/assimp-master/scripts/adjust_header_paths.sh
@@ -0,0 +1,38 @@
+declare -a headers=("fast_atof.h"
+ "qnan.h"
+ "BaseImporter.h"
+ "Hash.h"
+ "MemoryIOWrapper.h"
+ "ParsingUtils.h"
+ "StreamReader.h"
+ "StreamWriter.h"
+ "StringComparison.h"
+ "StringUtils.h"
+ "SGSpatialSort.h"
+ "GenericProperty.h"
+ "SpatialSort.h"
+ "SkeletonMeshBuilder.h"
+ "SmoothingGroups.h"
+ "StandardShapes.h"
+ "RemoveComments.h"
+ "Subdivision.h"
+ "Vertex.h"
+ "LineSplitter.h"
+ "TinyFormatter.h"
+ "Profiler.h"
+ "LogAux.h"
+ "Bitmap.h"
+ "XMLTools.h"
+ "IOStreamBuffer.h"
+ "CreateAnimMesh.h"
+ "irrXMLWrapper.h"
+ "BlobIOSystem.h"
+ "MathFunctions.h"
+ "Macros.h"
+ "Exceptional.h"
+ "ByteSwapper.h")
+
+for i in "${headers[@]}"
+do
+ find . -type f -exec sed -i "s,<../code/$i>,<assimp/$i>,g" {} \;
+done