You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Remove unwanted files in the install directory (#350)
### Remove unwanted files in the install directory
### Linked issues
n/a
### Summarize your change.
I disabled some tools and apps that were built by a few dependencies and
a few fixes in the variables that we use in our deps Cmake modules.
(**_all platform_**)
I've also added more file filters when we copy files over the install
directory for Qt. I filtered out the following extensions: `pdb`, `lib`
and `exe` (except QtWebEngineProcess.exe because is it needed).
(**_Windows only_**)
I used `windeployqt.exe` to determine which executables was needed, and
only QtWebEngineProcess.exe showed up in the list.
### Describe the reason for the change.
The goal was to lighten the Windows package. These changes removed about
200MB from the zip file and about 800MB for the unzip folder (numbers
are very rough).
### Describe what you have tested and on which operating system.
Tested the Qt part on Windows because the Qt changes only affect
Windows.
Tested the build on Rocky 8.
### Add a list of changes, and note any that might need special
attention during the review.
n/a
### If possible, provide screenshots.
n/a
---------
Signed-off-by: Cédrik Fuoco <cedrik.fuoco@autodesk.com>
Copy file name to clipboardExpand all lines: cmake/dependencies/ocio.cmake
+6-4Lines changed: 6 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -241,19 +241,21 @@ ELSE()
241
241
"-DOCIO_BUILD_TESTS=OFF"
242
242
"-DOCIO_BUILD_GPU_TESTS=OFF"
243
243
"-DOCIO_BUILD_DOCS=OFF"
244
+
# Note for OCIO v2.3.0 (future): OCIO_USE_SSE has been renamed to OCIO_USE_SIMD.
244
245
"-DOCIO_USE_SSE=ON"
246
+
# OCIO apps are not needed.
247
+
"-DOCIO_BUILD_APPS=OFF"
245
248
"-DOCIO_WARNING_AS_ERROR=OFF"
246
249
"-DOCIO_BUILD_JAVA=OFF"
247
250
"-S ${_source_dir}"
248
251
"-B ${_build_dir}"
249
252
)
250
253
251
254
IF(CMAKE_BUILD_TYPEMATCHES"^Debug$")
252
-
# We don't build GLUT in Debug hence the debug lib for Glut doesn't exist which is needed for APPs We also switch the Python EXE because in Debug, Python
253
-
# builds python_d.exe and not the normal EXE filename.
0 commit comments