Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 22 additions & 1 deletion fastdds_python/test/types/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

cmake_minimum_required(VERSION 3.22)
cmake_minimum_required(VERSION 3.20)

# SWIG: use standard target name.
if(POLICY CMP0078)
Expand Down Expand Up @@ -27,6 +27,13 @@ find_package(fastrtps REQUIRED)

set(CMAKE_POSITION_INDEPENDENT_CODE ON)

if(NOT WIN32)
# Default values for shared library suffix in MacOS
if(${CMAKE_SYSTEM_NAME} STREQUAL "Darwin")
set(CMAKE_SHARED_LIBRARY_SUFFIX ".so")
endif()
endif()

#Create library for C++ types
add_library(${PROJECT_NAME} SHARED
test_included_modules.cxx
Expand Down Expand Up @@ -135,6 +142,13 @@ find_package(fastrtps REQUIRED)

set(CMAKE_POSITION_INDEPENDENT_CODE ON)

if(NOT WIN32)
# Default values for shared library suffix in MacOS
if(${CMAKE_SYSTEM_NAME} STREQUAL "Darwin")
set(CMAKE_SHARED_LIBRARY_SUFFIX ".so")
endif()
endif()

#Create library for C++ types
add_library(${PROJECT_NAME} SHARED
test_modules.cxx
Expand Down Expand Up @@ -243,6 +257,13 @@ find_package(fastrtps REQUIRED)

set(CMAKE_POSITION_INDEPENDENT_CODE ON)

if(NOT WIN32)
# Default values for shared library suffix in MacOS
if(${CMAKE_SYSTEM_NAME} STREQUAL "Darwin")
set(CMAKE_SHARED_LIBRARY_SUFFIX ".so")
endif()
endif()

#Create library for C++ types
add_library(${PROJECT_NAME} SHARED
test_complete.cxx
Expand Down
2 changes: 1 addition & 1 deletion fastdds_python/test/types/test_complete.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* @file test_complete.cpp
* This source file contains the implementation of the described types in the IDL file.
*
* This file was generated by the tool fastddsgen.
* This file was generated by the tool fastddsgen (version: 3.3.2).
*/

#ifdef _WIN32
Expand Down
2 changes: 1 addition & 1 deletion fastdds_python/test/types/test_complete.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* @file test_complete.h
* This header file contains the declaration of the described types in the IDL file.
*
* This file was generated by the tool fastddsgen.
* This file was generated by the tool fastddsgen (version: 3.3.2).
*/

#include <fastcdr/config.h>
Expand Down
2 changes: 1 addition & 1 deletion fastdds_python/test/types/test_complete.i
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* @file test_complete.i
* This header file contains the SWIG interface of the described types in the IDL file.
*
* This file was generated by the tool fastddsgen.
* This file was generated by the tool fastddsgen (version: 3.3.2).
*/

%module test_complete
Expand Down
2 changes: 1 addition & 1 deletion fastdds_python/test/types/test_completeCdrAux.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* @file test_completeCdrAux.hpp
* This source file contains some definitions of CDR related functions.
*
* This file was generated by the tool fastddsgen.
* This file was generated by the tool fastddsgen (version: 3.3.2).
*/

#ifndef _FAST_DDS_GENERATED_TEST_COMPLETECDRAUX_HPP_
Expand Down
2 changes: 1 addition & 1 deletion fastdds_python/test/types/test_completeCdrAux.ipp
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* @file test_completeCdrAux.ipp
* This source file contains some declarations of CDR related functions.
*
* This file was generated by the tool fastddsgen.
* This file was generated by the tool fastddsgen (version: 3.3.2).
*/

#ifndef _FAST_DDS_GENERATED_TEST_COMPLETECDRAUX_IPP_
Expand Down
Loading