@@ -94,14 +94,6 @@ add_custom_target(
94
94
95
95
###########################################################################
96
96
# Add target to replace the unity package version number in files
97
- if (${CMAKE_SYSTEM_NAME} STREQUAL "Darwin" )
98
- set (VERSION_AS_STRING "\\ '${PACKAGE_VERSION} \\ '" )
99
- elseif (${CMAKE_SYSTEM_NAME} STREQUAL "Windows" )
100
- set (VERSION_AS_STRING "'${PACKAGE_VERSION} '" )
101
- elseif (${CMAKE_SYSTEM_NAME} STREQUAL "Linux" )
102
- set (VERSION_AS_STRING "\\ '${PACKAGE_VERSION} \\ '" )
103
- endif ()
104
-
105
97
set (README_TARGET readme_replace )
106
98
add_custom_target (
107
99
${README_TARGET}
@@ -110,11 +102,6 @@ add_custom_target(
110
102
"${CMAKE_SOURCE_DIR} /Assets/FbxExporters/README.txt"
111
103
".*VERSION.*:.*"
112
104
"VERSION: ${PACKAGE_VERSION} "
113
- COMMAND ${PYTHON_EXECUTABLE}
114
- "${CMAKE_SOURCE_DIR} /scripts/file-search-replace.py"
115
- "${CMAKE_SOURCE_DIR} /Assets/Integrations/Autodesk/maya/scripts/UnityFbxForMaya/version.py"
116
- ".*VERSION.*=.*"
117
- "VERSION = ${VERSION_AS_STRING} "
118
105
DEPENDS "${CMAKE_SOURCE_DIR} /scripts/file-search-replace.py"
119
106
COMMENT "Replacing version number in files with ${PACKAGE_VERSION} "
120
107
)
@@ -131,12 +118,6 @@ set(MAX_INTEGRATION_ZIP_NAME "UnityFbxForMax.zip")
131
118
file (REMOVE "${CMAKE_SOURCE_DIR} /Assets/FbxExporters/${MAYA_INTEGRATION_ZIP_NAME} " )
132
119
file (REMOVE "${CMAKE_SOURCE_DIR} /Assets/FbxExporters/${MAX_INTEGRATION_ZIP_NAME} " )
133
120
134
- # remove .pyc files that we don't want to ship
135
- file (GLOB PYC_FILES "${CMAKE_SOURCE_DIR} /Assets/Integrations/Autodesk/maya/scripts/unityOneClick/*.pyc" )
136
- IF ( PYC_FILES )
137
- file (REMOVE ${PYC_FILES} )
138
- ENDIF ()
139
-
140
121
# remove .meta files from Integrations
141
122
file (GLOB_RECURSE META_FILES "${CMAKE_SOURCE_DIR} /Assets/Integrations/*.meta" )
142
123
@@ -146,7 +127,6 @@ add_custom_command(OUTPUT ${MAYA_INTEGRATION_ZIP_NAME}
146
127
ENDIF
147
128
COMMAND ${CMAKE_COMMAND} -E tar "cfv" ${CMAKE_SOURCE_DIR} /Assets/FbxExporters/${MAYA_INTEGRATION_ZIP_NAME} --format=zip
148
129
"${CMAKE_SOURCE_DIR} /Assets/Integrations/Autodesk/maya"
149
- "${CMAKE_SOURCE_DIR} /Assets/Integrations/.gitignore"
150
130
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR} /Assets
151
131
COMMENT "Zipping Maya Integration folder"
152
132
DEPENDS ${README_TARGET}
0 commit comments