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
7f486d6b
"wrappers/python/vscode:/vscode.git/clone" did not exist on "ca28c38a7eef89ee6538480e7bfed7004cea8eb5"
Commit
7f486d6b
authored
Apr 21, 2010
by
Peter Eastman
Browse files
Fixed compilation error under Windows
parent
f7c92bbd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
platforms/opencl/EncodeCLFiles.cmake
platforms/opencl/EncodeCLFiles.cmake
+1
-1
No files found.
platforms/opencl/EncodeCLFiles.cmake
View file @
7f486d6b
...
@@ -6,8 +6,8 @@ FOREACH(file ${OPENCL_KERNELS})
...
@@ -6,8 +6,8 @@ FOREACH(file ${OPENCL_KERNELS})
# Load the file contents and process it.
# Load the file contents and process it.
FILE
(
STRINGS
${
file
}
file_content NEWLINE_CONSUME
)
FILE
(
STRINGS
${
file
}
file_content NEWLINE_CONSUME
)
STRING
(
REPLACE \\\n \\\\\n file_content
"
${
file_content
}
"
)
STRING
(
REPLACE \\\n \\\\\n file_content
"
${
file_content
}
"
)
STRING
(
REPLACE \n \\n file_content
"
${
file_content
}
"
)
STRING
(
REPLACE \" \\\" file_content
"
${
file_content
}
"
)
STRING
(
REPLACE \" \\\" file_content
"
${
file_content
}
"
)
STRING
(
REPLACE \n \\n\"\n\" file_content
"
${
file_content
}
"
)
# Determine a name for the variable that will contain this file's contents
# Determine a name for the variable that will contain this file's contents
FILE
(
RELATIVE_PATH filename
${
CL_SOURCE_DIR
}
/kernels
${
file
}
)
FILE
(
RELATIVE_PATH filename
${
CL_SOURCE_DIR
}
/kernels
${
file
}
)
...
...
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