Daniel Scharrer
0c83a0d25b
Update copyright years
8 years ago
Daniel Scharrer
322e625aca
CMake: Allow disabling C++17/14 while keeping C++11 enabled
8 years ago
Daniel Scharrer
d146fa04dd
CMake: Add DEBUG to user-visible configuration variables
8 years ago
Daniel Scharrer
70c95a13b1
cpplint: Increase line length limit
8 years ago
Daniel Scharrer
1674cc445f
CMake: Update code style config
8 years ago
Daniel Scharrer
51e034f936
CMake: Enable C++17 mode
8 years ago
Daniel Scharrer
a58edfd40e
CXX11Check: Move test files into a subdirectory
9 years ago
Daniel Scharrer
f97330b63c
CXX11Check: Enable C++14 mode in newer MSVC versions
9 years ago
Daniel Scharrer
14d720d938
CXX11Check: Ignore warnings for feature checks
9 years ago
Daniel Scharrer
b029f025f7
CompileCheck: Ignore warnings for builtin checks
9 years ago
Daniel Scharrer
180e055c10
CompileCheck: Create uniquely-named builtin test files
9 years ago
Daniel Scharrer
342f0f238a
CompileCheck: Add comment
9 years ago
Daniel Scharrer
0fa8498256
CompileCheck: Fix check_flag for MSVC
9 years ago
Daniel Scharrer
9bd97a41f6
CMake: Use PROJECT_SOURCE_DIR instead of CMAKE_SOURCE_DIR
9 years ago
Daniel Scharrer
b6921fd277
CMake: Use PROJECT_BINARY_DIR instead of CMAKE_BINARY_DIR
9 years ago
Gabriel Huber
9cbd68fc71
Fix building in paths that contain regex expressions
...
Resolves #55
10 years ago
Daniel Scharrer
6acf806782
Update copyright years
10 years ago
Daniel Scharrer
032ae46fd9
FilterList.cmake: Use implicit variable expansion in if()
10 years ago
Daniel Scharrer
b3ca90e529
Fix build with CMake < 3.0
10 years ago
Daniel Scharrer
d243834402
VersionString.cmake: Use implicit variable expansion in if()
10 years ago
Daniel Scharrer
d36a5f4350
VersionScript.cmake: Use implicit variable expansion in if()
10 years ago
Daniel Scharrer
222ae72be9
UseStaticLibs.cmake: Use implicit variable expansion in if()
10 years ago
Daniel Scharrer
34cf8dcb73
FilterList.cmake: Use implicit variable expansion in if()
10 years ago
Daniel Scharrer
32fa0f6bd6
CompileCheck.cmake: Use implicit variable expansion in if()
10 years ago
Daniel Scharrer
2dab4869bc
CXX11Check.cmake: Use implicit variable expansion in if()
10 years ago
Daniel Scharrer
c9e5d204bf
VersionString.cmake: Guard against defined variables
...
Previously this would fail under CMake older than 3.1 if "file" or
"variable" were variables.
For CMake 3.1+ this was fixed in commit 017057.
See: issue #50
10 years ago
Daniel Scharrer
2bb3e9f369
CMake: Build in C++14 mode if supported
10 years ago
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