From 52c92b60db394d289463d64b8f8682f08b4e4f48 Mon Sep 17 00:00:00 2001 From: Diego Ferigo Date: Fri, 18 Jan 2019 17:04:13 +0100 Subject: [PATCH] Updated component names Switched from Mex to Simulink, and from Coder to SimulinkCoder --- cmake/ExtraPackageConfigVars.cmake.in | 22 +++++++++----- cmake/TargetFromGeneratedCode.cmake | 5 ++-- doc/mkdocs/data/autogenerate_code.md | 2 +- doc/mkdocs/data/create_new_library.md | 9 +++--- doc/mkdocs/data/install.md | 6 ++-- doc/release/template.md | 8 ++--- example/CMakeLists.txt | 8 ++--- .../AutogenerationExample.h | 2 +- example/matlab/CMakeLists.txt | 6 +--- matlab/BlockFactory.tlc | 2 +- sources/CMakeLists.txt | 8 ++--- sources/{Mex => Simulink}/CMakeLists.txt | 26 ++++++++-------- .../Private/SimulinkBlockInformationImpl.h | 0 .../Simulink}/SimulinkBlockInformation.h | 0 .../{Mex => Simulink}/src/BlockFactory.cpp | 2 +- .../src/SimulinkBlockInformation.cpp | 4 +-- .../src/SimulinkBlockInformationImpl.cpp | 2 +- .../{Coder => SimulinkCoder}/CMakeLists.txt | 30 +++++++++---------- .../SimulinkCoder}/CoderBlockInformation.h | 0 .../SimulinkCoder}/GeneratedCodeWrapper.h | 0 .../src/CoderBlockInformation.cpp | 2 +- 21 files changed, 73 insertions(+), 71 deletions(-) rename sources/{Mex => Simulink}/CMakeLists.txt (72%) rename sources/{Mex/include/BlockFactory/Mex => Simulink/include/BlockFactory/Simulink}/Private/SimulinkBlockInformationImpl.h (100%) rename sources/{Mex/include/BlockFactory/Mex => Simulink/include/BlockFactory/Simulink}/SimulinkBlockInformation.h (100%) rename sources/{Mex => Simulink}/src/BlockFactory.cpp (99%) rename sources/{Mex => Simulink}/src/SimulinkBlockInformation.cpp (99%) rename sources/{Mex => Simulink}/src/SimulinkBlockInformationImpl.cpp (99%) rename sources/{Coder => SimulinkCoder}/CMakeLists.txt (65%) rename sources/{Coder/include/BlockFactory/Coder => SimulinkCoder/include/BlockFactory/SimulinkCoder}/CoderBlockInformation.h (100%) rename sources/{Coder/include/BlockFactory/Coder => SimulinkCoder/include/BlockFactory/SimulinkCoder}/GeneratedCodeWrapper.h (100%) rename sources/{Coder => SimulinkCoder}/src/CoderBlockInformation.cpp (99%) diff --git a/cmake/ExtraPackageConfigVars.cmake.in b/cmake/ExtraPackageConfigVars.cmake.in index c5b18d0..7c78374 100644 --- a/cmake/ExtraPackageConfigVars.cmake.in +++ b/cmake/ExtraPackageConfigVars.cmake.in @@ -1,33 +1,39 @@ set(NAME "BlockFactory") -foreach(comp (BlockFactoryCore BlockFactoryCoder BlockFactoryMex)) - if(${${comp}_FOUND}) +foreach(comp (Core Simulink SimulinkCoder)) + if(${${NAME}${comp}_FOUND}) string(CONCAT FOUND_COMPONENTS_LIST ${FOUND_COMPONENTS_LIST} " ${comp}") endif() endforeach() +# Here comp is only Core, Simulink, SimulinkCoder. +# The call to find_dependency sets the variable BlockFactoryCore_FOUND. foreach(comp ${${NAME}_FIND_COMPONENTS}) # Match the component status with the find_dependency exit variable - set(${NAME}_${comp}_FOUND ${${comp}_FOUND}) + set(${NAME}_${comp}_FOUND ${${NAME}${comp}_FOUND}) endforeach() +# Set BlockFactory_FOUND to true and then check if there are required +# components that are missing +set(${NAME}_FOUND TRUE) check_required_components(${NAME}) -if(${NAME}_FOUND) - message(STATUS "Found BlockFactory ${${NAME}_FIND_VERSION} (Components:${FOUND_COMPONENTS_LIST})") +if(${${NAME}_FOUND}) + message(STATUS "Found BlockFactory ${${NAME}_VERSION} (Components:${FOUND_COMPONENTS_LIST})") endif() +# Print useful info about the outcome if(NOT ${NAME}_FIND_QUIETLY) foreach(comp ${${NAME}_FIND_COMPONENTS}) # If a component is not found, tell the user its name - if((NOT ${NAME}_FIND_REQUIRED_${comp}) AND (NOT ${comp}_FOUND)) + if((NOT ${NAME}_FIND_REQUIRED_${comp}) AND (NOT ${NAME}${comp}_FOUND)) # status if it is OPTIONAL_COMPONENT message(STATUS "BlockFactory: OPTIONAL component ${comp} NOT found") - elseif(NOT ${comp}_FOUND) + elseif(NOT ${NAME}${comp}_FOUND) # warning if it is REQUIRED message(WARNING "BlockFactory: REQUIRED component ${comp} NOT found") # Note: find_package will exit with a fatal error but without telling - # what is missing + # what is missing endif() endforeach() endif() diff --git a/cmake/TargetFromGeneratedCode.cmake b/cmake/TargetFromGeneratedCode.cmake index 6a0a32a..5d7b855 100644 --- a/cmake/TargetFromGeneratedCode.cmake +++ b/cmake/TargetFromGeneratedCode.cmake @@ -46,8 +46,7 @@ endif() # FIND DEPENDENCIES FOR BUILDING THE AUTOGENERATED CODE # ===================================================== -find_package(BlockFactory COMPONENTS - BlockFactoryCore BlockFactoryCoder REQUIRED) +find_package(BlockFactory COMPONENTS Core SimulinkCoder REQUIRED) # ============================================== # FIND THE defines.txt FILE AND LOAD ITS CONTENT @@ -90,6 +89,6 @@ add_library(${SIMULINK_MODELNAME} STATIC target_link_libraries(${SIMULINK_MODELNAME} PUBLIC SimulinkCoder ${SIMULINK_MODELNAME}_data - BlockFactory::Coder) + BlockFactory::SimulinkCoder) endmacro() diff --git a/doc/mkdocs/data/autogenerate_code.md b/doc/mkdocs/data/autogenerate_code.md index d1cc9ff..295ccdb 100644 --- a/doc/mkdocs/data/autogenerate_code.md +++ b/doc/mkdocs/data/autogenerate_code.md @@ -7,5 +7,5 @@ The capability of autogenerating C++ code from a Simulink model is provided by S - [`AutogenerationExample.mdl`](https://github.com/robotology/blockfactory/tree/master/example/matlab/AutogenerationExample.mdl) A Simulink model with the right configuration of Simulink Coder - [`example/matlab/AutogenerationExample_grt_rtw`](https://github.com/robotology/blockfactory/tree/master/example/matlab/AutogenerationExample_grt_rtw) The folder containing the autogenerated sources +- ['example/matlab/CMakeLists.txt'](https://github.com/robotology/blockfactory/blob/master/example/matlab/CMakeLists.txt) The CMake file for compiling the generated code - [`src/main.cpp`](https://github.com/robotology/blockfactory/tree/master/example/src/main.cpp) A simple main function to execute the autogenerated code - diff --git a/doc/mkdocs/data/create_new_library.md b/doc/mkdocs/data/create_new_library.md index 1aff5ea..7e6bf64 100644 --- a/doc/mkdocs/data/create_new_library.md +++ b/doc/mkdocs/data/create_new_library.md @@ -174,9 +174,11 @@ endif() # =========== # Find the needed BlockFactory components: -# - BlockFactoryCore contains the core classes such as Block and Signal -# - BlockFactoryMex is required at runtime for loading the library from Simulink -find_package(BlockFactory 1 REQUIRED COMPONENTS BlockFactoryCore BlockFactoryMex) +# - "Core" contains the core classes such as Block and Signal +# - "Simulink" is required at runtime for loading the library from Simulink +find_package(BlockFactory + REQUIRED COMPONENTS Core + OPTIONAL_COMPONENTS Simulink) # Create the plugin library. This must be a SHARED library. add_library(ExampleToolbox SHARED @@ -196,7 +198,6 @@ target_link_libraries(ExampleToolbox PRIVATE # Setup the include directories target_include_directories(ExampleToolbox PRIVATE $) - ``` !!! note diff --git a/doc/mkdocs/data/install.md b/doc/mkdocs/data/install.md index 88d49ab..f888a2e 100644 --- a/doc/mkdocs/data/install.md +++ b/doc/mkdocs/data/install.md @@ -14,9 +14,9 @@ BlockFactory provides three components, listed here below with their dependendencies. If a component dependency is not found, the component is not built. -| | `Core` | `Coder` | `Mex` | -| ---------------- | ------ | ------- | ---------------------- | -| **Dependencies** | ~ | ~ | - Matlab
- Simulink | +| | `Core` | `SimulinkCoder` | `Simulink` | +| ---------------- | ------ | --------------- | ---------------------- | +| **Dependencies** | ~ | ~ | - Matlab
- Simulink | !!! note Simulink Coder is not a build dependency of the `Coder` component. Of course, you must have it if you want to generate C++ code from a Simulink Model. diff --git a/doc/release/template.md b/doc/release/template.md index afd7011..d6947ff 100644 --- a/doc/release/template.md +++ b/doc/release/template.md @@ -8,17 +8,17 @@ ### `Core` -### `Mex` +### `Simulink` -### `Coder` +### `SimulinkCoder` ## Bug Fixes ### `Core` -### `Mex` +### `Simulink` -### `Coder` +### `SimulinkCoder` ## Contributors diff --git a/example/CMakeLists.txt b/example/CMakeLists.txt index a4bc8e2..00789fc 100644 --- a/example/CMakeLists.txt +++ b/example/CMakeLists.txt @@ -30,11 +30,11 @@ endif() # =========== # Find the needed BlockFactory components: -# - BlockFactoryCore contains the core classes such as Block and Signal -# - BlockFactoryMex is required at runtime for loading the library from Simulink +# - "Core" contains the core classes such as Block and Signal +# - "Simulink" is required at runtime for loading the library from Simulink find_package(BlockFactory - REQUIRED COMPONENTS BlockFactoryCore - OPTIONAL_COMPONENTS BlockFactoryMex) + REQUIRED COMPONENTS Core + OPTIONAL_COMPONENTS Simulink) # Create the plugin library. This must be a SHARED library. add_library(ExampleToolbox SHARED diff --git a/example/matlab/AutogenerationExample_grt_rtw/AutogenerationExample.h b/example/matlab/AutogenerationExample_grt_rtw/AutogenerationExample.h index d5caf10..af9a9f8 100644 --- a/example/matlab/AutogenerationExample_grt_rtw/AutogenerationExample.h +++ b/example/matlab/AutogenerationExample_grt_rtw/AutogenerationExample.h @@ -30,7 +30,7 @@ #include #include #include -#include +#include #include "rtwtypes.h" #include "rtw_continuous.h" #include "rtw_solver.h" diff --git a/example/matlab/CMakeLists.txt b/example/matlab/CMakeLists.txt index 1c8b28d..b2962f6 100644 --- a/example/matlab/CMakeLists.txt +++ b/example/matlab/CMakeLists.txt @@ -2,8 +2,7 @@ # This software may be modified and distributed under the terms of the # GNU Lesser General Public License v2.1 or any later version. -find_package(BlockFactory COMPONENTS - BlockFactoryCoder REQUIRED) +find_package(BlockFactory COMPONENTS SimulinkCoder REQUIRED) include(TargetFromGeneratedCode) @@ -13,6 +12,3 @@ set(SIMULINK_MODEL_NAME "AutogenerationExample") target_from_generated_code( MODELNAME ${SIMULINK_MODEL_NAME} SOURCE_FOLDER ${CMAKE_CURRENT_SOURCE_DIR}/${SIMULINK_MODEL_NAME}_grt_rtw) - -#add_executable(${SIMULINK_MODEL_NAME}-main ${CMAKE_SOURCE_DIR}/src/driver.cpp) -#target_link_libraries(${SIMULINK_MODEL_NAME}-main ${SIMULINK_MODEL_NAME}) diff --git a/matlab/BlockFactory.tlc b/matlab/BlockFactory.tlc index b57d6a2..40a9a32 100644 --- a/matlab/BlockFactory.tlc +++ b/matlab/BlockFactory.tlc @@ -104,7 +104,7 @@ %")> %")> %")> - %")> + %")> %endfunction diff --git a/sources/CMakeLists.txt b/sources/CMakeLists.txt index cff75fa..56ffefe 100644 --- a/sources/CMakeLists.txt +++ b/sources/CMakeLists.txt @@ -3,10 +3,10 @@ # GNU Lesser General Public License v2.1 or any later version. add_subdirectory(Core) -add_subdirectory(Coder) +add_subdirectory(SimulinkCoder) if(USES_MATLAB) - add_subdirectory(Mex) + add_subdirectory(Simulink) endif() # ======================== @@ -16,9 +16,9 @@ endif() # Dummy target add_library(BlockFactory INTERFACE) -set(BLOCKFACTORY_DEPENDENCIES BlockFactoryCore BlockFactoryCoder) +set(BLOCKFACTORY_DEPENDENCIES BlockFactoryCore BlockFactorySimulinkCoder) if (USES_MATLAB) - list(APPEND BLOCKFACTORY_DEPENDENCIES BlockFactoryMex) + list(APPEND BLOCKFACTORY_DEPENDENCIES BlockFactorySimulink) endif() install( diff --git a/sources/Mex/CMakeLists.txt b/sources/Simulink/CMakeLists.txt similarity index 72% rename from sources/Mex/CMakeLists.txt rename to sources/Simulink/CMakeLists.txt index 3c90600..36fda22 100644 --- a/sources/Mex/CMakeLists.txt +++ b/sources/Simulink/CMakeLists.txt @@ -4,7 +4,7 @@ add_library(SimulinkBlockInformationPrivate STATIC src/SimulinkBlockInformationImpl.cpp - include/BlockFactory/Mex/Private/SimulinkBlockInformationImpl.h) + include/BlockFactory/Simulink/Private/SimulinkBlockInformationImpl.h) target_link_libraries(SimulinkBlockInformationPrivate PUBLIC @@ -24,40 +24,40 @@ target_include_directories(SimulinkBlockInformationPrivate PRIVATE # Compile S-Function matlab_add_mex( - NAME Mex + NAME Simulink OUTPUT_NAME BlockFactory SRC src/SimulinkBlockInformation.cpp - include/BlockFactory/Mex/SimulinkBlockInformation.h + include/BlockFactory/Simulink/SimulinkBlockInformation.h src/BlockFactory.cpp LINK_TO BlockFactory::Core shlibpp::shlibpp SimulinkBlockInformationPrivate) -add_library(BlockFactory::Mex ALIAS Mex) +add_library(BlockFactory::Simulink ALIAS Simulink) # Needed to access Simulink C APIs -target_compile_definitions(Mex PRIVATE "MATLAB_MEX_FILE") -target_compile_warnings(Mex +target_compile_definitions(Simulink PRIVATE "MATLAB_MEX_FILE") +target_compile_warnings(Simulink WARNINGS_AS_ERRORS ${TREAT_WARNINGS_AS_ERRORS} DEPENDS ENABLE_WARNINGS) # Fix https://github.com/robotology/blockfactory/issues/13 if(CMAKE_CXX_COMPILER_ID MATCHES "GNU") - target_compile_options(Mex PRIVATE -Wno-format-overflow) + target_compile_options(Simulink PRIVATE -Wno-format-overflow) endif() -target_include_directories(Mex PUBLIC +target_include_directories(Simulink PUBLIC $ ${Matlab_ROOT_DIR}/simulink/include) # Install S-Function install( - TARGETS Mex SimulinkBlockInformationPrivate - EXPORT BlockFactoryMexExport + TARGETS Simulink SimulinkBlockInformationPrivate + EXPORT BlockFactorySimulinkExport DESTINATION mex) -install_basic_package_files(BlockFactoryMex +install_basic_package_files(BlockFactorySimulink VERSION ${PROJECT_VERSION} COMPATIBILITY AnyNewerVersion - EXPORT BlockFactoryMexExport - FIRST_TARGET Mex + EXPORT BlockFactorySimulinkExport + FIRST_TARGET Simulink DEPENDENCIES BlockFactoryCore mxpp shlibpp NAMESPACE BlockFactory:: NO_CHECK_REQUIRED_COMPONENTS_MACRO) diff --git a/sources/Mex/include/BlockFactory/Mex/Private/SimulinkBlockInformationImpl.h b/sources/Simulink/include/BlockFactory/Simulink/Private/SimulinkBlockInformationImpl.h similarity index 100% rename from sources/Mex/include/BlockFactory/Mex/Private/SimulinkBlockInformationImpl.h rename to sources/Simulink/include/BlockFactory/Simulink/Private/SimulinkBlockInformationImpl.h diff --git a/sources/Mex/include/BlockFactory/Mex/SimulinkBlockInformation.h b/sources/Simulink/include/BlockFactory/Simulink/SimulinkBlockInformation.h similarity index 100% rename from sources/Mex/include/BlockFactory/Mex/SimulinkBlockInformation.h rename to sources/Simulink/include/BlockFactory/Simulink/SimulinkBlockInformation.h diff --git a/sources/Mex/src/BlockFactory.cpp b/sources/Simulink/src/BlockFactory.cpp similarity index 99% rename from sources/Mex/src/BlockFactory.cpp rename to sources/Simulink/src/BlockFactory.cpp index 617ac31..1e4ae85 100644 --- a/sources/Mex/src/BlockFactory.cpp +++ b/sources/Simulink/src/BlockFactory.cpp @@ -14,7 +14,7 @@ #include "BlockFactory/Core/Log.h" #include "BlockFactory/Core/Parameter.h" #include "BlockFactory/Core/Parameters.h" -#include "BlockFactory/Mex/SimulinkBlockInformation.h" +#include "BlockFactory/Simulink/SimulinkBlockInformation.h" #include #include diff --git a/sources/Mex/src/SimulinkBlockInformation.cpp b/sources/Simulink/src/SimulinkBlockInformation.cpp similarity index 99% rename from sources/Mex/src/SimulinkBlockInformation.cpp rename to sources/Simulink/src/SimulinkBlockInformation.cpp index 5d19036..9a43a76 100644 --- a/sources/Mex/src/SimulinkBlockInformation.cpp +++ b/sources/Simulink/src/SimulinkBlockInformation.cpp @@ -6,12 +6,12 @@ * GNU Lesser General Public License v2.1 or any later version. */ -#include "BlockFactory/Mex/SimulinkBlockInformation.h" +#include "BlockFactory/Simulink/SimulinkBlockInformation.h" #include "BlockFactory/Core/Log.h" #include "BlockFactory/Core/Parameter.h" #include "BlockFactory/Core/Parameters.h" #include "BlockFactory/Core/Signal.h" -#include "BlockFactory/Mex/Private/SimulinkBlockInformationImpl.h" +#include "BlockFactory/Simulink/Private/SimulinkBlockInformationImpl.h" #include #include diff --git a/sources/Mex/src/SimulinkBlockInformationImpl.cpp b/sources/Simulink/src/SimulinkBlockInformationImpl.cpp similarity index 99% rename from sources/Mex/src/SimulinkBlockInformationImpl.cpp rename to sources/Simulink/src/SimulinkBlockInformationImpl.cpp index 3ab030a..5a8b6fb 100644 --- a/sources/Mex/src/SimulinkBlockInformationImpl.cpp +++ b/sources/Simulink/src/SimulinkBlockInformationImpl.cpp @@ -6,7 +6,7 @@ * GNU Lesser General Public License v2.1 or any later version. */ -#include "BlockFactory/Mex/Private/SimulinkBlockInformationImpl.h" +#include "BlockFactory/Simulink/Private/SimulinkBlockInformationImpl.h" #include "BlockFactory/Core/Log.h" #include "BlockFactory/Core/Parameter.h" #include "BlockFactory/Core/Signal.h" diff --git a/sources/Coder/CMakeLists.txt b/sources/SimulinkCoder/CMakeLists.txt similarity index 65% rename from sources/Coder/CMakeLists.txt rename to sources/SimulinkCoder/CMakeLists.txt index a2a6f93..0df7e9c 100644 --- a/sources/Coder/CMakeLists.txt +++ b/sources/SimulinkCoder/CMakeLists.txt @@ -3,26 +3,26 @@ # GNU Lesser General Public License v2.1 or any later version. set(CODER_HDR - include/BlockFactory/Coder/CoderBlockInformation.h - include/BlockFactory/Coder/GeneratedCodeWrapper.h) + include/BlockFactory/SimulinkCoder/CoderBlockInformation.h + include/BlockFactory/SimulinkCoder/GeneratedCodeWrapper.h) set(CODER_SRC src/CoderBlockInformation.cpp) -add_library(Coder ${CODER_HDR} ${CODER_SRC}) -add_library(BlockFactory::Coder ALIAS Coder) +add_library(SimulinkCoder ${CODER_HDR} ${CODER_SRC}) +add_library(BlockFactory::SimulinkCoder ALIAS SimulinkCoder) -set_target_properties(Coder PROPERTIES +set_target_properties(SimulinkCoder PROPERTIES VERSION ${PROJECT_VERSION} PUBLIC_HEADER "${CODER_HDR}" - OUTPUT_NAME "BlockFactoryCoder") + OUTPUT_NAME "BlockFactorySimulinkCoder") -target_link_libraries(Coder PUBLIC BlockFactory::Core) -target_include_directories(Coder PUBLIC +target_link_libraries(SimulinkCoder PUBLIC BlockFactory::Core) +target_include_directories(SimulinkCoder PUBLIC $ $) -target_compile_warnings(Coder +target_compile_warnings(SimulinkCoder WARNINGS_AS_ERRORS ${TREAT_WARNINGS_AS_ERRORS} DEPENDS ENABLE_WARNINGS) @@ -34,21 +34,21 @@ install( DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}/BlockFactory/cmake") install( - TARGETS Coder - EXPORT BlockFactoryCoderExport + TARGETS SimulinkCoder + EXPORT BlockFactorySimulinkCoderExport LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} - PUBLIC_HEADER DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/BlockFactory/Coder) + PUBLIC_HEADER DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/BlockFactory/SimulinkCoder) set(EXTRA_CONTENT "list(APPEND CMAKE_MODULE_PATH @CMAKE_INSTALL_PREFIX@/@CMAKE_INSTALL_DATAROOTDIR@/BlockFactory/cmake)") -install_basic_package_files(BlockFactoryCoder +install_basic_package_files(BlockFactorySimulinkCoder VERSION ${PROJECT_VERSION} COMPATIBILITY AnyNewerVersion - EXPORT BlockFactoryCoderExport - FIRST_TARGET Coder + EXPORT BlockFactorySimulinkCoderExport + FIRST_TARGET SimulinkCoder DEPENDENCIES BlockFactoryCore NAMESPACE BlockFactory:: NO_CHECK_REQUIRED_COMPONENTS_MACRO diff --git a/sources/Coder/include/BlockFactory/Coder/CoderBlockInformation.h b/sources/SimulinkCoder/include/BlockFactory/SimulinkCoder/CoderBlockInformation.h similarity index 100% rename from sources/Coder/include/BlockFactory/Coder/CoderBlockInformation.h rename to sources/SimulinkCoder/include/BlockFactory/SimulinkCoder/CoderBlockInformation.h diff --git a/sources/Coder/include/BlockFactory/Coder/GeneratedCodeWrapper.h b/sources/SimulinkCoder/include/BlockFactory/SimulinkCoder/GeneratedCodeWrapper.h similarity index 100% rename from sources/Coder/include/BlockFactory/Coder/GeneratedCodeWrapper.h rename to sources/SimulinkCoder/include/BlockFactory/SimulinkCoder/GeneratedCodeWrapper.h diff --git a/sources/Coder/src/CoderBlockInformation.cpp b/sources/SimulinkCoder/src/CoderBlockInformation.cpp similarity index 99% rename from sources/Coder/src/CoderBlockInformation.cpp rename to sources/SimulinkCoder/src/CoderBlockInformation.cpp index ddf6fe3..896a9a8 100644 --- a/sources/Coder/src/CoderBlockInformation.cpp +++ b/sources/SimulinkCoder/src/CoderBlockInformation.cpp @@ -6,7 +6,7 @@ * GNU Lesser General Public License v2.1 or any later version. */ -#include "BlockFactory/Coder/CoderBlockInformation.h" +#include "BlockFactory/SimulinkCoder/CoderBlockInformation.h" #include "BlockFactory/Core/Log.h" #include "BlockFactory/Core/Parameter.h" #include "BlockFactory/Core/Parameters.h"