diff options
author | konablend <[email protected]> | 2013-09-24 00:14:48 +0000 |
---|---|---|
committer | konablend <[email protected]> | 2013-09-24 00:14:48 +0000 |
commit | c0d3a073e6309939a82b58d9aa693084b088644c (patch) | |
tree | c35b319b0a6cf293215a4e9ef9a24bfced92d17f /contrib/libmfx/module.defs | |
parent | 203b7a961fca0513ad09c1b9761faeac26d2edd0 (diff) |
BuildSystem: initial Xcode5 support
Tested on MacOSX 10.8.5 w/ Xcode 5.0, 4.6.3 and 4.5.2, various builds,
including terminal Xcode, terminal no Xcode and Xcode IDE,
and permutations with/without mp4v2 and mkv.
- push defs for optional static libraries (OSL) to respective modules
- adjust make-driven linking to use OSL
- adjust Xcode-driven linking to use OSL via ld -filelist option
- add Xcode project group for all OSL
- set Xcode project to use clang compiler
- add osx 10.8 xcconfig files
- add "supplemental" xcconfig file where EXTERNAL_CONFIGURE may be used
to specify configure-time options
- patch mp4v2 to compile with clang
Intructions for custom configure-options within Xcode IDE:
1. edit macosx/xcconfig/supplemental.xcconfig
2. save file (unsure how long it takes IDE to see change but it does)
3. build clean
4. build
5. never commit supplemental.xcconfig to repository - it is meant to
exist but not effect the build on a clean checkout, and to be used
only as a developer transient developer customization file.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5800 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'contrib/libmfx/module.defs')
-rw-r--r-- | contrib/libmfx/module.defs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/contrib/libmfx/module.defs b/contrib/libmfx/module.defs index 4377123b9..5f8ab9b7b 100644 --- a/contrib/libmfx/module.defs +++ b/contrib/libmfx/module.defs @@ -4,3 +4,7 @@ $(eval $(call import.CONTRIB.defs,LIBMFX)) LIBMFX.FETCH.url = http://download.handbrake.fr/contrib/libmfx_intel_msdk_2013r2.tar.bz2 LIBMFX.CONFIGURE.bootstrap = rm -fr aclocal.m4 autom4te.cache; autoreconf -fiv; + +## optional static libs need to be marked +LIBMFX.OSL.libs = mfx +LIBMFX.OSL.files = $(foreach i,$(LIBMFX.OSL.libs),$(call fn.ABSOLUTE,$(CONTRIB.build/)lib/lib$(i).a)) |