From 53701adc9afa2d31020a9306a54c5ed58f71b948 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Sun, 14 Mar 2021 19:03:20 +0300 Subject: move large in-code comments to docs/ --- project/boost/build.py | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'project/boost/build.py') 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///lib, -# where is x86/x64 and 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 -- cgit v1.2.3