File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -136,13 +136,21 @@ if("${CMAKE_BUILD_TYPE}" STREQUAL "Release")
136
136
"${CMAKE_SOURCE_DIR} /Assets/FbxExporters/FbxSdk/Plugins/UnityFbxSdk.dll"
137
137
DEPENDS
138
138
"${CLASS_LIBRARY_DEST} "
139
+ ${FBXSDK_PACKAGE_TARGET}
139
140
)
140
141
add_custom_target (UnityFbxExporterEditorDLL ALL DEPENDS ${CLASS_LIBRARY_DEST} /${EDITOR_CLASS_LIBRARY_NAME} )
141
142
142
143
endif ()
143
144
144
145
###########################################################################
145
146
# Add target for creating a package
147
+
148
+ # remove .pyc files that we don't want to ship
149
+ file (GLOB PYC_FILES "${CMAKE_SOURCE_DIR} /Assets/FbxExporters/Integrations/Autodesk/maya/scripts/unityOneClick/*.pyc" )
150
+ IF ( PYC_FILES )
151
+ file (REMOVE ${PYC_FILES} )
152
+ ENDIF ()
153
+
146
154
add_custom_command (
147
155
OUTPUT ${PACKAGE_PATH}
148
156
COMMAND "${CMAKE_COMMAND} " --build . --target install --config Release
You can’t perform that action at this time.
0 commit comments