Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
tsoc
openmm
Commits
6c4f16f9
Commit
6c4f16f9
authored
Jun 03, 2010
by
Mark Friedrichs
Browse files
Fix for output directory name generated for Window's builds
parent
4fd3493a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
cmake_modules/FindCUDA.cmake
cmake_modules/FindCUDA.cmake
+3
-2
No files found.
cmake_modules/FindCUDA.cmake
View file @
6c4f16f9
...
@@ -358,8 +358,9 @@ MACRO(CUDA_add_custom_commands cuda_target)
...
@@ -358,8 +358,9 @@ MACRO(CUDA_add_custom_commands cuda_target)
IF
(
${
file
}
MATCHES
".*
\\
.cu$"
)
IF
(
${
file
}
MATCHES
".*
\\
.cu$"
)
# Add a custom target to generate a c file.
# Add a custom target to generate a c file.
SET
(
generated_file
"
${
CMAKE_BINARY_DIR
}
/src/cuda/
${
file
}
_
${
cuda_target
}
_generated.cpp"
)
GET_FILENAME_COMPONENT
(
filename
${
file
}
NAME
)
SET
(
generated_target
"
${
file
}
_target"
)
SET
(
generated_file
"
${
CMAKE_BINARY_DIR
}
/src/cuda/
${
filename
}
_
${
cuda_target
}
_generated.cpp"
)
SET
(
generated_target
"
${
filename
}
_target"
)
FILE
(
MAKE_DIRECTORY
${
CMAKE_BINARY_DIR
}
/src/cuda
)
FILE
(
MAKE_DIRECTORY
${
CMAKE_BINARY_DIR
}
/src/cuda
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment