Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
BornAgain
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
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
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
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mlz
BornAgain
Commits
6486cc25
Commit
6486cc25
authored
4 years ago
by
Wuttke, Joachim
Browse files
Options
Downloads
Patches
Plain Diff
CMake: sort options; AUTOGENERATE now includes CONFIGURE_DOXY
parent
4ea9e1d0
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
CMakeLists.txt
+16
-9
16 additions, 9 deletions
CMakeLists.txt
with
16 additions
and
9 deletions
CMakeLists.txt
+
16
−
9
View file @
6486cc25
...
@@ -20,25 +20,31 @@ add_custom_target(fullcheck COMMAND ${CMAKE_CTEST_COMMAND}) # => 'make check' is
...
@@ -20,25 +20,31 @@ add_custom_target(fullcheck COMMAND ${CMAKE_CTEST_COMMAND}) # => 'make check' is
include
(
VERSION.cmake
)
include
(
VERSION.cmake
)
# declare project-wide user flags, and set default values
## declare project-wide user flags, and set default values
# options that can be switched off to simplify the build and reduce its scope
option
(
BORNAGAIN_PYTHON
"Build with python support"
ON
)
option
(
BORNAGAIN_PYTHON
"Build with python support"
ON
)
option
(
BORNAGAIN_GUI
"Build a graphical user interface"
ON
)
option
(
BORNAGAIN_TIFF_SUPPORT
"Tiff files read/write support"
ON
)
option
(
BORNAGAIN_OPENGL
"Build additional modules for 3D in GUI"
ON
)
option
(
UNITTESTS
"Don't skip unit tests"
ON
)
option
(
BORNAGAIN_USE_PYTHON2
"Build against python 2.7"
OFF
)
option
(
BORNAGAIN_USE_PYTHON2
"Build against python 2.7"
OFF
)
option
(
BORNAGAIN_MPI
"Build with MPI support"
OFF
)
option
(
BORNAGAIN_GENERATE_BINDINGS
"Generate python bindings during build (requires swig)"
OFF
)
option
(
BORNAGAIN_GENERATE_BINDINGS
"Generate python bindings during build (requires swig)"
OFF
)
option
(
BORNAGAIN_GENERATE_PYTHON_DOCS
"Generate python documentation from the doxygen comments"
OFF
)
option
(
BORNAGAIN_GENERATE_PYTHON_DOCS
"Generate python documentation from the doxygen comments"
OFF
)
option
(
BORNAGAIN_GUI
"Build a graphical user interface"
ON
)
option
(
BORNAGAIN_USERMANUAL
"Build the User Manual"
OFF
)
option
(
BORNAGAIN_MANPAGE
"Build Unix man page"
OFF
)
option
(
BORNAGAIN_MANPAGE
"Build Unix man page"
OFF
)
option
(
BORNAGAIN_CONFIGURE_DOXY
"Configure Doxygen files"
OFF
)
option
(
AUTOGENERATE
"Regenerate Py docs, Py wrappers, man page, Doxyfiles"
OFF
)
option
(
BORNAGAIN_USERMANUAL
"Build the User Manual"
OFF
)
option
(
BUILD_DEBIAN
"Build a debian package"
OFF
)
option
(
BUILD_DEBIAN
"Build a debian package"
OFF
)
option
(
BORNAGAIN_APPLE_BUNDLE
"Create a Mac OS X bundle"
OFF
)
option
(
BORNAGAIN_APPLE_BUNDLE
"Create a Mac OS X bundle"
OFF
)
option
(
BORNAGAIN_MPI
"Build with MPI support"
OFF
)
option
(
BORNAGAIN_CONFIGURE_DOXY
"Configure Doxygen files"
OFF
)
option
(
BORNAGAIN_TIFF_SUPPORT
"Tiff files read/write support"
ON
)
option
(
AUTOGENERATE
"Regenerate directory auto (Py docs, Py wrappers, man page)"
OFF
)
option
(
ZERO_TOLERANCE
"Terminate compilation on warnings"
OFF
)
option
(
ZERO_TOLERANCE
"Terminate compilation on warnings"
OFF
)
option
(
UNITTESTS
"Don't skip unit tests"
ON
)
option
(
BORNAGAIN_COVERAGE
"Build with test coverage information"
OFF
)
option
(
BORNAGAIN_COVERAGE
"Build with test coverage information"
OFF
)
option
(
BORNAGAIN_DEBUG_OPTIMIZATION
"Build with debug optimization (gcc only)"
OFF
)
option
(
BORNAGAIN_DEBUG_OPTIMIZATION
"Build with debug optimization (gcc only)"
OFF
)
option
(
BORNAGAIN_OPENGL
"Build additional modules for 3D in GUI"
ON
)
option
(
BORNAGAIN_BUILDBOT_SERVER
"Special option for the buildbot server"
OFF
)
option
(
BORNAGAIN_BUILDBOT_SERVER
"Special option for the buildbot server"
OFF
)
option
(
BORNAGAIN_TIDY
"Invokes clang-tidy"
OFF
)
option
(
BORNAGAIN_TIDY
"Invokes clang-tidy"
OFF
)
...
@@ -46,6 +52,7 @@ if(AUTOGENERATE)
...
@@ -46,6 +52,7 @@ if(AUTOGENERATE)
set
(
BORNAGAIN_MANPAGE ON
)
set
(
BORNAGAIN_MANPAGE ON
)
set
(
BORNAGAIN_GENERATE_PYTHON_DOCS ON
)
set
(
BORNAGAIN_GENERATE_PYTHON_DOCS ON
)
set
(
BORNAGAIN_GENERATE_BINDINGS ON
)
set
(
BORNAGAIN_GENERATE_BINDINGS ON
)
set
(
BORNAGAIN_CONFIGURE_DOXY ON
)
endif
()
endif
()
# include CMake macros and functions
# include CMake macros and functions
...
...
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