Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
R
robotpkg-wip
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
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
Gepetto
robotpkg-wip
Commits
512af892
Commit
512af892
authored
5 years ago
by
Guilhem Saurel
Browse files
Options
Downloads
Patches
Plain Diff
[wip/jrl-cmakemodules] add USE_PYTHON & USE_MASTER_GITHUB options
parent
ca7130b0
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
jrl-cmakemodules/Makefile.common
+16
-0
16 additions, 0 deletions
jrl-cmakemodules/Makefile.common
with
16 additions
and
0 deletions
jrl-cmakemodules/Makefile.common
+
16
−
0
View file @
512af892
...
...
@@ -13,14 +13,30 @@ ifndef VERSION
endif
DISTNAME
?=
${
NAME
}
-
${
VERSION
}
ifdef
USE_PYTHON
PKGNAME
?=
${
PKGTAG.python-
}${
DISTNAME
}
endif
MASTER_SITES
?=
${
MASTER_SITE_OPENROBOTS:
=
${
NAME
}
/
}
MASTER_REPOSITORY
?=
${
MASTER_REPOSITORY_GITHUB
}
/
${
ORG
}
/
${
NAME
}
.git
CHECKOUT_VCS_OPTS
+=
--recursive
ifdef
USE_MASTER_GITHUB
MASTER_SITES
?=
${
MASTER_SITE_GITHUB:
=
${
ORG
}
/
${
NAME
}}
/releases/download/v
${
VERSION
}
/
else
MASTER_SITES
?=
${
MASTER_SITE_OPENROBOTS:
=
${
NAME
}
/
}
endif
CMAKE_ARGS
+=
-DCMAKE_INSTALL_LIBDIR
=
lib
CMAKE_ARGS
+=
-DPYTHON_STANDARD_LAYOUT
=
ON
ifdef
USE_PYTHON
CMAKE_ARGS
+=
-DPYTHON_EXECUTABLE
=
${
PYTHON
}
CMAKE_ARGS
+=
-DPYTHON_INCLUDE_DIR
=
${
PYTHON_INCLUDE
}
CMAKE_ARGS
+=
-DPYTHON_LIBRARY
=
${
PYTHON_LIB
}
CMAKE_ARGS
+=
-DPYTHON_SITELIB
=
${
PYTHON_SITELIB
}
endif
DYNAMIC_PLIST_DIRS
+=
share/doc/
${
NAME
}
include
../../pkgtools/pkg-config/depend.mk
...
...
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