Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
5de6eed1
Commit
5de6eed1
authored
Dec 09, 2009
by
vvaintroub
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use CMAKE_CFG_INTDIR instead of different MSVC and Xcode specific
configuration names
parent
ab83c7df
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
cmake/install_macros.cmake
cmake/install_macros.cmake
+2
-3
No files found.
cmake/install_macros.cmake
View file @
5de6eed1
...
...
@@ -30,8 +30,7 @@ MACRO (INSTALL_DEBUG_SYMBOLS targets)
STRING
(
REPLACE
".exe"
".pdb"
pdb_location
${
location
}
)
STRING
(
REPLACE
".dll"
".pdb"
pdb_location
${
pdb_location
}
)
STRING
(
REPLACE
".lib"
".pdb"
pdb_location
${
pdb_location
}
)
STRING
(
REPLACE
"$(OutDir)"
"
\$
{CMAKE_INSTALL_CONFIG_NAME}"
pdb_location
${
pdb_location
}
)
STRING
(
REPLACE
"$(ConfigurationName)"
"
\$
{CMAKE_INSTALL_CONFIG_NAME}"
pdb_location
${
pdb_location
}
)
STRING
(
REPLACE
"
${
CMAKE_CFG_INTDIR
}
"
"
\$
{CMAKE_INSTALL_CONFIG_NAME}"
pdb_location
${
pdb_location
}
)
INSTALL
(
FILES
${
pdb_location
}
DESTINATION
${
INSTALL_LOCATION
}
)
ENDFOREACH
()
ENDIF
()
...
...
@@ -62,7 +61,7 @@ IF(UNIX)
DEPENDS
${
output
}
)
SET_TARGET_PROPERTIES
(
symlink_
${
linkbasename
}${
ext
}
PROPERTIES CLEAN_DIRECT_OUTPUT 1
)
# For Xcode, replace project config with install config
STRING
(
REPLACE
"$
(CONFIGURATION)
"
"
\$
{CMAKE_INSTALL_CONFIG_NAME}"
output
${
output
}
)
STRING
(
REPLACE
"
$
{
CMAKE_CFG_INTDIR
}
"
"
\$
{CMAKE_INSTALL_CONFIG_NAME}"
output
${
output
}
)
INSTALL
(
FILES
${
output
}
DESTINATION
${
destination
}
)
ENDIF
()
ENDMACRO
()
...
...
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