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:
@@ -0,0 +1,62 @@
|
||||
# OCPP EVSE Security
|
||||
|
||||
add_library(ocpp_evse_security STATIC)
|
||||
add_library(everest::ocpp_evse_security ALIAS ocpp_evse_security)
|
||||
ev_register_library_target(ocpp_evse_security)
|
||||
|
||||
target_sources(ocpp_evse_security
|
||||
PRIVATE
|
||||
src/evse_security_ocpp.cpp
|
||||
)
|
||||
|
||||
target_include_directories(ocpp_evse_security
|
||||
PUBLIC
|
||||
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>
|
||||
"$<TARGET_PROPERTY:generate_cpp_files,EVEREST_GENERATED_INCLUDE_DIR>"
|
||||
)
|
||||
|
||||
target_compile_options(ocpp_evse_security
|
||||
PRIVATE
|
||||
-Wimplicit-fallthrough
|
||||
-Werror=switch-enum
|
||||
)
|
||||
|
||||
add_dependencies(ocpp_evse_security generate_cpp_files)
|
||||
|
||||
target_link_libraries(ocpp_evse_security
|
||||
PRIVATE
|
||||
everest::ocpp
|
||||
everest::framework
|
||||
)
|
||||
|
||||
|
||||
# OCPP conversions
|
||||
|
||||
add_library(ocpp_conversions STATIC)
|
||||
add_library(everest::ocpp_conversions ALIAS ocpp_conversions)
|
||||
ev_register_library_target(ocpp_conversions)
|
||||
|
||||
target_sources(ocpp_conversions
|
||||
PRIVATE
|
||||
src/ocpp_conversions.cpp
|
||||
)
|
||||
|
||||
target_include_directories(ocpp_conversions
|
||||
PUBLIC
|
||||
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>
|
||||
"$<TARGET_PROPERTY:generate_cpp_files,EVEREST_GENERATED_INCLUDE_DIR>"
|
||||
)
|
||||
|
||||
target_compile_options(ocpp_conversions
|
||||
PRIVATE
|
||||
-Wimplicit-fallthrough
|
||||
-Werror=switch-enum
|
||||
)
|
||||
|
||||
add_dependencies(ocpp_conversions generate_cpp_files)
|
||||
|
||||
target_link_libraries(ocpp_conversions
|
||||
PRIVATE
|
||||
everest::ocpp
|
||||
everest::framework
|
||||
)
|
||||
Reference in New Issue
Block a user