Ben Straub
275d8d55b2
Typo
2013-07-18 09:37:59 -07:00
Ben Straub
e49dc6872d
Switch default calling convention to cdecl.
2013-07-17 14:06:31 -07:00
Edward Thomson
cdacd3d931
header files show up in vs
2013-07-12 16:53:00 -05:00
Thomas Rast
c41281ad3a
CMakeLists: fix zlib linker setup
...
b53671a
(Search for zlib unconditional, 2012-12-18) changed things
around to always (even on windows, that's what the subject refers to)
call FIND_PACKAGE(ZLIB).
However, it did not correctly handle the case where ZLIB_LIBRARY is
cached, either by the user setting it manually or by an earlier
search. In that case, the IF(ZLIB_FOUND) would not trigger (that
variable is not cached) and we'd instead use the built-in version.
000e689
(CMake: don't try to use bundled zlib when the system's path
is in the cache, 2013-05-12) tried to fix that, but it actually made
the problem worse: now with ZLIB_LIBRARY cached, _neither_ of the
blocks would execute, resulting in a linker error for me when trying
to build such a doubly-configured setup.
To fix the issue, we just trust CMake to do the right thing. If
ZLIB_LIBRARY is set (either from user or cache) then the find_library
in FindZLIB.cmake will use that instead of searching again. So we can
unconditionally (for real this time) call FIND_PACKAGE(ZLIB), and just
check its result.
2013-06-19 14:02:11 +02:00
nulltoken
c1cf1af46a
cmake: Add option to specify the name of the binary
2013-06-13 10:12:44 +02:00
Vicent Marti
5a6e45cc84
Revert "cmake: Update Windows resources to reflect the optional vendor string"
...
This reverts commit 095bfd7487
.
2013-06-12 21:14:04 +02:00
Veeti Paananen
7a6e0281c6
Build with the system's http-parser installation if available
2013-05-30 21:14:05 +03:00
nulltoken
095bfd7487
cmake: Update Windows resources to reflect the optional vendor string
...
Make InternalName and OriginalFilename resources reflect the name of the compiled binary.
2013-05-22 00:15:13 +02:00
nulltoken
ccf1a2ba5f
cmake: Fix indentation
2013-05-22 00:15:12 +02:00
Vicent Martí
e3107e0ee1
Merge pull request #1558 from bmorganpa/ssh_transport
...
SSH Transport
2013-05-16 11:35:02 -07:00
Carlos Martín Nieto
3bbc87d697
CMake: allow appending a string to the library filename
...
This helps us install multiple versions of the library side-by-side.
2013-05-14 23:40:20 +02:00
Carlos Martín Nieto
000e68961c
CMake: don't try to use bundled zlib when the system's path is in the cache
...
The code surrounding zlib bundling did not take into consideration
that ZLIB_LIBRARY gets cached, and assumed that FIND(ZLIB) would
always set ZLIB_FOUND, which does not hold true, as this variable
signifies that we have found the package and had to look at the
system, as its location was not cached.
Only use the bundled sources if the external zlib is neither
newly-found nor cached.
2013-05-12 15:35:02 +02:00
Brad Morgan
00e43380a0
Merge remote-tracking branch 'origin/development' into ssh_transport
2013-05-07 14:30:35 -04:00
Brad Morgan
7369b3c3bf
Added libssh2 cmake module
2013-05-07 14:26:33 -04:00
Vicent Marti
b641c00eeb
clar: Always generate the test suite
2013-05-03 17:35:50 +02:00
Edward Thomson
ac1d85cf11
cmake 2.6 parser bug workaround
2013-04-29 11:00:05 -05:00
Edward Thomson
eb63fda2e2
git_atomic_ssize for 64-bit atomics only on 64-bit platforms
2013-04-25 12:40:33 -05:00
Ben Straub
ec7e240ba4
Add rev-list example to makefiles
2013-04-09 05:07:12 +04:00
Philip Kelley
2c7f7a66e9
http: Support 302 Found (arrbee did most of the work)
2013-03-25 17:35:36 -04:00
Vicent Marti
c2ea65eec3
clar: Disable online tests. By now.
2013-03-25 21:24:18 +01:00
QbProg
d66a7c061a
Fix for a cmake bug when using MSVC + Win64 + static libraries
...
(see http://public.kitware.com/Bug/view.php?id=11240 )
2013-03-17 10:48:41 +01:00
QbProg
08f32085ab
Adds an option to select the CRT link mode ( static or dynamic ).
...
This is useful when linking libgit2 statically, as the setting must match the linking program's one.
2013-03-17 10:48:34 +01:00
Carlos Martín Nieto
0887b580bf
Use C99 stdio in mingw-w64
...
MinGW >= 3.14 does this automatically, but mingw-64 wants us to define
it.
2013-03-08 15:30:18 +01:00
Vicent Martí
92ebbe99c9
Merge pull request #1399 from nathan-osman/development
...
Add SONAME build option to facilitate building for Android.
2013-03-07 12:06:18 -08:00
Edward Thomson
b5ec5430a8
optional tracing
2013-03-07 12:42:33 -06:00
Nathan Osman
e7da9acdcd
Added build option SONAME to control whether VERSION and SOVERSION were set for the git2 target, as some platforms require that this NOT be set.
2013-03-06 17:51:38 -08:00
Philip Kelley
69c28b75df
MSVC: Define NDEBUG to disable asserts in release builds
2013-03-06 13:22:50 -05:00
Philip Kelley
19be3f9e65
Improve MSVC compiler, linker flags
2013-02-13 16:01:14 -05:00
Vicent Martí
fb60d268df
Merge pull request #1315 from nulltoken/development
...
cMakeList: Prevent MSVCR1x0.dll dependency
2013-02-05 06:18:23 -08:00
nulltoken
e8670d01e0
cMakeList: Prevent MSVCR1x0.dll dependency
...
Deploys the libgit2/libgit2@9041250 fix to RELWITHDEBINFO
and MINSIZEREL build flavors
Fix #255
2013-02-05 14:32:09 +01:00
Edward Thomson
c27e211219
update examples to work on windows
2013-01-23 17:38:00 -06:00
Sebastian Bauer
b41e24a65c
Add -fPIC only if BUILD_SHARED_LIBS is ON
2013-01-10 09:20:43 +01:00
Sebastian Bauer
707ede8633
Compile regexp dependency when AMIGA is defined.
...
Before it was compiled when CMake was actually run on AmigaOS.
2013-01-10 09:19:11 +01:00
Sebastian Bauer
c57c4af327
Disable SSL when compiling for AmigaOS for now.
2013-01-10 09:16:39 +01:00
Edward Thomson
8f09f46498
remove ppc sha1 asm
2013-01-08 16:55:16 -06:00
Edward Thomson
d335e73a6a
keep comments at < 80 chars
2013-01-08 16:37:19 -06:00
nulltoken
09556895b7
travis: Include the online suite when running against Travis
2013-01-06 14:40:32 +01:00
Vicent Marti
4236164a77
Prototypes warning goes away
2013-01-03 02:37:28 +01:00
Vicent Marti
2e6f06a8d4
...and add Clar raw
2013-01-03 02:34:45 +01:00
Vicent Marti
afb181167e
/deal with it
2013-01-03 01:04:18 +01:00
Vicent Marti
39444bea0a
...fine
2013-01-03 01:01:03 +01:00
Vicent Marti
ad27838bdc
Proper submodule dependency
2013-01-03 00:58:46 +01:00
Vicent Marti
6443eaf22f
Disable Network suite by default
2013-01-03 00:50:29 +01:00
Vicent Marti
39cd01779c
This is a better name
2013-01-02 22:38:10 +01:00
Vicent Marti
a44f2e9e7b
Try it like this...
2013-01-02 22:26:34 +01:00
Vicent Marti
e229c04825
Fuck you CMake
2013-01-02 21:27:00 +01:00
Vicent Marti
0df4167577
Submodule checkout
2013-01-02 21:22:19 +01:00
Vicent Marti
a368fd0f79
Checkout test
2013-01-02 20:08:49 +01:00
Vicent Marti
5c2d3f6d5d
Add build dependency for clar. Also, fuck you CMake. Fuck you.
2013-01-02 04:19:13 +01:00
Vicent Marti
b0a4582975
Bump the Clar submodule
2013-01-02 02:05:11 +01:00