Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
instant-ngp-tomography
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Thomas Pickles
instant-ngp-tomography
Commits
a0970c7d
Commit
a0970c7d
authored
2 years ago
by
Thomas Müller
Browse files
Options
Downloads
Patches
Plain Diff
Fix DLSS DLL not being correctly copied into the binary release
parent
690e0839
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
CMakeLists.txt
+2
-1
2 additions, 1 deletion
CMakeLists.txt
with
2 additions
and
1 deletion
CMakeLists.txt
+
2
−
1
View file @
a0970c7d
...
@@ -341,7 +341,8 @@ endif()
...
@@ -341,7 +341,8 @@ endif()
set
(
NGP_BINARY_FILE
"
\"
${
CMAKE_CURRENT_SOURCE_DIR
}
/$<TARGET_FILE_NAME:instant-ngp>
\"
"
)
set
(
NGP_BINARY_FILE
"
\"
${
CMAKE_CURRENT_SOURCE_DIR
}
/$<TARGET_FILE_NAME:instant-ngp>
\"
"
)
if
(
MSVC
)
if
(
MSVC
)
add_custom_command
(
TARGET instant-ngp POST_BUILD COMMAND
${
CMAKE_COMMAND
}
-E copy $<TARGET_FILE:instant-ngp>
${
CMAKE_CURRENT_SOURCE_DIR
}
)
add_custom_command
(
TARGET instant-ngp POST_BUILD COMMAND
${
CMAKE_COMMAND
}
-E copy $<TARGET_FILE:instant-ngp>
${
CMAKE_CURRENT_SOURCE_DIR
}
)
file
(
GLOB NGP_REQUIRED_DLLS
"
${
CUDA_COMPILER_BIN
}
/cudart64*.dll"
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/dependencies/dlss/lib/Windows_x86_64/
${
NGX_BUILD_DIR
}
/nvngx_dlss.dll"
)
file
(
GLOB NGP_REQUIRED_DLLS
"
${
CUDA_COMPILER_BIN
}
/cudart64*.dll"
)
list
(
APPEND NGP_REQUIRED_DLLS
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/dependencies/dlss/lib/Windows_x86_64/
${
NGX_BUILD_DIR
}
/nvngx_dlss.dll"
)
if
(
NGP_REQUIRED_DLLS
)
if
(
NGP_REQUIRED_DLLS
)
add_custom_command
(
TARGET instant-ngp POST_BUILD
add_custom_command
(
TARGET instant-ngp POST_BUILD
COMMAND
${
CMAKE_COMMAND
}
-E copy
${
NGP_REQUIRED_DLLS
}
${
CMAKE_CURRENT_SOURCE_DIR
}
COMMAND
${
CMAKE_COMMAND
}
-E copy
${
NGP_REQUIRED_DLLS
}
${
CMAKE_CURRENT_SOURCE_DIR
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment