mirror of
https://git.mirrors.martin98.com/https://github.com/google/draco
synced 2025-06-04 11:25:44 +08:00
commit
affc0ad888
@ -798,8 +798,6 @@ else ()
|
||||
add_library(draco_maya_plugin OBJECT
|
||||
${draco_maya_plug_sources})
|
||||
|
||||
|
||||
|
||||
# Library targets that consume the object collections.
|
||||
add_library(dracodec
|
||||
${draco_version_sources}
|
||||
@ -917,8 +915,6 @@ else ()
|
||||
endif ()
|
||||
endif ()
|
||||
|
||||
|
||||
|
||||
set(draco_header_only_targets
|
||||
draco_compression_attributes_pred_schemes_dec
|
||||
draco_dec_config
|
||||
@ -936,7 +932,7 @@ else ()
|
||||
if (BUILD_UNITY_PLUGIN AND (NOT APPLE))
|
||||
set_target_properties(dracodec_unity PROPERTIES SOVERSION 1)
|
||||
endif ()
|
||||
if (BUILD_MAYA_PLUGIN)
|
||||
if (BUILD_MAYA_PLUGIN AND (NOT APPLE))
|
||||
set_target_properties(draco_maya_wrapper PROPERTIES SOVERSION 1)
|
||||
endif ()
|
||||
endif ()
|
||||
|
@ -51,6 +51,15 @@ You should be able to find the library under:
|
||||
path/to/build/Debug(or Release)/draco_maya_wrapper.bundle
|
||||
~~~~
|
||||
|
||||
The makefile generator will also work:
|
||||
|
||||
~~~~~ bash
|
||||
$ cmake path/to/draco -DBUILD_MAYA_PLUGIN=ON && make
|
||||
~~~~~
|
||||
|
||||
`draco_maya_wrapper.bundle` can be found in the directory where you generated
|
||||
the build files and ran make.
|
||||
|
||||
### Windows
|
||||
On Windows, run the following command to generate Visual Studio projects:
|
||||
|
||||
@ -72,5 +81,12 @@ path/to/build/Debug(or Release)/draco_maya_wrapper.dll
|
||||
~~~~
|
||||
|
||||
### Linux
|
||||
[TODO]
|
||||
On Linux, run the following command to generate a Makefile build and build the
|
||||
plugin.
|
||||
|
||||
~~~~~ bash
|
||||
$ cmake path/to/draco -DBUILD_MAYA_PLUGIN=1 && make
|
||||
~~~~~
|
||||
|
||||
Note: While the linux build completes successfully, the plugin has not been
|
||||
tested.
|
||||
|
Loading…
x
Reference in New Issue
Block a user