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
Daniel Scharrer
498448099f
Fix some typos in the static libs selection code
13 years ago
Daniel Scharrer
343729bdff
Include file time precision in the config summary
13 years ago
Daniel Scharrer
a4280c5289
Add an option to set a timezone for timestamps
...
... and to disable setting the timestamps.
See: enhancement #5
13 years ago
Daniel Scharrer
896efa6a4c
Remove unused member variables in the logger class
13 years ago
Daniel Scharrer
1b2a62b714
Update copyright lines for files changed this year
13 years ago
Daniel Scharrer
bb50bffde2
Don't hard-code the license string in the source
...
Read it at compile-time from the LICENSE file.
13 years ago
Daniel Scharrer
d7a72624e2
Add options to make static builds easier
13 years ago
Daniel Scharrer
153b6d4229
Improve checks for compiler and linker flags
...
- Check more warning expressions against the standard output
- Don't pass linker flags to be tested to the compiler
14 years ago
Daniel Scharrer
88a7f1f687
Add a note about CMake's check_cxx_compiler_flag
14 years ago
Daniel Scharrer
90c4555d77
Fix configure error when no libiconv is found
...
Somehow this dindn't happen prevously
-- did something change in CMake 2.8.10.2?
14 years ago
lmb
aa9ff1df94
Fix linking to libiconv when needed
...
Such as on OS X, where iconv is not bundled with libc.
14 years ago
Daniel Scharrer
a68c12797a
Print a config summary at the end of the CMake run
...
Also move more code out of the main CMakeLists.txt file
14 years ago
Daniel Scharrer
a54b579cc3
Add CMake options to disable custom compiler flags
...
* SET_WARNING_FLAGS for warning options (don't affect binaries)
* SET_OPTIMIZATION_FLAGS for compiler & linker optimization options
Also, re-enable some warnings that were disabled and instead suppress
them for the individual occurences.
14 years ago
Daniel Scharrer
b110f3b742
Link to an external libiconv if available
...
This is required to compile on systems where the libc doesn't include
iconv such as OS X and presumably Windows.
14 years ago
Daniel Scharrer
8d89a641fb
Add a `make doc` target to run Doxygen
14 years ago
Daniel Scharrer
c327d056ea
Update copyright year in files changed since 1.2
14 years ago