Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
438669dd
Commit
438669dd
authored
Jun 30, 2011
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
contrib: add helper to invoke CMake
parent
47f1b032
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
+5
-4
contrib/src/main.mak
contrib/src/main.mak
+3
-0
contrib/src/mpcdec/rules.mak
contrib/src/mpcdec/rules.mak
+2
-4
No files found.
contrib/src/main.mak
View file @
438669dd
...
@@ -181,6 +181,9 @@ UNPACK_DIR = $(basename $(basename $(notdir $<)))
...
@@ -181,6 +181,9 @@ UNPACK_DIR = $(basename $(basename $(notdir $<)))
APPLY
=
(
cd
$(UNPACK_DIR)
&&
patch
-p1
)
<
APPLY
=
(
cd
$(UNPACK_DIR)
&&
patch
-p1
)
<
MOVE
=
mv
$(UNPACK_DIR)
$@
&&
touch
$@
MOVE
=
mv
$(UNPACK_DIR)
$@
&&
touch
$@
CMAKE
=
cmake
.
-DCMAKE_TOOLCHAIN_FILE
=
$(
abspath
toolchain.cmake
)
\
-DCMAKE_INSTALL_PREFIX
=
$(PREFIX)
#
#
# Per-package build rules
# Per-package build rules
#
#
...
...
contrib/src/mpcdec/rules.mak
View file @
438669dd
...
@@ -38,10 +38,8 @@ endif
...
@@ -38,10 +38,8 @@ endif
touch
$@
touch
$@
.mpcdec
:
musepack toolchain.cmake
.mpcdec
:
musepack toolchain.cmake
cd
$<
&&
cmake
.
\
cd
$<
&&
$(CMAKE)
.
-DCMAKE_TOOLCHAIN_FILE
=
../toolchain.cmake
\
cd
$<
&&
$(MAKE)
-DCMAKE_INSTALL_PREFIX
=
"
$(PREFIX)
"
cd
$<
&&
make
mkdir
-p
--
"
$(PREFIX)
/lib"
mkdir
-p
--
"
$(PREFIX)
/lib"
ifdef
HAVE_WIN32
ifdef
HAVE_WIN32
cd
$<
&&
cp
libmpcdec/libmpcdec_static.a
"
$(PREFIX)
/lib/libmpcdec.a"
cd
$<
&&
cp
libmpcdec/libmpcdec_static.a
"
$(PREFIX)
/lib/libmpcdec.a"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment