Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
moose
Manage
Activity
Members
Labels
Plan
Issues
9
Issue boards
Milestones
Wiki
Code
Merge requests
2
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Sahil Moza
moose
Commits
e54804a4
Commit
e54804a4
authored
7 years ago
by
Dilawar Singh
Browse files
Options
Downloads
Patches
Plain Diff
PyMOOSE installation directory can work.
parent
d6db4c5a
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
CMakeLists.txt
+6
-6
6 additions, 6 deletions
CMakeLists.txt
moose-core/CMakeLists.txt
+5
-1
5 additions, 1 deletion
moose-core/CMakeLists.txt
with
11 additions
and
7 deletions
CMakeLists.txt
+
6
−
6
View file @
e54804a4
...
...
@@ -26,12 +26,12 @@ message( STATUS "Building version ${VERSION}" )
message
(
STATUS
"CMAKE_INSTALL_PREFIX=
${
CMAKE_INSTALL_PREFIX
}
"
)
# Options to pass down to moose-core
option
(
WITH_DOC
"Build documentation"
OFF
)
option
(
DEBUG
"Build with DEBUG support"
OFF
)
option
(
WITH_BOOST
"Use Boost libraries instead of GSL"
OFF
)
option
(
WITH_CUDA
"Use CUDA/GPU"
OFF
)
option
(
WITH_MPI
"Use MPI (experimental)"
OFF
)
option
(
WITH_GUI
"Install moose-gui. Works only with python2."
ON
)
option
(
WITH_DOC
"Build documentation"
OFF
)
option
(
DEBUG
"Build with DEBUG support"
OFF
)
option
(
WITH_BOOST
"Use Boost libraries instead of GSL"
OFF
)
option
(
WITH_CUDA
"Use CUDA/GPU"
OFF
)
option
(
WITH_MPI
"Use MPI (experimental)"
OFF
)
option
(
WITH_GUI
"Install moose-gui. Works only with python2."
ON
)
# Required packages.
find_package
(
PythonInterp REQUIRED
)
...
...
This diff is collapsed.
Click to expand it.
moose-core/CMakeLists.txt
+
5
−
1
View file @
e54804a4
...
...
@@ -415,7 +415,11 @@ find_package(PythonInterp REQUIRED)
if
(
NOT PYMOOSE_BDIST_DIR
)
set
(
PYMOOSE_BDIST_DIR
${
CMAKE_BINARY_DIR
}
/bdist
)
endif
(
)
set
(
PYMOOSE_BDIST_INSTALL_DIR
${
CMAKE_CURRENT_BINARY_DIR
}
/pymoose_bdist_install
)
# If no one hsa set the PYMOOSE bdist installation directory, use default.
if
(
NOT PYMOOSE_BDIST_INSTALL_DIR
)
set
(
PYMOOSE_BDIST_INSTALL_DIR
${
CMAKE_CURRENT_BINARY_DIR
}
/pymoose_bdist_install
)
endif
()
file
(
MAKE_DIRECTORY
${
PYMOOSE_BDIST_INSTALL_DIR
}
)
# We need a custom name for bdist; same on all platform.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
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