Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
CMake
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Johnny Jazeix
CMake
Commits
ec0bf638
Commit
ec0bf638
authored
8 years ago
by
Brad King
Browse files
Options
Downloads
Patches
Plain Diff
bootstrap: Add options to enable/disable server mode explicitly
parent
523f8ec8
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
bootstrap
+11
-0
11 additions, 0 deletions
bootstrap
with
11 additions
and
0 deletions
bootstrap
+
11
−
0
View file @
ec0bf638
...
...
@@ -65,6 +65,7 @@ cmake_init_file=""
cmake_bootstrap_system_libs
=
""
cmake_bootstrap_qt_gui
=
""
cmake_bootstrap_qt_qmake
=
""
cmake_bootstrap_server
=
""
cmake_sphinx_man
=
""
cmake_sphinx_html
=
""
cmake_sphinx_qthelp
=
""
...
...
@@ -407,6 +408,9 @@ Configuration:
--no-qt-gui do not build the Qt-based GUI (default)
--qt-qmake=<qmake> use <qmake> as the qmake executable to find Qt
--server enable the server mode (default if supported)
--no-server disable the server mode
--sphinx-man build man pages with Sphinx
--sphinx-html build html help with Sphinx
--sphinx-qthelp build qch help with Sphinx
...
...
@@ -641,6 +645,8 @@ while test $# != 0; do
--qt-gui
)
cmake_bootstrap_qt_gui
=
"1"
;;
--no-qt-gui
)
cmake_bootstrap_qt_gui
=
"0"
;;
--qt-qmake
=
*
)
cmake_bootstrap_qt_qmake
=
`
cmake_arg
"
$1
"
`
;;
--server
)
cmake_bootstrap_server
=
"1"
;;
--no-server
)
cmake_bootstrap_server
=
"0"
;;
--sphinx-man
)
cmake_sphinx_man
=
"1"
;;
--sphinx-html
)
cmake_sphinx_html
=
"1"
;;
--sphinx-qthelp
)
cmake_sphinx_qthelp
=
"1"
;;
...
...
@@ -1401,6 +1407,11 @@ if [ "x${cmake_bootstrap_qt_qmake}" != "x" ]; then
set (QT_QMAKE_EXECUTABLE "'
"
${
cmake_bootstrap_qt_qmake
}
"
'" CACHE FILEPATH "Location of Qt qmake" FORCE)
'
>>
"
${
cmake_bootstrap_dir
}
/InitialCacheFlags.cmake"
fi
if
[
"x
${
cmake_bootstrap_server
}
"
!=
"x"
]
;
then
echo
'
set (CMake_ENABLE_SERVER_MODE '
"
${
cmake_bootstrap_server
}
"
' CACHE BOOL "Enable server mode" FORCE)
'
>>
"
${
cmake_bootstrap_dir
}
/InitialCacheFlags.cmake"
fi
if
[
"x
${
cmake_sphinx_man
}
"
!=
"x"
]
;
then
echo
'
set (SPHINX_MAN "'
"
${
cmake_sphinx_man
}
"
'" CACHE BOOL "Build man pages with Sphinx" FORCE)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment