|
|
|
T A B L E o f C O N T E N T S
|
|
|
|
---------------------------------
|
|
|
|
|
|
|
|
1 Building Adobe XMPsdk and Samples in Terminal with the ./Generate_XXX_mac.sh scripts
|
|
|
|
1.1 Amazing Discovery 1 DumpFile is linked to libstdc++.6.dylib
|
|
|
|
1.2 Amazing Discovery 2 Millions of "weak symbol/visibility" messages
|
|
|
|
|
|
|
|
2 Puzzle with autotools/--with-adobe MacOS-X Only
|
|
|
|
2.1 To build without the external Adobe SDK:
|
|
|
|
2.2 To add the external Adobe SDK to the mix:
|
|
|
|
2.3 Notes (mostly to remind me of painful discoveries)
|
|
|
|
2.4 Compiler options used to build Adobe XMPsdk
|
|
|
|
2.5 Compiler options used to build DumpFile sample Application
|
|
|
|
2.6 Linker Options used to link DumpFile
|
|
|
|
|
|
|
|
3 Features to Add to the CMake code
|
|
|
|
|
|
|
|
==========================================================================
|
|
|
|
|
|
|
|
1 Building XMPsdk and Samples in Terminal with the ./Generate_XXX_mac.sh scripts
|
|
|
|
--------------------------------------------------------------------------------
|
|
|
|
|
|
|
|
Added : 2017-08-18
|
|
|
|
Modified: 2017-08-18
|
|
|
|
|
|
|
|
$ cd <exiv2dir>/xmpsdk
|
|
|
|
# XMP-Toolkit-SDK-CC201607 or XMP-Toolkit-SDK-CC201407
|
|
|
|
$ mkdir Adobe
|
|
|
|
$ curl -O http://download.macromedia.com/pub/developer/xmp/sdk/XMP-Toolkit-SDK-CC201607.zip
|
|
|
|
|
|
|
|
$ find third-party -type d -maxdepth 1 -exec cp -R '{}' Adobe/XMP-Toolkit-SDK-CC201607/third-party ';'
|
|
|
|
|
|
|
|
$ cd XMP-Toolkit-SDK-CC201607/build
|
|
|
|
$ echo '3' | ./GenerateXMPToolkitSDK_mac.sh
|
|
|
|
|
|
|
|
$ xcodebuild -project xcode/static/intel_64/XMPToolkitSDK64.xcodeproj/ -target XMPCoreStatic -configuration Release
|
|
|
|
$ xcodebuild -project xcode/static/intel_64/XMPToolkitSDK64.xcodeproj/ -target XMPFilesStatic -configuration Release
|
|
|
|
|
|
|
|
Building Samples:
|
|
|
|
$ cd Adobe
|
|
|
|
$ curl --insecure -O https://cmake.org/files/v3.5/cmake-3.5.2-Darwin-x86_64.tar.gz
|
|
|
|
$ tar xzf cmake-3.5.2-Darwin-x86_64.tar.gz
|
|
|
|
$ mkdir XMP-Toolkit-SDK-CC201607/tools/cmake/bin
|
|
|
|
$ ditto cmake-3.5.2-Darwin-x86_64/CMake.app/ XMP-Toolkit-SDK-CC201607/tools/cmake/bin/cmake.app
|
|
|
|
$ cd XMP-Toolkit-SDK-CC201607/samples/build
|
|
|
|
$ echo '2' | ./GenerateSamples_mac.sh
|
|
|
|
$ xcodebuild -project xcode/intel_64/XMP_Samples_64.xcodeproj -configuration Release [-target Sample]
|
|
|
|
$ cd XMP-Toolkit-SDK-CC201607
|
|
|
|
$ samples/target/macintosh/intel_64/Release/DumpFile ~/Stonehenge.jpg
|
|
|
|
|
|
|
|
Samples:
|
|
|
|
CustomSchema
|
|
|
|
CustomSchemaNewDOM
|
|
|
|
DumpFile
|
|
|
|
DumpMainXMP
|
|
|
|
DumpScannedXMP
|
|
|
|
ModifyingXMP
|
|
|
|
ModifyingXMPNewDOM
|
|
|
|
ReadingXMP
|
|
|
|
ReadingXMPNewDOM
|
|
|
|
XMPCommand
|
|
|
|
XMPCoreCoverage
|
|
|
|
XMPFilesCoverage
|
|
|
|
XMPIterations
|
|
|
|
|
|
|
|
1.1 Amazing Discovery 1 DumpFile is linked to libstdc++.6.dylib
|
|
|
|
------------------------------------------------------------------
|
|
|
|
|
|
|
|
XMP-Toolkit-SDK-CC201607/samples $ otool -L target/macintosh/intel_64/Release/DumpFile
|
|
|
|
target/macintosh/intel_64/Release/DumpFile:
|
|
|
|
/System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa (compatibility version 1.0.0, current version 22.0.0)
|
|
|
|
/usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current version 104.1.0)
|
|
|
|
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1225.1.1)
|
|
|
|
/System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices (compatibility version 1.0.0, current version 728.4.0)
|
|
|
|
XMP-Toolkit-SDK-CC201607/samples $
|
|
|
|
|
|
|
|
Conclusion: We should not link -lXMPCore with libexiv2.26.dylib
|
|
|
|
We should link -lXMPCore with applications such as exiv2(.exe)
|
|
|
|
We should build exiv2 code with visibility disabled "CXXFLAGS=-fvisibility=hidden -fvisibility-inlines-hidden"
|
|
|
|
We must compile/link apps with "CXXFLAGS=-stdlib=libstdc++ -Wno-deprecated"
|
|
|
|
|
|
|
|
1.2 Amazing Discovery 2 Millions of "weak symbol/visibility" messages
|
|
|
|
------------------------------------------------------------------------
|
|
|
|
|
|
|
|
$ cd samples/build
|
|
|
|
$ rm -rf cmake/DumpFile/build_x64 # remove the build of DumpFile
|
|
|
|
$ env VERBOSE=1 xcodebuild -project xcode/intel_64/XMP_Samples_64.xcodeproj -configuration Release -target DumpFile
|
|
|
|
|
|
|
|
==========================================================================
|
|
|
|
|
|
|
|
2 Puzzle with autotools/--with-adobe MacOS-X Only
|
|
|
|
-------------------------------------------------
|
|
|
|
Added : 2017-08-17
|
|
|
|
Modified: 2017-08-18
|
|
|
|
|
|
|
|
The --with-adobe code is new (added on Monday/Tuesday 2017-08-15).
|
|
|
|
It's very much "Work in Progress" and will get lots more polishing.
|
|
|
|
This builds and links on Mac and Linux (Cygwin isn't ready yet).
|
|
|
|
Autotools isn't used with Visual Studio
|
|
|
|
|
|
|
|
Default build (which compile/links xmpsdk/src) is fine (and passes test suite)
|
|
|
|
$ sudo make distclean ; make config ; ./configure ; make ; sudo make install ; make samples ; make tests
|
|
|
|
|
|
|
|
Status: The 2016/AdobeXMPsdk requires an entry point that's not in the C++ STL library
|
|
|
|
./configure is building and passing the test suite
|
|
|
|
./configure --with-adobe=2014 is broken on __ZNSs4_Rep11_S_terminalE
|
|
|
|
./configure --with-adobe=2016 is broken on __ZNSiD0Ev
|
|
|
|
|
|
|
|
The missing entry points are in /usr/lib/libstdc++.6.dylib
|
|
|
|
When I use install_name_tool to change to libstdc++.6.dylib, I crash in this:
|
|
|
|
|
|
|
|
$ c++filt __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED1Ev
|
|
|
|
std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >::~basic_string()
|
|
|
|
$
|
|
|
|
|
|
|
|
There's something mixed up concerning the libraries used by Adobe's XMPSDK and libexiv2.26.dylib
|
|
|
|
-stdlib=libstdc++ will link /usr/lib/libstdc++.6.dylib, however the compiler warns:
|
|
|
|
clang: warning: libstdc++ is deprecated; move to libc++ [-Wdeprecated]
|
|
|
|
|
|
|
|
2.1 To build without the external Adobe SDK:
|
|
|
|
--------------------------------------------
|
|
|
|
|
|
|
|
Edit config/config.mk.in and modify:
|
|
|
|
XMPSDK_LIBS= -lXMPCore
|
|
|
|
to
|
|
|
|
XMPSDK_LIBS = ''
|
|
|
|
|
|
|
|
$ sudo make distclean ; make config ; ./configure --with-adobe ; make
|
|
|
|
|
|
|
|
The following command works:
|
|
|
|
$ bin/exiv2 http://clanmills.com/Stonehenge.jpg is working
|
|
|
|
|
|
|
|
On 2017-08-15 The following command crashes when it attempts to execute XMPsdk code
|
|
|
|
$ bin/exiv2 --verbose --version
|
|
|
|
........
|
|
|
|
config_path=/Users/rmills/.exiv2
|
|
|
|
uid=501
|
|
|
|
euid=501
|
|
|
|
gid=20
|
|
|
|
dyld: lazy symbol binding failed: Symbol not found: _WXMPMeta_Initialize_1
|
|
|
|
Referenced from: /Users/rmills/gnu/github/exiv2/src/.libs/libexiv2.26.dylib
|
|
|
|
Expected in: flat namespace
|
|
|
|
|
|
|
|
dyld: Symbol not found: _WXMPMeta_Initialize_1
|
|
|
|
Referenced from: /Users/rmills/gnu/github/exiv2/src/.libs/libexiv2.26.dylib
|
|
|
|
Expected in: flat namespace
|
|
|
|
|
|
|
|
Abort trap: 6
|
|
|
|
$
|
|
|
|
|
|
|
|
This is correct. libXMPCore.a is not in the mix.
|
|
|
|
|
|
|
|
ls -alt src/.libs/libexiv2.26.dylib
|
|
|
|
-rwxr-xr-x+ 1 rmills staff 2238124 Aug 17 11:07 src/.libs/libexiv2.26.dylib
|
|
|
|
-------
|
|
|
|
2.2 To add the external Adobe SDK to the mix:
|
|
|
|
---------------------------------------------
|
|
|
|
|
|
|
|
Edit src/Makefile#242 and change:
|
|
|
|
@$(LIBTOOL) --mode=link $(LINK.cc) -o ../bin/$@ $(LIBRARY) $(EXIV2OBJ) $(EXIV2COBJ) -rpath $(libdir)
|
|
|
|
to:
|
|
|
|
@$(LIBTOOL) --mode=link $(LINK.cc) -lXMPCore -o ../bin/$@ $(LIBRARY) $(EXIV2OBJ) $(EXIV2COBJ) -rpath $(libdir)
|
|
|
|
|
|
|
|
$ touch src/version.cpp src/exiv2.cpp ; make
|
|
|
|
$ ls -alt src/.libs/libexiv2.26.dylib
|
|
|
|
-rwxr-xr-x+ 1 rmills staff 4312308 Aug 17 11:17 src/.libs/libexiv2.26.dylib
|
|
|
|
-------
|
|
|
|
$ bin/exiv2
|
|
|
|
dyld: Symbol not found: __ZNSiD0Ev
|
|
|
|
Referenced from: /Users/rmills/gnu/github/exiv2/src/.libs/libexiv2.26.dylib
|
|
|
|
Expected in: flat namespace
|
|
|
|
in /Users/rmills/gnu/github/exiv2/src/.libs/libexiv2.26.dylib
|
|
|
|
Abort trap: 6
|
|
|
|
605 rmills@rmillsmbp:~/gnu/github/exiv2 $
|
|
|
|
|
|
|
|
$ c++filt _ZNSiD0Ev
|
|
|
|
std::basic_istream<char, std::char_traits<char> >::~basic_istream()
|
|
|
|
|
|
|
|
This code is being accessed by Adobe XMPSDK 2016 libXMPCore.a and isn't in the c++ library.
|
|
|
|
|
|
|
|
$ nm -g xmpsdk/Adobe/libXMPCore.a | grep _ZNSiD0Ev
|
|
|
|
U __ZNSiD0Ev
|
|
|
|
$
|
|
|
|
|
|
|
|
Adobe XMPSDK 2014 has a similar problem with __ZNSs4_Rep11_S_terminalE
|
|
|
|
|
|
|
|
$ nm -g Adobe/XMP-Toolkit-SDK-CC201412/libXMPCore.a | grep __ZNSs4_Rep11_S_terminalE | sort --unique
|
|
|
|
U __ZNSs4_Rep11_S_terminalE
|
|
|
|
$ c++filt __ZNSs4_Rep11_S_terminalE
|
|
|
|
std::string::_Rep::_S_terminal
|
|
|
|
|
|
|
|
|
|
|
|
2.3 Notes (mostly to remind me of painful discoveries)
|
|
|
|
------------------------------------------------------
|
|
|
|
|
|
|
|
How does the build get generated?
|
|
|
|
$ make config
|
|
|
|
This generates ./configure by reading config/configure.ac
|
|
|
|
|
|
|
|
When you use --with-adobe, CXXFLAGS and LDFLAGS are modified and ENABLE_XMP is set to 2016.
|
|
|
|
Makefile has code to execute the script xmpsdk/buildXMPsdk.sh which
|
|
|
|
downloads and builds the XMPsdk to create libCore.a (which we need) and libFiles.a
|
|
|
|
|
|
|
|
config/config.mk.in is converted into config/config.mk and included in xmpsdk/src/Makefile
|
|
|
|
This is really ugly. config.mk also messes with CPPFLAGS and LDFLAGS
|
|
|
|
|
|
|
|
To get -lXMPCore into the mix, set XMPSDK_LIBS in config/config.mk.in
|
|
|
|
XMPSDK_LIBS = -lXMPCore
|
|
|
|
|
|
|
|
508 rmills@rmillsmbp:~/gnu/github/exiv2 $ finder Makefile | xargs grep -H config.mk | grep include
|
|
|
|
./contrib/organize/Makefile:include $(top_srcdir)/config/config.mk
|
|
|
|
./doc/Makefile:include $(top_srcdir)/config/config.mk
|
|
|
|
./samples/Makefile:include $(top_srcdir)/config/config.mk
|
|
|
|
./src/Makefile:include $(top_srcdir)/config/config.mk
|
|
|
|
./xmpsdk/src/Makefile:include $(top_srcdir)/config/config.mk
|
|
|
|
509 rmills@rmillsmbp:~/gnu/github/exiv2 $
|
|
|
|
|
|
|
|
2.4 Compiler options used to build Adobe XMPsdk
|
|
|
|
-----------------------------------------------
|
|
|
|
|
|
|
|
For sure, Adobe's code is being built with MacOSX10.8.sdk and -std=c++11
|
|
|
|
|
|
|
|
/usr/bin/c++
|
|
|
|
-DBUILDING_XMPCORE_AS_STATIC=1
|
|
|
|
-DBUILDING_XMPCORE_LIB=1
|
|
|
|
-DENABLE_CPP_DOM_MODEL=1
|
|
|
|
-DHAVE_EXPAT_CONFIG_H=1
|
|
|
|
-DMAC_ENV=1
|
|
|
|
-DXML_STATIC=1
|
|
|
|
-DXMP_64=1
|
|
|
|
-DXMP_COMPONENT_INT_NAMESPACE=AdobeXMPCore_Int
|
|
|
|
-DXMP_StaticBuild=1
|
|
|
|
-I/Users/rmills/gnu/github/exiv2/xmpsdk/Adobe/XMP-Toolkit-SDK-CC201607/XMPCore/build/../..
|
|
|
|
-I/Users/rmills/gnu/github/exiv2/xmpsdk/Adobe/XMP-Toolkit-SDK-CC201607/XMPCore/build/../../public/include
|
|
|
|
-I/Users/rmills/gnu/github/exiv2/xmpsdk/Adobe/XMP-Toolkit-SDK-CC201607/XMPCore/build/../../third-party/expat/public/lib
|
|
|
|
-I/Users/rmills/gnu/github/exiv2/xmpsdk/Adobe/XMP-Toolkit-SDK-CC201607/XMPCore/build/../resource/mac
|
|
|
|
-funsigned-char
|
|
|
|
-fshort-enums
|
|
|
|
-fno-common
|
|
|
|
-Wall
|
|
|
|
-Wextra
|
|
|
|
-Wno-missing-field-initializers
|
|
|
|
-Wno-shadow
|
|
|
|
-Wno-reorder
|
|
|
|
-std=c++11
|
|
|
|
-Wnon-virtual-dtor
|
|
|
|
-Woverloaded-virtual
|
|
|
|
-Wno-unused-variable
|
|
|
|
-Wno-unused-function
|
|
|
|
-Wno-unused-parameter
|
|
|
|
-fstack-protector
|
|
|
|
-O3
|
|
|
|
-DNDEBUG=1
|
|
|
|
-D_NDEBUG=1
|
|
|
|
-arch x86_64
|
|
|
|
-isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk
|
|
|
|
-mmacosx-version-min=10.7
|
|
|
|
-o CMakeFiles/XMPCoreStatic.dir/Users/rmills/gnu/github/exiv2/xmpsdk/Adobe/XMP-Toolkit-SDK-CC201607/XMPCore/source/XMPMeta-GetSet.cpp.o
|
|
|
|
-c /Users/rmills/gnu/github/exiv2/xmpsdk/Adobe/XMP-Toolkit-SDK-CC201607/XMPCore/source/XMPMeta-GetSet.cpp
|
|
|
|
|
|
|
|
2.5 Compiler options used to build DumpFile sample Application
|
|
|
|
-----------------------------------------------------------
|
|
|
|
|
|
|
|
clang -x c++
|
|
|
|
-arch x86_64
|
|
|
|
-fmessage-length=0
|
|
|
|
-fdiagnostics-show-note-include-stack
|
|
|
|
-fmacro-backtrace-limit=0
|
|
|
|
-stdlib=libstdc++
|
|
|
|
-Wno-trigraphs
|
|
|
|
-fpascal-strings
|
|
|
|
-O3
|
|
|
|
-Wno-missing-field-initializers
|
|
|
|
-Wno-missing-prototypes
|
|
|
|
-Wno-return-type
|
|
|
|
-Wno-non-virtual-dtor
|
|
|
|
-Wno-overloaded-virtual
|
|
|
|
-Wno-exit-time-destructors
|
|
|
|
-Wno-missing-braces
|
|
|
|
-Wparentheses
|
|
|
|
-Wswitch
|
|
|
|
-Wno-unused-function
|
|
|
|
-Wno-unused-label
|
|
|
|
-Wno-unused-parameter
|
|
|
|
-Wno-unused-variable
|
|
|
|
-Wunused-value
|
|
|
|
-Wno-empty-body
|
|
|
|
-Wno-uninitialized
|
|
|
|
-Wno-unknown-pragmas
|
|
|
|
-Wno-shadow
|
|
|
|
-Wno-four-char-constants
|
|
|
|
-Wno-conversion
|
|
|
|
-Wno-constant-conversion
|
|
|
|
-Wno-int-conversion
|
|
|
|
-Wno-bool-conversion
|
|
|
|
-Wno-enum-conversion
|
|
|
|
-Wno-shorten-64-to-32
|
|
|
|
-Wno-newline-eof
|
|
|
|
-Wno-c++11-extensions
|
|
|
|
-DCMAKE_INTDIR=\"Release\"
|
|
|
|
-DMAC_ENV=1
|
|
|
|
-DXMP_64=1
|
|
|
|
-DXMP_StaticBuild=1
|
|
|
|
-isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk
|
|
|
|
-fasm-blocks
|
|
|
|
-fstrict-aliasing
|
|
|
|
-Wdeprecated-declarations
|
|
|
|
-Winvalid-offsetof
|
|
|
|
-mmacosx-version-min=10.9
|
|
|
|
-g
|
|
|
|
-Wno-sign-conversion
|
|
|
|
-Wno-infinite-recursion
|
|
|
|
-Wno-move
|
|
|
|
-I/Users/rmills/gnu/github/exiv2/xmpsdk/Adobe/XMP-Toolkit-SDK-CC201607/samples/target/macintosh/intel_64/Release/include
|
|
|
|
-I/Users/rmills/gnu/github/exiv2/xmpsdk/Adobe/XMP-Toolkit-SDK-CC201607/samples/build/cmake/../../..
|
|
|
|
-I/Users/rmills/gnu/github/exiv2/xmpsdk/Adobe/XMP-Toolkit-SDK-CC201607/samples/build/cmake/../../../public/include
|
|
|
|
-I/Users/rmills/gnu/github/exiv2/xmpsdk/Adobe/XMP-Toolkit-SDK-CC201607/samples/build/cmake/DumpFile/build_x64/XMP_Samples_64.build/Release/DumpFile.build/DerivedSources/x86_64
|
|
|
|
-I/Users/rmills/gnu/github/exiv2/xmpsdk/Adobe/XMP-Toolkit-SDK-CC201607/samples/build/cmake/DumpFile/build_x64/XMP_Samples_64.build/Release/DumpFile.build/DerivedSources
|
|
|
|
-Wmost
|
|
|
|
-Wno-four-char-constants
|
|
|
|
-Wno-unknown-pragmas
|
|
|
|
-F/Users/rmills/gnu/github/exiv2/xmpsdk/Adobe/XMP-Toolkit-SDK-CC201607/samples/target/macintosh/intel_64/Release
|
|
|
|
-F/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks
|
|
|
|
-funsigned-char
|
|
|
|
-fshort-enums
|
|
|
|
-fno-common
|
|
|
|
-Wall
|
|
|
|
-Wextra
|
|
|
|
-Wno-missing-field-initializers
|
|
|
|
-Wno-shadow
|
|
|
|
-Wno-reorder
|
|
|
|
-std=c++11
|
|
|
|
-Wnon-virtual-dtor
|
|
|
|
-Woverloaded-virtual
|
|
|
|
-Wno-unused-variable
|
|
|
|
-Wno-unused-function
|
|
|
|
-Wno-unused-parameter
|
|
|
|
-fstack-protector
|
|
|
|
-DNDEBUG=1
|
|
|
|
-D_NDEBUG=1
|
|
|
|
-MMD
|
|
|
|
-MT dependencies
|
|
|
|
-MF /Users/rmills/gnu/github/exiv2/xmpsdk/Adobe/XMP-Toolkit-SDK-CC201607/samples/build/cmake/DumpFile/build_x64/XMP_Samples_64.build/Release/DumpFile.build/Objects-normal/x86_64/DumpFile.d
|
|
|
|
--serialize-diagnostics /Users/rmills/gnu/github/exiv2/xmpsdk/Adobe/XMP-Toolkit-SDK-CC201607/samples/build/cmake/DumpFile/build_x64/XMP_Samples_64.build/Release/DumpFile.build/Objects-normal/x86_64/DumpFile.dia
|
|
|
|
-c /Users/rmills/gnu/github/exiv2/xmpsdk/Adobe/XMP-Toolkit-SDK-CC201607/samples/source/common/DumpFile.cpp
|
|
|
|
-o /Users/rmills/gnu/github/exiv2/xmpsdk/Adobe/XMP-Toolkit-SDK-CC201607/samples/build/cmake/DumpFile/build_x64/XMP_Samples_64.build/Release/DumpFile.build/Objects-normal/x86_64/DumpFile.o
|
|
|
|
|
|
|
|
2.6 Linker Options used to link DumpFile
|
|
|
|
----------------------------------------
|
|
|
|
|
|
|
|
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++
|
|
|
|
-arch x86_64
|
|
|
|
-isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk
|
|
|
|
-L/Users/rmills/gnu/github/exiv2/xmpsdk/Adobe/XMP-Toolkit-SDK-CC201607/samples/target/macintosh/intel_64/Release
|
|
|
|
-F/Users/rmills/gnu/github/exiv2/xmpsdk/Adobe/XMP-Toolkit-SDK-CC201607/samples/target/macintosh/intel_64/Release
|
|
|
|
-F/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks
|
|
|
|
-filelist /Users/rmills/gnu/github/exiv2/xmpsdk/Adobe/XMP-Toolkit-SDK-CC201607/samples/build/cmake/DumpFile/build_x64/XMP_Samples_64.build/Release/DumpFile.build/Objects-normal/x86_64/DumpFile.LinkFileList
|
|
|
|
-mmacosx-version-min=10.9
|
|
|
|
-Xlinker
|
|
|
|
-object_path_lto
|
|
|
|
-Xlinker
|
|
|
|
/Users/rmills/gnu/github/exiv2/xmpsdk/Adobe/XMP-Toolkit-SDK-CC201607/samples/build/cmake/DumpFile/build_x64/XMP_Samples_64.build/Release/DumpFile.build/Objects-normal/x86_64/DumpFile_lto.o
|
|
|
|
-stdlib=libstdc++
|
|
|
|
-Wl,-search_paths_first
|
|
|
|
-Wl,-headerpad_max_install_names
|
|
|
|
/Users/rmills/gnu/github/exiv2/xmpsdk/Adobe/XMP-Toolkit-SDK-CC201607/samples/build/cmake/../../../public/libraries/macintosh/intel_64/Release/libXMPCoreStatic.a
|
|
|
|
/Users/rmills/gnu/github/exiv2/xmpsdk/Adobe/XMP-Toolkit-SDK-CC201607/samples/build/cmake/../../../public/libraries/macintosh/intel_64/Release/libXMPFilesStatic.a
|
|
|
|
-framework Cocoa
|
|
|
|
-Xlinker
|
|
|
|
-dependency_info
|
|
|
|
-Xlinker
|
|
|
|
/Users/rmills/gnu/github/exiv2/xmpsdk/Adobe/XMP-Toolkit-SDK-CC201607/samples/build/cmake/DumpFile/build_x64/XMP_Samples_64.build/Release/DumpFile.build/Objects-normal/x86_64/DumpFile_dependency_info.dat
|
|
|
|
-o /Users/rmills/gnu/github/exiv2/xmpsdk/Adobe/XMP-Toolkit-SDK-CC201607/samples/target/macintosh/intel_64/Release/DumpFile
|
|
|
|
|
|
|
|
==========================================================================
|
|
|
|
|
|
|
|
3 Features to Add to the CMake code
|
|
|
|
-----------------------------------
|
|
|
|
* Auto usage of ccache on Linux and Mac.
|
|
|
|
* Remove the trick to compile the documentation using the configure script. Native documentation generation on CMake.
|
|
|
|
|
|
|
|
==========================================================================
|
|
|
|
|
|
|
|
# That's all Folks!
|
|
|
|
==========================================================================
|