Daniel Scharrer
fcfed046a2
CMake: Improve VERSION file parsing
11 years ago
Daniel Scharrer
648a9e8193
Silence a bogus warning with the Intel compiler
11 years ago
Daniel Scharrer
2c827154cd
Update copyright lines
11 years ago
Daniel Scharrer
694883815b
style: Allow parens on a new line
11 years ago
Daniel Scharrer
31db9bf8aa
CMake: Don't misuse CMAKE_MODULE_PATH
11 years ago
Daniel Scharrer
ee924c20eb
CMake: Enable double promotion warnings
11 years ago
Daniel Scharrer
9912507b5a
CMake: Detect we are using static libs for Boost
...
Previously we relied on the user to supply Boost_USE_STATIC_LIBS in
order to link Boost dependencies.
11 years ago
Daniel Scharrer
db84dd0a6b
Use __builtin_bswap16 when available
...
Also use configure checks for 32-bit and 64-bit variants instead of
relying on compiler version.
Fixes: issue #41
11 years ago
Daniel Scharrer
379452494b
CMake: Remove useless flag check
...
pathCC doesn't even support disabling that warning :(
11 years ago
Daniel Scharrer
31e10ae477
CMake: Improve check for -Wno-maybe-uninitialized
11 years ago
Daniel Scharrer
56213e8a75
CMake: Disable -Wunused-local-typedef for EKOPath
11 years ago
Daniel Scharrer
50d44aeea8
CMake: Enable -Wpessimizing-move
11 years ago
Daniel Scharrer
52f8e7b0cd
CMake: Disable -Wmaybe-uninitialized in normal builds
11 years ago
Daniel Scharrer
cb3bc7e56c
CMake: Use `git` to determine HEAD if available
12 years ago
Daniel Scharrer
43c6de9797
CMake: Add support for packed refs in .git/HEAD
12 years ago
Daniel Scharrer
c3637a5cf9
CMake: Don't fail if GIT_HEAD could not be found
12 years ago
Daniel Scharrer
456928f4cb
Fix style issues
12 years ago
Daniel Scharrer
6e1f739306
Add the Clang -Wheader-guard compile option
12 years ago
Daniel Scharrer
9fb7089358
Hard-code MSVC versions for some C++11 support checks
12 years ago
Daniel Scharrer
6f2205d263
CMake: Disable check_link_library() with MSVC
12 years ago
Daniel Scharrer
be55d23baf
Add optimization flags for MSVC
...
Optimize for size, enable link-time optimization.
12 years ago
Daniel Scharrer
edfb219c95
style: Check for space between 'template' and '<'
12 years ago
Daniel Scharrer
316dc795a3
Add another define for static libiconv on Win32
12 years ago
Daniel Scharrer
5a43402b43
Disable MSVC warning C4250
12 years ago
Daniel Scharrer
216e4ecba6
Use -pedantic when compiling with -std=c++11
13 years ago
Daniel Scharrer
bdba4788b4
Update cpplint.py to version 0.0.3
13 years ago
Daniel Scharrer
32eba667ea
CMake: Don't rely on SOURCE_GLOB to find headers
13 years ago
Daniel Scharrer
51f0a99e0c
CMake: Improve VersionScript: break long strings
13 years ago
Daniel Scharrer
e2ee3b8d85
Allow to enable debug output in release builds
13 years ago
Daniel Scharrer
b58bb0d854
Fix incorrect dependency for release.cpp
13 years ago
Daniel Scharrer
9373692246
cpplint: Fix warning for indented /*...*/ comments
13 years ago
Daniel Scharrer
ffd164beb5
cmake: Add newline at end of C++11 test files
13 years ago
Daniel Scharrer
7b17d79e71
Use static libraries from package-config as hints
13 years ago
Daniel Scharrer
9b6502061a
Update copyright lines in files changed this year
13 years ago
Daniel Scharrer
1de0483405
Use C++11 alignof(type) if available
13 years ago
Daniel Scharrer
1009417cc6
Silence style warnings
13 years ago
Daniel Scharrer
5a678b88f5
Add C++11 feature checks
13 years ago
Daniel Scharrer
aeefcd2880
cmake: Use pkgconfig values as hints in FindLMZA
13 years ago
Daniel Scharrer
8cd279941e
Cleanup static linking options
13 years ago
Daniel Scharrer
b658e33b1b
Fix references in Doxygen documentation
13 years ago
Daniel Scharrer
6618f94a82
Avoid boost::shared_ptr
...
If possible, use std::unique_ptr instead (or std::auto_ptr for C++03)
13 years ago
Daniel Scharrer
5f6f07570b
Fix build on armv6j and with older glibc
...
- Be more careful about the distinction between CXX and linker flags.
- Define -D_GNU_SOURCE=1 for compatibility with older glibc versions.
13 years ago
Daniel Scharrer
805256686a
Fix incorrect documentation for Findiconv.cmake
13 years ago
Daniel Scharrer
a90101af1e
Add documentation to custom CMake find modules
13 years ago
Daniel Scharrer
64d0b02907
Fix MSVC 10 build
...
std::bitset constructor was ambiguous because in C++11 the parameter
changed from unsigned long to unsigned long while MSVC violates the
standard by also having a constructor taking an int parameter.
13 years ago
Daniel Scharrer
c374dab136
Fix static build with MSVC
13 years ago
Daniel Scharrer
1e28ea4f50
Add a workaround for mixed iconv versions on OS X
13 years ago
Daniel Scharrer
24b71da46f
Fix MSVC 9.0 warnings
13 years ago
Daniel Scharrer
49f517b496
Also find lib-prefixed libraries under Windows
...
For lzma and iconv.
13 years ago
Daniel Scharrer
afd214b41c
Set path hints for libraries based on includes
...
So that CMake won't match incompatible versions if multiple versions
of a library are installed in different prefixes.
13 years ago