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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
90b1a579
Commit
90b1a579
authored
Jan 16, 2012
by
Tor Didriksen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug#13551687 CMAKE GENERATED PROJECT FILES ALWAYS HAVE THE SAME NAME IN VISUAL STUDIO
Add option to set project name for Mac/Windows.
parent
09319cde
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
1 deletion
+12
-1
CMakeLists.txt
CMakeLists.txt
+12
-1
No files found.
CMakeLists.txt
View file @
90b1a579
...
...
@@ -79,8 +79,19 @@ ELSEIF(NOT HAVE_CMAKE_BUILD_TYPE OR OLD_WITH_DEBUG)
SET
(
OLD_WITH_DEBUG 0 CACHE INTERNAL
""
FORCE
)
ENDIF
()
# Optionally set project name, e.g.
# foo.xcodeproj (mac) or foo.sln (windows)
SET
(
MYSQL_PROJECT_NAME_DOCSTRING
"MySQL project name"
)
IF
(
DEFINED MYSQL_PROJECT_NAME
)
SET
(
MYSQL_PROJECT_NAME
${
MYSQL_PROJECT_NAME
}
CACHE STRING
${
MYSQL_PROJECT_NAME_DOCSTRING
}
FORCE
)
ELSE
()
SET
(
MYSQL_PROJECT_NAME
"MySQL"
CACHE STRING
${
MYSQL_PROJECT_NAME_DOCSTRING
}
FORCE
)
MARK_AS_ADVANCED
(
MYSQL_PROJECT_NAME
)
ENDIF
()
PROJECT
(
${
MYSQL_PROJECT_NAME
}
)
PROJECT
(
MySQL
)
IF
(
BUILD_CONFIG
)
INCLUDE
(
${
CMAKE_SOURCE_DIR
}
/cmake/build_configurations/
${
BUILD_CONFIG
}
.cmake
)
...
...
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