Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
gaoqiong
MIGraphX
Commits
247cd604
"test/algo/git@developer.sourcefind.cn:OpenDAS/nni.git" did not exist on "f24dc27b95c98e01d77d7f8b668a70effd14d974"
Commit
247cd604
authored
Nov 02, 2023
by
Artur Wojcik
Browse files
fix Windows paths in resource script file
parent
1d39278b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
cmake/Embed.cmake
cmake/Embed.cmake
+1
-0
No files found.
cmake/Embed.cmake
View file @
247cd604
...
@@ -75,6 +75,7 @@ function(generate_embed_source EMBED_NAME EMBED_DIR BASE_DIRECTORY)
...
@@ -75,6 +75,7 @@ function(generate_embed_source EMBED_NAME EMBED_DIR BASE_DIRECTORY)
string
(
TOUPPER
"
${
SYMBOL
}
"
SYMBOL
)
string
(
TOUPPER
"
${
SYMBOL
}
"
SYMBOL
)
string
(
APPEND FILE_IDS
"#define IDR_
${
SYMBOL
}
${
RESOURCE_ID
}
\n
"
)
string
(
APPEND FILE_IDS
"#define IDR_
${
SYMBOL
}
${
RESOURCE_ID
}
\n
"
)
cmake_path
(
NATIVE_PATH FILE NORMALIZE NATIVE_FILE
)
cmake_path
(
NATIVE_PATH FILE NORMALIZE NATIVE_FILE
)
string
(
REPLACE
"
\\
"
"
\\\\
"
NATIVE_FILE
"
${
NATIVE_FILE
}
"
)
string
(
APPEND RC_FILE_MAPPING
"IDR_
${
SYMBOL
}
TEXTFILE
\"
${
NATIVE_FILE
}
\"\n
"
)
string
(
APPEND RC_FILE_MAPPING
"IDR_
${
SYMBOL
}
TEXTFILE
\"
${
NATIVE_FILE
}
\"\n
"
)
string
(
APPEND INIT_KERNELS
"
\n
{
\"
${
BASE_NAME
}
\"
, resource::read(IDR_
${
SYMBOL
}
)},"
)
string
(
APPEND INIT_KERNELS
"
\n
{
\"
${
BASE_NAME
}
\"
, resource::read(IDR_
${
SYMBOL
}
)},"
)
math
(
EXPR RESOURCE_ID
"
${
RESOURCE_ID
}
+ 1"
OUTPUT_FORMAT DECIMAL
)
math
(
EXPR RESOURCE_ID
"
${
RESOURCE_ID
}
+ 1"
OUTPUT_FORMAT DECIMAL
)
...
...
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