Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BC
public
linphone-cmake-builder
Commits
b98e6700
Commit
b98e6700
authored
Nov 04, 2014
by
Ghislain MARY
Browse files
Prevent post-install steps to fail at platforms other than Windows.
parent
4b040b04
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
18 additions
and
6 deletions
+18
-6
builders/ffmpeg/postinstall.cmake
builders/ffmpeg/postinstall.cmake
+12
-4
builders/opus/postinstall.cmake
builders/opus/postinstall.cmake
+3
-1
builders/vpx/postinstall.cmake
builders/vpx/postinstall.cmake
+3
-1
No files found.
builders/ffmpeg/postinstall.cmake
View file @
b98e6700
...
...
@@ -20,7 +20,15 @@
#
############################################################################
execute_process
(
COMMAND
"lib"
"/def:
${
INSTALL_PREFIX
}
/lib/avcodec-53.def"
"/out:
${
INSTALL_PREFIX
}
/lib/avcodec.lib"
"/machine:X86"
)
execute_process
(
COMMAND
"lib"
"/def:
${
INSTALL_PREFIX
}
/lib/avutil-51.def"
"/out:
${
INSTALL_PREFIX
}
/lib/avutil.lib"
"/machine:X86"
)
execute_process
(
COMMAND
"lib"
"/def:
${
INSTALL_PREFIX
}
/lib/swresample-0.def"
"/out:
${
INSTALL_PREFIX
}
/lib/swresample.lib"
"/machine:X86"
)
execute_process
(
COMMAND
"lib"
"/def:
${
INSTALL_PREFIX
}
/lib/swscale-2.def"
"/out:
${
INSTALL_PREFIX
}
/lib/swscale.lib"
"/machine:X86"
)
if
(
EXISTS
${
INSTALL_PREFIX
}
/lib/avcodec-53.def
)
execute_process
(
COMMAND
"lib"
"/def:
${
INSTALL_PREFIX
}
/lib/avcodec-53.def"
"/out:
${
INSTALL_PREFIX
}
/lib/avcodec.lib"
"/machine:X86"
)
endif
()
if
(
EXISTS
${
INSTALL_PREFIX
}
/lib/avutil-51.def
)
execute_process
(
COMMAND
"lib"
"/def:
${
INSTALL_PREFIX
}
/lib/avutil-51.def"
"/out:
${
INSTALL_PREFIX
}
/lib/avutil.lib"
"/machine:X86"
)
endif
()
if
(
EXISTS
${
INSTALL_PREFIX
}
/lib/swresample-0.def
)
execute_process
(
COMMAND
"lib"
"/def:
${
INSTALL_PREFIX
}
/lib/swresample-0.def"
"/out:
${
INSTALL_PREFIX
}
/lib/swresample.lib"
"/machine:X86"
)
endif
()
if
(
EXISTS
${
INSTALL_PREFIX
}
/lib/swscale-2.def
)
execute_process
(
COMMAND
"lib"
"/def:
${
INSTALL_PREFIX
}
/lib/swscale-2.def"
"/out:
${
INSTALL_PREFIX
}
/lib/swscale.lib"
"/machine:X86"
)
endif
()
builders/opus/postinstall.cmake
View file @
b98e6700
...
...
@@ -20,4 +20,6 @@
#
############################################################################
execute_process
(
COMMAND
"
${
PYTHON_EXECUTABLE
}
"
"
${
SOURCE_DIR
}
/cmake/importlib.py"
"
${
INSTALL_PREFIX
}
/bin/libopus-0.dll"
"
${
INSTALL_PREFIX
}
/lib/opus.lib"
)
if
(
EXISTS
${
INSTALL_PREFIX
}
/bin/libopus-0.dll
)
execute_process
(
COMMAND
"
${
PYTHON_EXECUTABLE
}
"
"
${
SOURCE_DIR
}
/cmake/importlib.py"
"
${
INSTALL_PREFIX
}
/bin/libopus-0.dll"
"
${
INSTALL_PREFIX
}
/lib/opus.lib"
)
endif
()
builders/vpx/postinstall.cmake
View file @
b98e6700
...
...
@@ -20,4 +20,6 @@
#
############################################################################
execute_process
(
COMMAND
"
${
CMAKE_COMMAND
}
"
"-E"
"copy"
"
${
INSTALL_PREFIX
}
/lib/libvpx.a"
"
${
INSTALL_PREFIX
}
/lib/vpx.lib"
)
if
(
EXISTS
${
INSTALL_PREFIX
}
/lib/libvpx.a
)
execute_process
(
COMMAND
"
${
CMAKE_COMMAND
}
"
"-E"
"copy"
"
${
INSTALL_PREFIX
}
/lib/libvpx.a"
"
${
INSTALL_PREFIX
}
/lib/vpx.lib"
)
endif
()
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