Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
These changes are Apache 2.0
CMAKE_BUILD_TYPE
will default to Release if empty (forced).DAZ_STUDIO_EXE_DIR
,DAZ_SDK_DIR
,ALEMBIC_DIR
,FBX_SDK_DIR
,IMATH_DIR
,OPENSUBDIV_DIR
: If paths are not empty, leave them alone. If they're empty, try and auto detect default install paths & fill if present (Windows OS only). Related original code have been moved or replaced.QT_BINARY_DIR
: Auto-populates ifDAZ_SDK_DIR
has been correctly set. Will ignore the field if text has been detected in case custom changes are made on purpose.QT_BINARY_DIR
: Edited popup description to reflect that this is supposed to point to the DAZ SDK's Qt exes.QT_IMPORTS_DIR
: Force set the path & description to explain that this is not in use by DazToUnreal. By default it used to point to a Daz developer's private folder.QT_IMPORTS_DIR
: Now hidden from default view, and should only be visible when advanced is toggled on.QT_DOC_DIR
: Now auto-populates & points to Daz SDK's copy. Untested if this has any effect.OPENSUBDIV_INCLUDE
now auto-points to the/include
subfolder of${OPENSUBDIV_DIR}
following OpenSubdiv's expected include installed location.OPENSUBDIV_LIB
now points to${OPENSUBDIV_DIR}/lib/osdCPU.lib
following OpenSubdiv's expected lib installed location.The above changes have been tested and confirmed as working when tested with CMake (gui) v3.24.1 on Windows 10 for both DazToUnreal 2023 v1.2 (2023.1.2.63) and DazToUnreal v5.2.1.207 with Visual Studio 2019.
Default folders checked on windows for non-Daz libraries
ALEMBIC_DIR
,FBX_SDK_DIR
,IMATH_DIR
,OPENSUBDIV_DIR
are eitherC:/Program Files/
orC:/Program Files (x86)/
as appropriate based on their default install/compile-to locations.C:/dev/
is also checked if the above checks fail.