Add extracted tools: CitrineOS, OpenOCPP, ShapeShifter
- CitrineOS core extracted (CSMS OCPP 2.0.1) - OpenOCPP extracted (firmware OCPP 1.6J/2.0.1) - ShapeShifter library installed (pip install -e) - ShapeShifter specification extracted - EVerest extracted TODO updated with progress
This commit is contained in:
25
tools/EVerest-main/cmake/compatibility/boost.cmake
Normal file
25
tools/EVerest-main/cmake/compatibility/boost.cmake
Normal file
@@ -0,0 +1,25 @@
|
||||
# compatibility for Boost >= 1.89 while keeping backwards compatibility with existing code
|
||||
if(Boost_VERSION_STRING VERSION_LESS "1.69.0")
|
||||
# Boost.System is a header only library only from 1.69.0
|
||||
find_package(Boost
|
||||
COMPONENTS
|
||||
system
|
||||
REQUIRED
|
||||
)
|
||||
endif()
|
||||
|
||||
if(Boost_VERSION_STRING VERSION_GREATER_EQUAL "1.89.0")
|
||||
# starting from Boost 1.89.0 the included compatibility layer is removed
|
||||
# here we re-introduce a very simplified version of it
|
||||
configure_file(
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/cmake/compatibility/boost_systemConfig.cmake"
|
||||
${CMAKE_BINARY_DIR}/boost_system/boost_systemConfig.cmake
|
||||
COPYONLY
|
||||
)
|
||||
configure_file(
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/cmake/compatibility/boost_systemConfigVersion.cmake"
|
||||
${CMAKE_BINARY_DIR}/boost_system/boost_systemConfigVersion.cmake
|
||||
COPYONLY
|
||||
)
|
||||
set(boost_system_DIR ${CMAKE_BINARY_DIR}/boost_system CACHE PATH "")
|
||||
endif()
|
||||
@@ -0,0 +1,4 @@
|
||||
if(NOT TARGET Boost::system)
|
||||
add_library(everest_boost_system_target INTERFACE)
|
||||
add_library(Boost::system ALIAS everest_boost_system_target)
|
||||
endif()
|
||||
@@ -0,0 +1,4 @@
|
||||
set(boost_system_VERSION "${Boost_VERSION_STRING}")
|
||||
set(PACKAGE_VERSION "${Boost_VERSION_STRING}")
|
||||
set(PACKAGE_VERSION_COMPATIBLE TRUE)
|
||||
set(PACKAGE_VERSION_EXACT TRUE)
|
||||
Reference in New Issue
Block a user