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
876dc6be
Commit
876dc6be
authored
9 years ago
by
Dilawar Singh
Browse files
Options
Downloads
Patches
Plain Diff
No point in making local package. Use launchpad and osc for that.
parent
20fbde5e
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
+10
-3
10 additions, 3 deletions
CMakeLists.txt
with
10 additions
and
3 deletions
CMakeLists.txt
+
10
−
3
View file @
876dc6be
...
...
@@ -9,14 +9,20 @@ else()
option
(
CMAKE_INSTALL_PREFIX
"Install prefix"
/usr
)
endif
()
## intialize paths
set
(
MOOSE_CORE_DIR
"
${
CMAKE_SOURCE_DIR
}
/moose-core"
)
set
(
MOOSE_CORE_BUILD_DIR
${
CMAKE_BINARY_DIR
}
/_build_moose_core
)
set
(
MOOSE_CORE_INSTALL_DIR
"
${
CMAKE_INSTALL_PREFIX
}
"
)
set
(
PACKAGING_SCRIPTS
${
CMAKE_SOURCE_DIR
}
/packaging_scripts
)
include
(
ExternalProject
)
message
(
"[INFO] Installtion directory is
${
CMAKE_INSTALL_PREFIX
}
"
)
ExternalProject_Add
(
moose-core
PREFIX
${
CMAKE_CURRENT_BINARY_DIR
}
/_moose-core
SOURCE_DIR
${
CMAKE_SOURCE_DIR
}
/moose-core
CMAKE_ARGS -DCMAKE_INSTALL_PREFIX=
${
CMAKE_INSTALL_PREFIX
}
PREFIX
${
CMAKE_CURRENT_BINARY_DIR
}
/__moose-core
SOURCE_DIR
${
MOOSE_CORE_DIR
}
# Extremely useful in packaging
BINARY_DIR
${
MOOSE_CORE_BUILD_DIR
}
CMAKE_ARGS -DCMAKE_INSTALL_PREFIX=
${
MOOSE_CORE_INSTALL_DIR
}
TEST_BEFORE_INSTALL 1
BUILD_IN_SOURCE 0
)
...
...
@@ -32,3 +38,4 @@ add_custom_command(TARGET moose-gui
COMMAND
${
CMAKE_COMMAND
}
-E copy
${
PACKAGING_SCRIPTS
}
/moosegui
${
CMAKE_INSTALL_PREFIX
}
/bin
)
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