aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/common.cmake (unfollow)
Commit message (Collapse)Author
2023-07-03common.cmake: enable warnings for Clang as wellEgor Tensin
I seriously can't believe I didn't have warnings enabled for Clang. That is so, so dumb.
2021-01-17GIANT CLUSTERFUCK OF A COMMITEgor Tensin
OK, this is epic. I was basically just trying to a) support Clang and b) add more test coverage. _THREE MONTHS_ and a few hundred CI runs later, this is what I came up with. I don't know how it ended up being what it is, but here we go. Some highlights of the changes: 1) CI builds has been moved to GitHub Actions, 2) the entire notion of a toolchain has been reworked; it now supports Clang on all platforms. * .github: this directory contains the GitHub Actions workflow scripts/actions. In the process, I created like 6 external GitHub actions, but it's still pretty massive. An upside is that it covers much more platform/toolchain combinations _and_ check a lot of the expected post-conditions. TODO: .ci/Makefile is obsolete now, as well as .travis.yml and .appveyor.yml. * common.cmake: added Clang support. In the process, a great deal has been learned about how CMake works; in particular, static runtime support has been reworked to be more robust. * project: the entire notion of a "toolchain" has been reworked. Instead of a measly --mingw parameter, there's now a separate --toolset parameter, which allows you to choose between GCC, Clang, MSVC, etc. Both Boost and CMake build scripts were enhanced greatly to support Clang and other toolchains in a more robust way.
2020-10-28common.cmake: add install_pdbs()before_toolchain_refactoringEgor Tensin
2020-10-28common.cmake: symbol stripping was completely brokenEgor Tensin
Generator expressions aren't evaluated at configuration time. Symbols were always stripped, unfortunately.
2020-10-28common.cmake: dedupe the code + more messagesEgor Tensin
2020-10-14common.cmake: allow nested inclusionsEgor Tensin
2020-03-28WIP: restructureEgor Tensin
A stupid attempt to reduce code duplication led me to believe that all the scripts could use _a bit_ of refactoring. This is going to be a major pain (factoring out all the things), which I'll take gladly. All the links and usage examples are broken right now, but nobody cares, so whatevs.
2020-03-24common.cmake: account for ALIAS targetsoldEgor Tensin
2020-01-09common.cmake: more precise platform detectionEgor Tensin
2020-01-08common.cmake: CC_STATIC_RUNTIME=OFF implied if using dynamic Boost libsEgor Tensin
2020-01-03rearrange all files completelyEgor Tensin
2020-01-03common.cmake: don't use keyword- target_link_librariesEgor Tensin
2019-12-21common.cmake: rename internal functionsEgor Tensin
2019-12-21common.cmake: rename some internal variablesEgor Tensin
2019-12-13common.cmake: CC_STATIC_RUNTIME=OFF on LinuxEgor Tensin
2019-12-10fix licensing notescommon_cmakeEgor Tensin
2019-12-09more robust compiler identificationEgor Tensin
2019-12-09common.cmake: user switches may be set in CMakeLists.txtEgor Tensin
2019-12-09split compiler options & Windows macrosEgor Tensin
2019-12-09remove commented-code codeEgor Tensin
2019-12-09common.cmake: auto-set Boost_* variablesEgor Tensin
2019-12-09update common.cmakeEgor Tensin
* Add more logging messages. * Rename user-facing switches. * Refactor things a bit (a lot). * Lower the default C++ standard version back to 14 to support CMake 3.1 (meh, there're probably other features in use that are not supported by it).
2019-11-30update versionEgor Tensin
2019-11-30C++17 by defaultEgor Tensin
2019-11-30better toolset identificationEgor Tensin
2019-11-30update repo URLEgor Tensin