diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2021-03-14 19:03:20 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2021-03-14 19:03:20 +0300 |
commit | 53701adc9afa2d31020a9306a54c5ed58f71b948 (patch) | |
tree | 828ddb9d29977841ceb4f4e4d21ac4d692a53181 /project/boost/build.py | |
parent | remove toolchains/ (diff) | |
download | cmake-common-53701adc9afa2d31020a9306a54c5ed58f71b948.tar.gz cmake-common-53701adc9afa2d31020a9306a54c5ed58f71b948.zip |
move large in-code comments to docs/
Diffstat (limited to 'project/boost/build.py')
-rw-r--r-- | project/boost/build.py | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/project/boost/build.py b/project/boost/build.py index 3a073f3..612d815 100644 --- a/project/boost/build.py +++ b/project/boost/build.py @@ -23,21 +23,6 @@ By default, only builds: * statically linked to the runtime. ''' -# The way Boost names library files by default is insane. It's absolutely not compatible between -# OSs, compilers, Boost versions, etc. On Linux, for example, it would create -# stage/lib/libboost_filesystem.a, while on Windows it would become something insane like -# stage\lib\libboost_filesystem-vc142-mt-s-x64-1_72.lib. More than that, older Boost versions -# wouldn't include architecture information (the "x64" part) in the file name, so you couldn't -# store libraries for both x86 and x64 in the same directory. On Linux, on the other hand, you -# can't even store debug/release binaries in the same directory. What's worse is that older CMake -# versions don't support the architecture suffix, choking on the Windows example above. -# -# With all of that in mind, I decided to bring some uniformity by sacrificing some flexibility. -# b2 is called with --layout=system, and libraries are put to stage/<platform>/<configuration>/lib, -# where <platform> is x86/x64 and <configuration> is CMake's CMAKE_BUILD_TYPE. That means that I -# can't have libraries with different runtime-link values in the same directory, but I don't really -# care. - import argparse from contextlib import contextmanager import logging |