Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Steve Lhomme
VLC
Commits
438669dd
Commit
438669dd
authored
Jun 30, 2011
by
Rémi Denis-Courmont
Browse files
contrib: add helper to invoke CMake
parent
47f1b032
Changes
2
Hide whitespace changes
Inline
Side-by-side
contrib/src/main.mak
View file @
438669dd
...
...
@@ -181,6 +181,9 @@ UNPACK_DIR = $(basename $(basename $(notdir $<)))
APPLY
=
(
cd
$(UNPACK_DIR)
&&
patch
-p1
)
<
MOVE
=
mv
$(UNPACK_DIR)
$@
&&
touch
$@
CMAKE
=
cmake
.
-DCMAKE_TOOLCHAIN_FILE
=
$(
abspath
toolchain.cmake
)
\
-DCMAKE_INSTALL_PREFIX
=
$(PREFIX)
#
# Per-package build rules
#
...
...
contrib/src/mpcdec/rules.mak
View file @
438669dd
...
...
@@ -38,10 +38,8 @@ endif
touch
$@
.mpcdec
:
musepack toolchain.cmake
cd
$<
&&
cmake
.
\
-DCMAKE_TOOLCHAIN_FILE
=
../toolchain.cmake
\
-DCMAKE_INSTALL_PREFIX
=
"
$(PREFIX)
"
cd
$<
&&
make
cd
$<
&&
$(CMAKE)
.
cd
$<
&&
$(MAKE)
mkdir
-p
--
"
$(PREFIX)
/lib"
ifdef
HAVE_WIN32
cd
$<
&&
cp
libmpcdec/libmpcdec_static.a
"
$(PREFIX)
/lib/libmpcdec.a"
...
...
Write
Preview
Supports
Markdown
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!
Cancel
Please
register
or
sign in
to comment