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:
20
tools/EVerest-main/cmake/CreateModuleSymlink.cmake
Normal file
20
tools/EVerest-main/cmake/CreateModuleSymlink.cmake
Normal file
@@ -0,0 +1,20 @@
|
||||
set(MODULE_LINK_PATH "${EVEREST_MODULE_INSTALL_PREFIX}/${MODULE_NAME}")
|
||||
|
||||
if(IS_DIRECTORY ${MODULE_LINK_PATH} AND NOT IS_SYMLINK ${MODULE_LINK_PATH})
|
||||
message(
|
||||
FATAL_ERROR "\
|
||||
I won't be able create the symlink, because the link target \
|
||||
${MODULE_LINK_PATH} already exists and I don't want to delete \
|
||||
it. Probably you executed the INSTALL target already without \
|
||||
symlinks. Please remove the directory manually.\
|
||||
"
|
||||
)
|
||||
endif()
|
||||
|
||||
install(
|
||||
CODE "
|
||||
execute_process(COMMAND cmake -E create_symlink
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
${MODULE_LINK_PATH})
|
||||
"
|
||||
)
|
||||
Reference in New Issue
Block a user