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
, \
19 $(eval
$(call gb_StaticLibrary_set_warnings_not_errors
,collada2gltf
))
21 $(eval
$(call gb_StaticLibrary_add_defs
,collada2gltf
,\
25 # collada2gltf has a lot of warnings, suppress them.
26 $(eval
$(call gb_StaticLibrary_add_cxxflags
,collada2gltf
,\
30 $(eval
$(call gb_StaticLibrary_add_defs
,collada2gltf
,\
31 -D_CRT_SECURE_NO_WARNINGS \
37 $(eval
$(call gb_StaticLibrary_set_generated_cxx_suffix
,collada2gltf
,cpp))
39 $(eval
$(call gb_StaticLibrary_set_include
,collada2gltf
,\
40 -I
$(call gb_UnpackedTarball_get_dir
,collada2gltf
) \
41 -I
$(call gb_UnpackedTarball_get_dir
,collada2gltf
)/assetModifiers \
42 -I
$(call gb_UnpackedTarball_get_dir
,collada2gltf
)/convert \
43 -I
$(call gb_UnpackedTarball_get_dir
,collada2gltf
)/dependencies
/json
/include/rapidjson \
44 -I
$(call gb_UnpackedTarball_get_dir
,collada2gltf
)/extensions
/o3dgc-compression \
45 -I
$(call gb_UnpackedTarball_get_dir
,collada2gltf
)/GLTF \
46 -I
$(call gb_UnpackedTarball_get_dir
,collada2gltf
)/helpers \
47 -I
$(call gb_UnpackedTarball_get_dir
,collada2gltf
)/JSON \
48 -I
$(call gb_UnpackedTarball_get_dir
,collada2gltf
)/profiles
/webgl-1.0 \
49 -I
$(call gb_UnpackedTarball_get_dir
,collada2gltf
)/shaders \
53 $(eval
$(call gb_StaticLibrary_add_generated_exception_objects
,collada2gltf
,\
54 UnpackedTarball
/collada2gltf
/COLLADA2GLTFWriter \
55 UnpackedTarball
/collada2gltf
/GitSHA1 \
56 UnpackedTarball
/collada2gltf
/GLTFOpenCOLLADAUtils \
57 UnpackedTarball
/collada2gltf
/assetModifiers
/GLTFFlipUVModifier \
58 UnpackedTarball
/collada2gltf
/convert
/meshConverter \
59 UnpackedTarball
/collada2gltf
/convert
/animationConverter \
60 UnpackedTarball
/collada2gltf
/extensions
/o3dgc-compression
/GLTF-Open3DGC \
61 UnpackedTarball
/collada2gltf
/GLTF
/GLTFAccessor \
62 UnpackedTarball
/collada2gltf
/GLTF
/GLTFAccessorCache \
63 UnpackedTarball
/collada2gltf
/GLTF
/GLTFAsset \
64 UnpackedTarball
/collada2gltf
/GLTF
/GLTFAnimation \
65 UnpackedTarball
/collada2gltf
/GLTF
/GLTFBuffer \
66 UnpackedTarball
/collada2gltf
/GLTF
/GLTFConfig \
67 UnpackedTarball
/collada2gltf
/GLTF
/GLTFEffect \
68 UnpackedTarball
/collada2gltf
/GLTF
/GLTFExtraDataHandler \
69 UnpackedTarball
/collada2gltf
/GLTF
/GLTFInputStream \
70 UnpackedTarball
/collada2gltf
/GLTF
/GLTFMesh \
71 UnpackedTarball
/collada2gltf
/GLTF
/GLTFOutputStream \
72 UnpackedTarball
/collada2gltf
/GLTF
/GLTFPrimitive \
73 UnpackedTarball
/collada2gltf
/GLTF
/GLTFProfile \
74 UnpackedTarball
/collada2gltf
/GLTF
/GLTFSkin \
75 UnpackedTarball
/collada2gltf
/GLTF
/GLTFUtils \
76 UnpackedTarball
/collada2gltf
/GLTF
/GLTFWriter \
77 UnpackedTarball
/collada2gltf
/helpers
/geometryHelpers \
78 UnpackedTarball
/collada2gltf
/helpers
/mathHelpers \
79 UnpackedTarball
/collada2gltf
/JSON
/JSONArray \
80 UnpackedTarball
/collada2gltf
/JSON
/JSONNumber \
81 UnpackedTarball
/collada2gltf
/JSON
/JSONObject \
82 UnpackedTarball
/collada2gltf
/JSON
/JSONString \
83 UnpackedTarball
/collada2gltf
/JSON
/JSONValue \
84 UnpackedTarball
/collada2gltf
/profiles
/webgl-1.0
/GLTFWebGL_1_0_Profile \
85 UnpackedTarball
/collada2gltf
/shaders
/commonProfileShaders \
88 # o3dgc external library compiled from collada2gltf
89 $(eval
$(call gb_StaticLibrary_set_include
,collada2gltf
,\
90 -I
$(call gb_UnpackedTarball_get_dir
,collada2gltf
)/dependencies
/o3dgc
/src
/o3dgc_common_lib
/inc \
91 -I
$(call gb_UnpackedTarball_get_dir
,collada2gltf
)/dependencies
/o3dgc
/src
/o3dgc_decode_lib
/inc \
92 -I
$(call gb_UnpackedTarball_get_dir
,collada2gltf
)/dependencies
/o3dgc
/src
/o3dgc_encode_lib
/inc \
96 $(eval
$(call gb_StaticLibrary_add_generated_exception_objects
,collada2gltf
,\
97 UnpackedTarball
/collada2gltf
/dependencies
/o3dgc
/src
/o3dgc_common_lib
/src
/o3dgcArithmeticCodec \
98 UnpackedTarball
/collada2gltf
/dependencies
/o3dgc
/src
/o3dgc_common_lib
/src
/o3dgcTools \
99 UnpackedTarball
/collada2gltf
/dependencies
/o3dgc
/src
/o3dgc_common_lib
/src
/o3dgcTriangleFans \
100 UnpackedTarball
/collada2gltf
/dependencies
/o3dgc
/src
/o3dgc_decode_lib
/src
/o3dgcDynamicVectorDecoder \
101 UnpackedTarball
/collada2gltf
/dependencies
/o3dgc
/src
/o3dgc_encode_lib
/src
/o3dgcDynamicVectorEncoder \
104 # vim: set noet sw=4 ts=4: