build: add CUE4Parse-conversion

This commit is contained in:
2026-06-18 15:26:42 -03:00
parent 8107ff8080
commit 95a2132f42
2 changed files with 16 additions and 4 deletions
+10 -1
View File
@@ -62,6 +62,7 @@ if (UNLOCKER_DUMPER)
set(CUE4PARSE_NATIVE_DIR "${cue4parse_SOURCE_DIR}/CUE4Parse-Natives") set(CUE4PARSE_NATIVE_DIR "${cue4parse_SOURCE_DIR}/CUE4Parse-Natives")
add_subdirectory(${CUE4PARSE_NATIVE_DIR}) add_subdirectory(${CUE4PARSE_NATIVE_DIR})
# net
include_external_msproject( include_external_msproject(
CUE4Parse-Net CUE4Parse-Net
"${cue4parse_SOURCE_DIR}/CUE4Parse/CUE4Parse.csproj" "${cue4parse_SOURCE_DIR}/CUE4Parse/CUE4Parse.csproj"
@@ -69,6 +70,14 @@ if (UNLOCKER_DUMPER)
PLATFORM "Any CPU" PLATFORM "Any CPU"
) )
add_dependencies(CUE4Parse-Net CUE4Parse-Natives) add_dependencies(CUE4Parse-Net CUE4Parse-Natives)
# conv
include_external_msproject(
CUE4Parse-Conversion
"${cue4parse_SOURCE_DIR}/CUE4Parse-Conversion/CUE4Parse-Conversion.csproj"
TYPE "9A19103F-16F7-4668-BE54-9A1E7A4F7556"
PLATFORM "Any CPU"
)
endif() endif()
set(SEALLIB_ASSERT ON CACHE BOOL "" FORCE) set(SEALLIB_ASSERT ON CACHE BOOL "" FORCE)
@@ -110,7 +119,7 @@ endif()
# ------------------------------ # ------------------------------
if (UNLOCKER_DUMPER) if (UNLOCKER_DUMPER)
include_external_msproject(hex-dumped "${CMAKE_CURRENT_SOURCE_DIR}/src/dumper/hex-dumped.csproj" TYPE "9A19103F-16F7-4668-BE54-9A1E7A4F7556") include_external_msproject(hex-dumped "${CMAKE_CURRENT_SOURCE_DIR}/src/dumper/hex-dumped.csproj" TYPE "9A19103F-16F7-4668-BE54-9A1E7A4F7556")
add_dependencies(hex-dumped CUE4Parse-Net) add_dependencies(hex-dumped CUE4Parse-Net CUE4Parse-Conversion)
endif() endif()
# ------------------------------ # ------------------------------
+5 -2
View File
@@ -23,8 +23,11 @@
<ItemGroup> <ItemGroup>
<ProjectReference Include="$(SolutionDir)_deps\cue4parse-src\CUE4Parse\CUE4Parse.csproj"> <ProjectReference Include="$(SolutionDir)_deps\cue4parse-src\CUE4Parse\CUE4Parse.csproj">
<Project>{E3464BCC-66F1-3FBA-B83E-B064C2637900}</Project> <Properties>CMakeExitCode=0;Platform=AnyCPU</Properties>
<Properties>BuildNatives=false;SkipNativeBuild=true;CMakeExitCode=0;Platform=AnyCPU</Properties> </ProjectReference>
<ProjectReference Include="$(SolutionDir)_deps\cue4parse-src\CUE4Parse-Conversion\CUE4Parse-Conversion.csproj">
<Properties>CMakeExitCode=0;Platform=AnyCPU</Properties>
</ProjectReference> </ProjectReference>
</ItemGroup> </ItemGroup>
</Project> </Project>