Skip to content

Commit

Permalink
Fix CMakeLists
Browse files Browse the repository at this point in the history
Signed-off-by: Miguel Company <miguelcompany@eprosima.com>
  • Loading branch information
MiguelCompany committed Mar 5, 2024
1 parent bf1fd40 commit 3165556
Showing 1 changed file with 13 additions and 11 deletions.
24 changes: 13 additions & 11 deletions srcCxx/fast-dds-cmake/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
# See the License for the specific language governing permissions and
# limitations under the License.

cmake_minimum_required(VERSION 3.16.3)

project(eprosima-fastdds_shape_main_linux LANGUAGES CXX)

# Find requirements
Expand All @@ -24,20 +26,20 @@ find_program(FASTDDSGEN fastddsgen)
file(MAKE_DIRECTORY ${CMAKE_SOURCE_DIR}/../GeneratedCode)
set(
GENERATED_TYPE_SUPPORT_SOURCES
${CMAKE_SOURCE_DIR}/../shape.cxx
${CMAKE_SOURCE_DIR}/../shapePubSubTypes.cxx
${CMAKE_SOURCE_DIR}/../shapeTypeObject.cxx
${CMAKE_SOURCE_DIR}/../GeneratedCode/shape.cxx
${CMAKE_SOURCE_DIR}/../GeneratedCode/shapePubSubTypes.cxx
${CMAKE_SOURCE_DIR}/../GeneratedCode/shapeTypeObject.cxx
)
set(
GENERATED_TYPE_SUPPORT_FILES
${CMAKE_SOURCE_DIR}/../shape.cxx
${CMAKE_SOURCE_DIR}/../shape.h
${CMAKE_SOURCE_DIR}/../shapeCdrAux.hpp
${CMAKE_SOURCE_DIR}/../shapeCdrAux.ipp
${CMAKE_SOURCE_DIR}/../shapePubSubTypes.cxx
${CMAKE_SOURCE_DIR}/../shapePubSubTypes.h
${CMAKE_SOURCE_DIR}/../shapeTypeObject.cxx
${CMAKE_SOURCE_DIR}/../shapeTypeObject.h
${CMAKE_SOURCE_DIR}/../GeneratedCode/shape.cxx
${CMAKE_SOURCE_DIR}/../GeneratedCode/shape.h
${CMAKE_SOURCE_DIR}/../GeneratedCode/shapeCdrAux.hpp
${CMAKE_SOURCE_DIR}/../GeneratedCode/shapeCdrAux.ipp
${CMAKE_SOURCE_DIR}/../GeneratedCode/shapePubSubTypes.cxx
${CMAKE_SOURCE_DIR}/../GeneratedCode/shapePubSubTypes.h
${CMAKE_SOURCE_DIR}/../GeneratedCode/shapeTypeObject.cxx
${CMAKE_SOURCE_DIR}/../GeneratedCode/shapeTypeObject.h
)
add_custom_command(
OUTPUT ${GENERATED_TYPE_SUPPORT_FILES}
Expand Down

0 comments on commit 3165556

Please sign in to comment.