OLD | NEW |
1 The linux directory contains a config.h generated from a run of configure on | 1 The linux directory contains a config.h generated from Ubuntu 14.04 LTS and |
2 Ubuntu 10.04.1 LTS x86_64, with VCDIFF_USE_BLOCK_COMPARE_WORDS manually | 2 cmake 2.8.12.2. |
3 changed to match the $host_cpu test in configure. | |
4 | 3 |
5 The mac directory contains a config.h generated from a run of configure on a | 4 The mac directory contains a config.h generated from OS X 10.11.6, XCode 7.3, |
6 Mac, with VCDIFF_USE_BLOCK_COMPARE_WORDS manually changed to match the | 5 and cmake 3.4. |
7 $host_cpu test in configure. | |
8 | 6 |
9 The ios directory contains a config.h generated from a run of configure | 7 The ios directory contains a copy of the mac config.h. Since the mac config.h |
10 --host=arm-apple-darwin10 on a Mac with the following environment variables: | 8 contains almost nothing, this is probably fine. |
11 CC=/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc-4.2 -x c -arch
armv6 | |
12 CFLAGS=-mno-thumb -miphoneos-version-min=4.2 | |
13 CPPFLAGS=-isysroot /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhon
eOS4.3.sdk | |
14 CXX=/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc-4.2 -x c++ -a
rch armv6 | |
15 CXXFLAGS=-mno-thumb -miphoneos-version-min=4.2 | |
16 | 9 |
17 The win directory contains a config.h that forwards to one provided with | 10 The win directory contains a config.h generated from Windows 7, VS 2013, and |
18 open-vcdiff. We have this to avoid putting open-vcdiff's minimal stdint.h hack | 11 cmake 3.6 with 682f68732898c8ec621427fdd734b3b0ac223ec5 checked out. In a shell |
19 into our include path. | 12 with the VC tools in the path, do: |
| 13 |
| 14 cd \src |
| 15 git clone https://github.com/google/open-vcdiff |
| 16 cd open-vcdiff |
| 17 git submodule update --init --recursive |
| 18 mkdir buildfoo |
| 19 cd buildfoo |
| 20 "C:\Program Files\CMake\bin\cmake.exe" -GNinja .. |
| 21 |
| 22 Then copy the generated config.h out of the root of your open-vcdiff checkout. |
OLD | NEW |