Skip to content

Commit

Permalink
Merge pull request #203 from tstenner/slimserialization
Browse files Browse the repository at this point in the history
Replace Boost.Archive
  • Loading branch information
tstenner authored Oct 15, 2023
2 parents c1d30d8 + 96b1cef commit 453bba4
Show file tree
Hide file tree
Showing 1,123 changed files with 429 additions and 249,061 deletions.
10 changes: 1 addition & 9 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,9 @@ option(LSL_OPTIMIZATIONS "Enable some more compiler optimizations" ON)
option(LSL_UNITTESTS "Build LSL library unit tests" OFF)
option(LSL_BUNDLED_BOOST "Use the bundled Boost by default" ON)
option(LSL_BUNDLED_PUGIXML "Use the bundled pugixml by default" ON)
option(LSL_SLIMARCHIVE "Use experimental but smaller serialization code" OFF)
option(LSL_TOOLS "Build some experimental tools for in-depth tests" OFF)

mark_as_advanced(LSL_SLIMARCHIVE LSL_FORCE_FANCY_LIBNAME)
mark_as_advanced(LSL_FORCE_FANCY_LIBNAME)

set(LSL_WINVER "0x0601" CACHE STRING
"Windows version (_WIN32_WINNT) to target (defaults to 0x0601 for Windows 7)")
Expand Down Expand Up @@ -182,13 +181,6 @@ else()
target_link_libraries(lslboost INTERFACE Boost::boost Boost::disable_autolinking)
endif()

if(LSL_SLIMARCHIVE OR NOT LSL_BUNDLED_BOOST)
message(STATUS "Using shim instead of full Boost.Archive")
target_compile_definitions(lslboost INTERFACE SLIMARCHIVE)
elseif(LSL_BUNDLED_BOOST)
# compile Boost.Serialization objects as part of lslobj
target_sources(lslobj PRIVATE lslboost/serialization_objects.cpp)
endif()
target_compile_definitions(lslboost INTERFACE BOOST_ALL_NO_LIB)

# target configuration for the internal lslobj target
Expand Down
100 changes: 0 additions & 100 deletions lslboost/boost/archive/archive_exception.hpp

This file was deleted.

Loading

0 comments on commit 453bba4

Please sign in to comment.