Bump version to 4.3-4
[LibreOffice.git] / external / collada2gltf / StaticLibrary_collada2gltf.mk
blob9adb9d86abfc01c6cad575c79de33a9c9034b27f
1 # -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
3 # This file is part of the LibreOffice project.
5 # This Source Code Form is subject to the terms of the Mozilla Public
6 # License, v. 2.0. If a copy of the MPL was not distributed with this
7 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
10 $(eval $(call gb_StaticLibrary_StaticLibrary,collada2gltf))
12 $(eval $(call gb_StaticLibrary_use_unpacked,collada2gltf,collada2gltf))
14 $(eval $(call gb_StaticLibrary_use_externals,collada2gltf, \
15 boost_headers \
16 opencollada_parser \
17 png \
20 $(eval $(call gb_StaticLibrary_set_warnings_not_errors,collada2gltf))
22 $(eval $(call gb_StaticLibrary_add_defs,collada2gltf,\
23 -DUSE_OPEN3DGC \
26 ifeq ($(COM),MSC)
27 $(eval $(call gb_StaticLibrary_add_defs,collada2gltf,\
28 -D_CRT_SECURE_NO_WARNINGS \
29 -EHsc \
32 endif
34 $(eval $(call gb_StaticLibrary_set_generated_cxx_suffix,collada2gltf,cpp))
36 $(eval $(call gb_StaticLibrary_set_include,collada2gltf,\
37 -I$(call gb_UnpackedTarball_get_dir,collada2gltf) \
38 -I$(call gb_UnpackedTarball_get_dir,collada2gltf)/assetModifiers \
39 -I$(call gb_UnpackedTarball_get_dir,collada2gltf)/convert \
40 -I$(call gb_UnpackedTarball_get_dir,collada2gltf)/dependencies/json/include/rapidjson \
41 -I$(call gb_UnpackedTarball_get_dir,collada2gltf)/extensions/o3dgc-compression \
42 -I$(call gb_UnpackedTarball_get_dir,collada2gltf)/GLTF \
43 -I$(call gb_UnpackedTarball_get_dir,collada2gltf)/helpers \
44 -I$(call gb_UnpackedTarball_get_dir,collada2gltf)/JSON \
45 -I$(call gb_UnpackedTarball_get_dir,collada2gltf)/profiles/webgl-1.0 \
46 -I$(call gb_UnpackedTarball_get_dir,collada2gltf)/shaders \
47 $$(INCLUDE) \
50 $(eval $(call gb_StaticLibrary_add_generated_exception_objects,collada2gltf,\
51 UnpackedTarball/collada2gltf/COLLADA2GLTFWriter \
52 UnpackedTarball/collada2gltf/GitSHA1 \
53 UnpackedTarball/collada2gltf/GLTFOpenCOLLADAUtils \
54 UnpackedTarball/collada2gltf/assetModifiers/GLTFFlipUVModifier \
55 UnpackedTarball/collada2gltf/convert/meshConverter \
56 UnpackedTarball/collada2gltf/convert/animationConverter \
57 UnpackedTarball/collada2gltf/extensions/o3dgc-compression/GLTF-Open3DGC \
58 UnpackedTarball/collada2gltf/GLTF/GLTFAccessor \
59 UnpackedTarball/collada2gltf/GLTF/GLTFAccessorCache \
60 UnpackedTarball/collada2gltf/GLTF/GLTFAsset \
61 UnpackedTarball/collada2gltf/GLTF/GLTFAnimation \
62 UnpackedTarball/collada2gltf/GLTF/GLTFBuffer \
63 UnpackedTarball/collada2gltf/GLTF/GLTFConfig \
64 UnpackedTarball/collada2gltf/GLTF/GLTFEffect \
65 UnpackedTarball/collada2gltf/GLTF/GLTFExtraDataHandler \
66 UnpackedTarball/collada2gltf/GLTF/GLTFInputStream \
67 UnpackedTarball/collada2gltf/GLTF/GLTFMesh \
68 UnpackedTarball/collada2gltf/GLTF/GLTFOutputStream \
69 UnpackedTarball/collada2gltf/GLTF/GLTFPrimitive \
70 UnpackedTarball/collada2gltf/GLTF/GLTFProfile \
71 UnpackedTarball/collada2gltf/GLTF/GLTFSkin \
72 UnpackedTarball/collada2gltf/GLTF/GLTFUtils \
73 UnpackedTarball/collada2gltf/GLTF/GLTFWriter \
74 UnpackedTarball/collada2gltf/helpers/geometryHelpers \
75 UnpackedTarball/collada2gltf/helpers/mathHelpers \
76 UnpackedTarball/collada2gltf/JSON/JSONArray \
77 UnpackedTarball/collada2gltf/JSON/JSONNumber \
78 UnpackedTarball/collada2gltf/JSON/JSONObject \
79 UnpackedTarball/collada2gltf/JSON/JSONString \
80 UnpackedTarball/collada2gltf/JSON/JSONValue \
81 UnpackedTarball/collada2gltf/profiles/webgl-1.0/GLTFWebGL_1_0_Profile \
82 UnpackedTarball/collada2gltf/shaders/commonProfileShaders \
85 # o3dgc external library compiled from collada2gltf
86 $(eval $(call gb_StaticLibrary_set_include,collada2gltf,\
87 -I$(call gb_UnpackedTarball_get_dir,collada2gltf)/dependencies/o3dgc/src/o3dgc_common_lib/inc \
88 -I$(call gb_UnpackedTarball_get_dir,collada2gltf)/dependencies/o3dgc/src/o3dgc_decode_lib/inc \
89 -I$(call gb_UnpackedTarball_get_dir,collada2gltf)/dependencies/o3dgc/src/o3dgc_encode_lib/inc \
90 $$(INCLUDE) \
93 $(eval $(call gb_StaticLibrary_add_generated_exception_objects,collada2gltf,\
94 UnpackedTarball/collada2gltf/dependencies/o3dgc/src/o3dgc_common_lib/src/o3dgcArithmeticCodec \
95 UnpackedTarball/collada2gltf/dependencies/o3dgc/src/o3dgc_common_lib/src/o3dgcTools \
96 UnpackedTarball/collada2gltf/dependencies/o3dgc/src/o3dgc_common_lib/src/o3dgcTriangleFans \
97 UnpackedTarball/collada2gltf/dependencies/o3dgc/src/o3dgc_decode_lib/src/o3dgcDynamicVectorDecoder \
98 UnpackedTarball/collada2gltf/dependencies/o3dgc/src/o3dgc_encode_lib/src/o3dgcDynamicVectorEncoder \
101 # vim: set noet sw=4 ts=4: