Ben Lubar
1ec96aa992
Disable pointless warnings in protobuf-generated code.
2018-04-05 13:58:10 -05:00
lethosor
ada96b3162
Remove GCC version check in protobuf/CMakeLists.txt
...
The only thing this check was used for was disabled, and the root CMakeLists.txt
will enforce the minimum GCC version before protobuf is included.
2016-10-10 09:33:52 -04:00
lethosor
1029e0f02a
Fix a few whitespace issues
...
From #992
2016-09-15 01:37:07 -04:00
David Seguin
01a97f6487
Made pthread required for building protobuf
2016-09-08 17:12:42 -04:00
Carter Bray
3b9d37abe5
Suppress integer conversion warnings inside protobuf source
2016-07-31 17:01:52 -07:00
Michael Casadevall
c3188b1d6c
Make our build checks relate to the new compiler world order
...
(thanks lethosor)
Signed-off-by: Michael Casadevall <mcasadevall@ubuntu.com>
2016-06-28 07:13:52 -05:00
Michael Casadevall
62e8740e3a
Backport new hash.h from git upstream to add support for VS2015
...
Signed-off-by: Michael Casadevall <mcasadevall@ubuntu.com>
2016-06-28 07:13:18 -05:00
lethosor
71ff6f875a
Also exclude libprotoc when cross-compiling (unused)
2016-01-18 09:22:08 -05:00
lethosor
e8ea5c93ca
Build testHashMap.cpp in the build directory
...
This allows switching between build directories without having to re-run CMake
2016-01-09 08:37:01 -05:00
lethosor
8cec8af3b1
CMake: Support cross-compiling
...
This relies on a working cross-compiler, of course, as well as a separate build
directory for cross-compiled builds, with DFHACK_NATIVE_BUILD_DIR pointing
to an already-successful native build directory (this is needed for protoc).
2016-01-08 21:08:26 -05:00
lethosor
e15dcfd72a
protobuf: Disable unused-result warnings in release mode
2015-11-05 21:52:04 -05:00
lethosor
867b733a04
Fix a few GCC warnings on Linux (GCC 4.6)
2015-11-05 21:48:13 -05:00
lethosor
f4a2188e42
Travis: Build DFHack
2015-10-03 15:58:41 -04:00
lethosor
0337df94de
GCC: Specify C++11 when building protobuf
...
This is necessary to build with GCC 4.6 on Linux (Travis)
2015-10-03 15:40:28 -04:00
Alexander "Ace" Olofsson
d2039386b0
Add <algorithm> includes and use min/max to get them into global scope
2014-11-09 11:20:09 +01:00
Timothy Collett
96abc903ab
Merge branch 'master' of http://github.com/peterix/dfhack
2012-09-10 11:54:56 -04:00
Timothy Collett
274d6038ad
Merge further changes (???)
2012-09-10 09:19:21 -04:00
Petr Mrázek
509d957090
Make protobuf behave with multiple build folders involved.
2012-08-17 13:02:31 +02:00
Quietust
985533460c
-Wno-sign-compare only works with GCC
2012-05-23 13:10:57 -05:00
Alexander Gavrilov
9c94b7c1e7
Make the hash map implementation error more useful.
...
It instructs to update GCC, but actually the most common
reason for the error is missing 32-bit development libs.
2012-04-28 11:53:26 +04:00
Alexander Gavrilov
0a6982f404
Enable warnings correctly on linux and fix a lot of them.
2012-04-20 13:30:37 +04:00
Petr Mrázek
6dde2373d7
Make MSVC shut up when compiling protobuf.
...
Disabled planty of common harmless warnings.
2012-03-13 17:32:44 +01:00
Petr Mrázek
eb4757043b
Move depends out of main library, make them (static) libraries.
2012-03-13 14:46:48 +01:00