From e54d371a8e9fcf6686807c192a34e6ecbdbb05b1 Mon Sep 17 00:00:00 2001 From: KerstinKeller Date: Wed, 23 Oct 2024 12:50:37 +0200 Subject: [PATCH] [python] Reenable Python debugging from Visual Studio (#1768) Move samples to lang/python folder and generate all pyproj files from CMake. --- CMakeLists.txt | 10 +- lang/python/CMakeLists.txt | 108 +++++++++++++++++- lang/python/core/CMakeLists.txt | 51 +++++++-- lang/python/ecalhdf5/CMakeLists.txt | 47 ++++++-- lang/python/sample.pyproj.in | 50 ++++++++ lang/python/samples/CMakeLists.txt | 46 ++++++++ .../samples/core/benchmark}/latency_rec.py | 0 .../samples/core/benchmark}/latency_rec_cb.py | 0 .../samples/core/benchmark}/latency_snd.py | 0 .../samples/core}/monitoring/monitoring.py | 0 .../core/monitoring}/monitoring_json.py | 0 .../core/pubsub}/_protobuf/animal.proto | 0 .../core/pubsub}/_protobuf/animal_pb2.py | 0 .../core/pubsub}/_protobuf/house.proto | 0 .../core/pubsub}/_protobuf/house_pb2.py | 0 .../core/pubsub}/_protobuf/person.proto | 0 .../core/pubsub}/_protobuf/person_pb2.py | 0 .../python/samples/core/pubsub}/binary_rec.py | 0 .../samples/core/pubsub}/binary_rec_cb.py | 0 .../python/samples/core/pubsub}/binary_snd.py | 0 .../samples/core/pubsub/protobuf_rec.py | 0 .../samples/core/pubsub/protobuf_rec_cb.py | 0 .../samples/core/pubsub/protobuf_snd.py | 0 .../python/samples/core/pubsub/string_rec.py | 0 .../samples/core/pubsub/string_rec_cb.py | 0 .../python/samples/core/pubsub/string_snd.py | 0 .../core/service}/minimal_service_client.py | 0 .../core/service}/minimal_service_server.py | 0 .../samples/measurement/low_level_rw.py | 0 .../measurement/low_level_rw_protobuf.py | 0 .../samples/measurement}/measurement_read.py | 0 pyproject.toml | 3 +- samples/CMakeLists.txt | 39 +------ .../benchmarks/latency_rec/CMakeLists.txt | 32 ------ .../benchmarks/latency_rec/latency_rec.pyproj | 35 ------ .../benchmarks/latency_rec_cb/CMakeLists.txt | 32 ------ .../latency_rec_cb/latency_rec_cb.pyproj | 35 ------ .../benchmarks/latency_snd/CMakeLists.txt | 32 ------ .../benchmarks/latency_snd/latency_snd.pyproj | 35 ------ .../ecalhdf5_protobuf_rw/CMakeLists.txt | 32 ------ .../ecalhdf5_protobuf_rw.pyproj | 35 ------ .../measurement/ecalhdf5_rw/CMakeLists.txt | 32 ------ .../ecalhdf5_rw/ecalhdf5_rw.pyproj | 35 ------ .../measurement_read/CMakeLists.txt | 32 ------ .../measurement_read/measurement_read.pyproj | 35 ------ .../monitoring/monitoring/CMakeLists.txt | 32 ------ .../monitoring/monitoring/monitoring.pyproj | 35 ------ .../monitoring/monitoring_json/CMakeLists.txt | 32 ------ .../monitoring_json/monitoring_json.pyproj | 35 ------ .../pubsub/binary/binary_rec/CMakeLists.txt | 32 ------ .../binary/binary_rec/binary_rec.pyproj | 35 ------ .../binary/binary_rec_cb/CMakeLists.txt | 32 ------ .../binary/binary_rec_cb/binary_rec_cb.pyproj | 35 ------ .../pubsub/binary/binary_snd/CMakeLists.txt | 32 ------ .../binary/binary_snd/binary_snd.pyproj | 35 ------ .../pubsub/protobuf/person_rec/CMakeLists.txt | 32 ------ .../protobuf/person_rec/person_rec.pyproj | 35 ------ .../protobuf/person_rec_cb/CMakeLists.txt | 32 ------ .../person_rec_cb/person_rec_cb.pyproj | 35 ------ .../pubsub/protobuf/person_snd/CMakeLists.txt | 32 ------ .../protobuf/person_snd/person_snd.pyproj | 35 ------ .../pubsub/string/minimal_rec/CMakeLists.txt | 32 ------ .../string/minimal_rec/minimal_rec.pyproj | 35 ------ .../string/minimal_rec_cb/CMakeLists.txt | 32 ------ .../minimal_rec_cb/minimal_rec_cb.pyproj | 35 ------ .../pubsub/string/minimal_snd/CMakeLists.txt | 32 ------ .../string/minimal_snd/minimal_snd.pyproj | 35 ------ .../services/minimal_service/CMakeLists.txt | 32 ------ .../minimal_service/minimal_service.pyproj | 36 ------ 69 files changed, 292 insertions(+), 1269 deletions(-) create mode 100644 lang/python/sample.pyproj.in create mode 100644 lang/python/samples/CMakeLists.txt rename {samples/python/benchmarks/latency_rec => lang/python/samples/core/benchmark}/latency_rec.py (100%) rename {samples/python/benchmarks/latency_rec_cb => lang/python/samples/core/benchmark}/latency_rec_cb.py (100%) rename {samples/python/benchmarks/latency_snd => lang/python/samples/core/benchmark}/latency_snd.py (100%) rename {samples/python/monitoring => lang/python/samples/core}/monitoring/monitoring.py (100%) rename {samples/python/monitoring/monitoring_json => lang/python/samples/core/monitoring}/monitoring_json.py (100%) rename {samples/python/pubsub/protobuf => lang/python/samples/core/pubsub}/_protobuf/animal.proto (100%) rename {samples/python/pubsub/protobuf => lang/python/samples/core/pubsub}/_protobuf/animal_pb2.py (100%) rename {samples/python/pubsub/protobuf => lang/python/samples/core/pubsub}/_protobuf/house.proto (100%) rename {samples/python/pubsub/protobuf => lang/python/samples/core/pubsub}/_protobuf/house_pb2.py (100%) rename {samples/python/pubsub/protobuf => lang/python/samples/core/pubsub}/_protobuf/person.proto (100%) rename {samples/python/pubsub/protobuf => lang/python/samples/core/pubsub}/_protobuf/person_pb2.py (100%) rename {samples/python/pubsub/binary/binary_rec => lang/python/samples/core/pubsub}/binary_rec.py (100%) rename {samples/python/pubsub/binary/binary_rec_cb => lang/python/samples/core/pubsub}/binary_rec_cb.py (100%) rename {samples/python/pubsub/binary/binary_snd => lang/python/samples/core/pubsub}/binary_snd.py (100%) rename samples/python/pubsub/protobuf/person_rec/person_rec.py => lang/python/samples/core/pubsub/protobuf_rec.py (100%) rename samples/python/pubsub/protobuf/person_rec_cb/person_rec_cb.py => lang/python/samples/core/pubsub/protobuf_rec_cb.py (100%) rename samples/python/pubsub/protobuf/person_snd/person_snd.py => lang/python/samples/core/pubsub/protobuf_snd.py (100%) rename samples/python/pubsub/string/minimal_rec/minimal_rec.py => lang/python/samples/core/pubsub/string_rec.py (100%) rename samples/python/pubsub/string/minimal_rec_cb/minimal_rec_cb.py => lang/python/samples/core/pubsub/string_rec_cb.py (100%) rename samples/python/pubsub/string/minimal_snd/minimal_snd.py => lang/python/samples/core/pubsub/string_snd.py (100%) rename {samples/python/services/minimal_service => lang/python/samples/core/service}/minimal_service_client.py (100%) rename {samples/python/services/minimal_service => lang/python/samples/core/service}/minimal_service_server.py (100%) rename samples/python/measurement/ecalhdf5_rw/ecalhdf5_rw.py => lang/python/samples/measurement/low_level_rw.py (100%) rename samples/python/measurement/ecalhdf5_protobuf_rw/ecalhdf5_protobuf_rw.py => lang/python/samples/measurement/low_level_rw_protobuf.py (100%) rename {samples/python/measurement/measurement_read => lang/python/samples/measurement}/measurement_read.py (100%) delete mode 100644 samples/python/benchmarks/latency_rec/CMakeLists.txt delete mode 100644 samples/python/benchmarks/latency_rec/latency_rec.pyproj delete mode 100644 samples/python/benchmarks/latency_rec_cb/CMakeLists.txt delete mode 100644 samples/python/benchmarks/latency_rec_cb/latency_rec_cb.pyproj delete mode 100644 samples/python/benchmarks/latency_snd/CMakeLists.txt delete mode 100644 samples/python/benchmarks/latency_snd/latency_snd.pyproj delete mode 100644 samples/python/measurement/ecalhdf5_protobuf_rw/CMakeLists.txt delete mode 100644 samples/python/measurement/ecalhdf5_protobuf_rw/ecalhdf5_protobuf_rw.pyproj delete mode 100644 samples/python/measurement/ecalhdf5_rw/CMakeLists.txt delete mode 100644 samples/python/measurement/ecalhdf5_rw/ecalhdf5_rw.pyproj delete mode 100644 samples/python/measurement/measurement_read/CMakeLists.txt delete mode 100644 samples/python/measurement/measurement_read/measurement_read.pyproj delete mode 100644 samples/python/monitoring/monitoring/CMakeLists.txt delete mode 100644 samples/python/monitoring/monitoring/monitoring.pyproj delete mode 100644 samples/python/monitoring/monitoring_json/CMakeLists.txt delete mode 100644 samples/python/monitoring/monitoring_json/monitoring_json.pyproj delete mode 100644 samples/python/pubsub/binary/binary_rec/CMakeLists.txt delete mode 100644 samples/python/pubsub/binary/binary_rec/binary_rec.pyproj delete mode 100644 samples/python/pubsub/binary/binary_rec_cb/CMakeLists.txt delete mode 100644 samples/python/pubsub/binary/binary_rec_cb/binary_rec_cb.pyproj delete mode 100644 samples/python/pubsub/binary/binary_snd/CMakeLists.txt delete mode 100644 samples/python/pubsub/binary/binary_snd/binary_snd.pyproj delete mode 100644 samples/python/pubsub/protobuf/person_rec/CMakeLists.txt delete mode 100644 samples/python/pubsub/protobuf/person_rec/person_rec.pyproj delete mode 100644 samples/python/pubsub/protobuf/person_rec_cb/CMakeLists.txt delete mode 100644 samples/python/pubsub/protobuf/person_rec_cb/person_rec_cb.pyproj delete mode 100644 samples/python/pubsub/protobuf/person_snd/CMakeLists.txt delete mode 100644 samples/python/pubsub/protobuf/person_snd/person_snd.pyproj delete mode 100644 samples/python/pubsub/string/minimal_rec/CMakeLists.txt delete mode 100644 samples/python/pubsub/string/minimal_rec/minimal_rec.pyproj delete mode 100644 samples/python/pubsub/string/minimal_rec_cb/CMakeLists.txt delete mode 100644 samples/python/pubsub/string/minimal_rec_cb/minimal_rec_cb.pyproj delete mode 100644 samples/python/pubsub/string/minimal_snd/CMakeLists.txt delete mode 100644 samples/python/pubsub/string/minimal_snd/minimal_snd.pyproj delete mode 100644 samples/python/services/minimal_service/CMakeLists.txt delete mode 100644 samples/python/services/minimal_service/minimal_service.pyproj diff --git a/CMakeLists.txt b/CMakeLists.txt index 1d14d41273..cca59846c5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,6 +1,6 @@ # ========================= eCAL LICENSE ================================= # -# Copyright (C) 2016 - 2019 Continental Corporation +# Copyright (C) 2016 - 2024 Continental Corporation # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -117,6 +117,14 @@ set(ECAL_CORE_TRANSPORT_UDP set(ECAL_CORE_TRANSPORT_TCP ON) set(ECAL_CORE_TRANSPORT_SHM ON) +# ----------------------- +# eCAL Python configuration +# ----------------------- +set(ECAL_PYTHON_BUILD_SAMPLES ${BUILD_SAMPLES}) +set(ECAL_PYTHON_BUILD_TESTS ${BUILD_ECAL_TESTS}) +set(ECAL_PYTHON_HAS_HDF5 ${HAS_HDF5}) + + # This should be ON, unless build ecal hdf5 for Matlab usage option(ECAL_LINK_HDF5_SHARED "Link shared libs of HDF5" ON) diff --git a/lang/python/CMakeLists.txt b/lang/python/CMakeLists.txt index eeeee67a9d..9e0179de99 100644 --- a/lang/python/CMakeLists.txt +++ b/lang/python/CMakeLists.txt @@ -1,6 +1,6 @@ # ========================= eCAL LICENSE ================================= # -# Copyright (C) 2016 - 2019 Continental Corporation +# Copyright (C) 2016 - 2024 Continental Corporation # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -24,6 +24,98 @@ cmake_minimum_required(VERSION 3.18...3.26) project(ecal_python) find_package(Python REQUIRED COMPONENTS Development.Module Interpreter) +option(ECAL_PYTHON_BUILD_SAMPLES "Includes the python samples" ON) +option(ECAL_PYTHON_BUILD_TESTS "Includes the python tests" ON) +option(ECAL_PYTHON_HAS_HDF5 "Enables eCAL application cmd line interfaces" ON) + +set(ECAL_PYTHON_DIRECTORY ${CMAKE_CURRENT_LIST_DIR}) + +# This function takes a list of python files to be copied to the package directory +# and associates the files with a given python extension target +# Using this function allows to create the whole python package editable in place +# Arguments: +# TARGET Python extension target with which to associate the files +# PYTHON_CODE_ROOT Root folder for Python files, to keep folder structure +# PYTHON_FILES Python files associated with target +function(copy_python_code) + set(singleValueArgs TARGET PYTHON_CODE_ROOT) + set(multiValueArgs PYTHON_FILES) + cmake_parse_arguments(ARGUMENTS + "" + "${singleValueArgs}" + "${multiValueArgs}" ${ARGN} ) + + cmake_path( + ABSOLUTE_PATH ARGUMENTS_PYTHON_CODE_ROOT + OUTPUT_VARIABLE absolute_path_python_code_root + ) + + foreach (python_file ${ARGUMENTS_PYTHON_FILES}) + cmake_path( + ABSOLUTE_PATH python_file + OUTPUT_VARIABLE absolute_path_python_file + ) + + cmake_path( + RELATIVE_PATH absolute_path_python_file + BASE_DIRECTORY ${absolute_path_python_code_root} + OUTPUT_VARIABLE relative_path) + + + # Now we actually copy the file to the correct directory + set(origin_file ${absolute_path_python_file}) + set(destination_file ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/$/python/${relative_path}) + file( + GENERATE + OUTPUT ${destination_file} + INPUT ${origin_file} + ) + + endforeach() +endfunction() + +# Function to set the correct output directory for the python targets, so that they can be debugged properly +function(ecal_python_set_output_directory TARGET_NAME) + set_target_properties(${TARGET_NAME} PROPERTIES + LIBRARY_OUTPUT_DIRECTORY $,${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/$/python/ecal,${CMAKE_LIBRARY_OUTPUT_DIRECTORY}/python/ecal> + ) +endfunction() + +# Function to add a python file as a sample to a Visual Studio Solution +# It can then be started / debugged directly from within Visual Studio +# Other generators are not supported at this time. +function(ecal_python_add_sample) + set(singleValueArgs PY_FILE TARGET_NAME) + cmake_parse_arguments(ARGUMENTS + "" + "${singleValueArgs}" + "" ${ARGN} ) + + set(ECAL_PYPROJ_FILE ${ARGUMENTS_PY_FILE}) + string(UUID ECAL_PYPROJ_GUID NAMESPACE 8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942 NAME ${ARGUMENTS_TARGET_NAME} + TYPE MD5) + get_target_property(ECAL_PYPROJ_INTERPRETER_DEBUG Python::Interpreter LOCATION) + get_target_property(ECAL_PYPROJ_INTERPRETER_RELEASE Python::Interpreter LOCATION) + + set(ECAL_PYPROJ_NAME ${ARGUMENTS_TARGET_NAME}) + cmake_path(GET ECAL_PYPROJ_INTERPRETER_RELEASE PARENT_PATH ECAL_PYPROJ_PYTHON_ROOT) + set(ECAL_PYPROJ_PYTHON_VERSION ${Python_VERSION}) + set(ECAL_PYPROJ_SEARCH_PATH_DEBUG ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/Debug/python) + set(ECAL_PYPROJ_SEARCH_PATH_RELEASE ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/Release/python) + set(ECAL_PYPROJ_SEARCH_PATH_RELWITHDEBINFO ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/RelWithDebInfo/python/ecal) + + set(generated_pyproj_path ${CMAKE_CURRENT_BINARY_DIR}/${ARGUMENTS_TARGET_NAME}.pyproj) + + # Generate the .pyproj file from the template + configure_file( + ${ECAL_PYTHON_DIRECTORY}/sample.pyproj.in + ${generated_pyproj_path} + @ONLY + ) + + include_external_msproject(${ARGUMENTS_TARGET_NAME} ${generated_pyproj_path}) +endfunction() + # Convenience target to have all Python targets buildable via one name add_custom_target(${PROJECT_NAME}) @@ -47,3 +139,17 @@ else() message(WARNING "Building Python bindings without HDF5 support") endif() +if (ECAL_PYTHON_BUILD_SAMPLES) + add_subdirectory(samples) +endif() + +# This is a custom target to copy the eCAL core dll to the output directory of the Python extensions. +# Without this copying step, debugging would not be possible. +if (WIN32) + add_custom_target(copy_ecal_core_dll ALL + COMMAND cmake -E copy_if_different "$" "${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/$/python/ecal" + COMMENT "Copy eCAL Core DLL to python directory" + DEPENDS eCAL::core + ) + set_property(TARGET copy_ecal_core_dll PROPERTY FOLDER lang/python/core) +endif() \ No newline at end of file diff --git a/lang/python/core/CMakeLists.txt b/lang/python/core/CMakeLists.txt index c6d1972e1c..47069427c3 100644 --- a/lang/python/core/CMakeLists.txt +++ b/lang/python/core/CMakeLists.txt @@ -1,6 +1,6 @@ # ========================= eCAL LICENSE ================================= # -# Copyright (C) 2016 - 2019 Continental Corporation +# Copyright (C) 2016 - 2024 Continental Corporation # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -18,12 +18,35 @@ project(_ecal_core_py) +###### +# build +###### python_add_library(${PROJECT_NAME} MODULE WITH_SOABI src/ecal_clang.cpp src/ecal_clang.h src/ecal_wrap.cxx ) +set(python_files + ecal/__init__.py + ecal/core/__init__.py + ecal/core/core.py + ecal/core/publisher.py + ecal/core/service.py + ecal/core/subscriber.py + ecal/proto/__init__.py + ecal/proto/helper.py +) + +target_sources(${PROJECT_NAME} + PUBLIC + FILE_SET ecal_core_python_files + TYPE HEADERS + BASE_DIRS . + FILES + ${python_files} +) + target_link_libraries(${PROJECT_NAME} PRIVATE eCAL::core @@ -31,20 +54,28 @@ target_link_libraries(${PROJECT_NAME} target_compile_features(${PROJECT_NAME} PRIVATE cxx_std_14) -set_target_properties(${PROJECT_NAME} PROPERTIES - FOLDER lang/python/core -) +######## +# installation +######## install(TARGETS ${PROJECT_NAME} core RUNTIME DESTINATION ecal COMPONENT python EXCLUDE_FROM_ALL LIBRARY DESTINATION ecal COMPONENT python EXCLUDE_FROM_ALL NAMELINK_SKIP ) -if(ECAL_INCLUDE_PY_SAMPLES) - if(WIN32) - include_external_msproject(ecal_core_py ${CMAKE_CURRENT_SOURCE_DIR}/ecal_core_py.pyproj) - set_property(TARGET ecal_core_py PROPERTY FOLDER lang/python/core) +############## +# IDE appearance +############## +set_target_properties(${PROJECT_NAME} PROPERTIES + FOLDER lang/python/core +) +source_group(TREE "${CMAKE_CURRENT_SOURCE_DIR}" PREFIX "Python Files" FILES ${python_files}) + + +########## +# IDE Debugging / Runtime +########### +copy_python_code(TARGET ${PROJECT_NAME} PYTHON_FILES ${python_files} PYTHON_CODE_ROOT .) - endif() -endif() +ecal_python_set_output_directory(${PROJECT_NAME}) \ No newline at end of file diff --git a/lang/python/ecalhdf5/CMakeLists.txt b/lang/python/ecalhdf5/CMakeLists.txt index 560b878730..b98c66cacf 100644 --- a/lang/python/ecalhdf5/CMakeLists.txt +++ b/lang/python/ecalhdf5/CMakeLists.txt @@ -1,6 +1,6 @@ # ========================= eCAL LICENSE ================================= # -# Copyright (C) 2016 - 2019 Continental Corporation +# Copyright (C) 2016 - 2024 Continental Corporation # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -18,10 +18,29 @@ project(_ecal_hdf5_py) +###### +# build +###### python_add_library(${PROJECT_NAME} MODULE WITH_SOABI src/ecalhdf5_wrap.cxx ) +set(python_files + ecal/measurement/hdf5.py + ecal/measurement/measurement.py + ecal/measurement/writer.py + ecal/measurement/__init__.py +) + +target_sources(${PROJECT_NAME} + PUBLIC + FILE_SET ecal_hdf5_python_files + TYPE HEADERS + BASE_DIRS . + FILES + ${python_files} +) + target_link_libraries(${PROJECT_NAME} PRIVATE eCAL::hdf5 @@ -29,10 +48,9 @@ target_link_libraries(${PROJECT_NAME} target_compile_features(${PROJECT_NAME} PRIVATE cxx_std_14) -set_target_properties(${PROJECT_NAME} PROPERTIES - FOLDER lang/python/hdf5 -) - +######## +# installation +######## if(TARGET hdf5-shared) install(TARGETS ${PROJECT_NAME} hdf5-shared RUNTIME DESTINATION ecal COMPONENT python EXCLUDE_FROM_ALL @@ -44,11 +62,18 @@ install(TARGETS ${PROJECT_NAME} DESTINATION ecal COMPONENT python EXCLUDE_FROM_ALL ) -if(ECAL_INCLUDE_PY_SAMPLES) - if(WIN32) - include_external_msproject(ecal_hdf5_py ${CMAKE_CURRENT_SOURCE_DIR}/ecal_hdf5_py.pyproj) - set_property(TARGET ecal_hdf5_py PROPERTY FOLDER lang/python/hdf5) +############## +# IDE appearance +############## +source_group(TREE "${CMAKE_CURRENT_SOURCE_DIR}" PREFIX "Python Files" FILES ${python_files}) +set_target_properties(${PROJECT_NAME} PROPERTIES + FOLDER lang/python/hdf5 +) + +########## +# IDE Debugging / Runtime +########### +copy_python_code(TARGET ${PROJECT_NAME} PYTHON_FILES ${python_files} PYTHON_CODE_ROOT .) - endif() -endif() +ecal_python_set_output_directory(${PROJECT_NAME}) \ No newline at end of file diff --git a/lang/python/sample.pyproj.in b/lang/python/sample.pyproj.in new file mode 100644 index 0000000000..0f3df928f0 --- /dev/null +++ b/lang/python/sample.pyproj.in @@ -0,0 +1,50 @@ + + + + 2.0 + @ECAL_PYPROJ_GUID@ + . + @ECAL_PYPROJ_FILE@ + @ECAL_PYPROJ_SEARCH_PATH_RELEASE@ + . + . + @ECAL_PYPROJ_NAME@ + @ECAL_PYPROJ_NAME@ + MSBuild|debugging-env|$(MSBuildProjectFullPath) + + + true + false + + + true + false + + + true + false + + + + + + + debugging-env + 0.0 + eCAL Debugging Environment (Python @ECAL_PYPROJ_PYTHON_VERSION@ ) + @ECAL_PYPROJ_INTERPRETER_RELEASE@ + @ECAL_PYPROJ_INTERPRETER_RELEASE@ + PYTHONPATH + X64 + + + + + + + + + + \ No newline at end of file diff --git a/lang/python/samples/CMakeLists.txt b/lang/python/samples/CMakeLists.txt new file mode 100644 index 0000000000..767c1c0b61 --- /dev/null +++ b/lang/python/samples/CMakeLists.txt @@ -0,0 +1,46 @@ +set(python_samples_measurement + measurement/low_level_rw.py + measurement/low_level_rw_protobuf.py + measurement/measurement_read.py +) + +set(python_samples_core + core/benchmark/latency_rec.py + core/benchmark/latency_rec_cb.py + core/benchmark/latency_snd.py + core/monitoring/monitoring.py + core/monitoring/monitoring_json.py + core/pubsub/binary_rec.py + core/pubsub/binary_rec_cb.py + core/pubsub/binary_snd.py + core/pubsub/protobuf_rec.py + core/pubsub/protobuf_rec_cb.py + core/pubsub/protobuf_snd.py + core/pubsub/string_rec.py + core/pubsub/string_rec_cb.py + core/pubsub/string_snd.py + core/service/minimal_service_client.py + core/service/minimal_service_server.py +) + +function(add_sample_to_solution python_filenname) + cmake_path(GET python_filenname PARENT_PATH subfolder) + cmake_path(GET python_filenname STEM stem) + cmake_path(ABSOLUTE_PATH python_filenname) + + ecal_python_add_sample(TARGET_NAME py_${stem} PY_FILE ${python_filenname}) + set_property(TARGET py_${stem} PROPERTY FOLDER samples/python/${subfolder}) +endfunction() + + +if (CMAKE_GENERATOR MATCHES "Visual Studio") +if(ECAL_PYTHON_HAS_HDF5) + foreach(python_sample ${python_samples_measurement}) + add_sample_to_solution(${python_sample}) + endforeach() +endif() + +foreach(python_sample ${python_samples_core}) + add_sample_to_solution(${python_sample}) +endforeach() +endif() \ No newline at end of file diff --git a/samples/python/benchmarks/latency_rec/latency_rec.py b/lang/python/samples/core/benchmark/latency_rec.py similarity index 100% rename from samples/python/benchmarks/latency_rec/latency_rec.py rename to lang/python/samples/core/benchmark/latency_rec.py diff --git a/samples/python/benchmarks/latency_rec_cb/latency_rec_cb.py b/lang/python/samples/core/benchmark/latency_rec_cb.py similarity index 100% rename from samples/python/benchmarks/latency_rec_cb/latency_rec_cb.py rename to lang/python/samples/core/benchmark/latency_rec_cb.py diff --git a/samples/python/benchmarks/latency_snd/latency_snd.py b/lang/python/samples/core/benchmark/latency_snd.py similarity index 100% rename from samples/python/benchmarks/latency_snd/latency_snd.py rename to lang/python/samples/core/benchmark/latency_snd.py diff --git a/samples/python/monitoring/monitoring/monitoring.py b/lang/python/samples/core/monitoring/monitoring.py similarity index 100% rename from samples/python/monitoring/monitoring/monitoring.py rename to lang/python/samples/core/monitoring/monitoring.py diff --git a/samples/python/monitoring/monitoring_json/monitoring_json.py b/lang/python/samples/core/monitoring/monitoring_json.py similarity index 100% rename from samples/python/monitoring/monitoring_json/monitoring_json.py rename to lang/python/samples/core/monitoring/monitoring_json.py diff --git a/samples/python/pubsub/protobuf/_protobuf/animal.proto b/lang/python/samples/core/pubsub/_protobuf/animal.proto similarity index 100% rename from samples/python/pubsub/protobuf/_protobuf/animal.proto rename to lang/python/samples/core/pubsub/_protobuf/animal.proto diff --git a/samples/python/pubsub/protobuf/_protobuf/animal_pb2.py b/lang/python/samples/core/pubsub/_protobuf/animal_pb2.py similarity index 100% rename from samples/python/pubsub/protobuf/_protobuf/animal_pb2.py rename to lang/python/samples/core/pubsub/_protobuf/animal_pb2.py diff --git a/samples/python/pubsub/protobuf/_protobuf/house.proto b/lang/python/samples/core/pubsub/_protobuf/house.proto similarity index 100% rename from samples/python/pubsub/protobuf/_protobuf/house.proto rename to lang/python/samples/core/pubsub/_protobuf/house.proto diff --git a/samples/python/pubsub/protobuf/_protobuf/house_pb2.py b/lang/python/samples/core/pubsub/_protobuf/house_pb2.py similarity index 100% rename from samples/python/pubsub/protobuf/_protobuf/house_pb2.py rename to lang/python/samples/core/pubsub/_protobuf/house_pb2.py diff --git a/samples/python/pubsub/protobuf/_protobuf/person.proto b/lang/python/samples/core/pubsub/_protobuf/person.proto similarity index 100% rename from samples/python/pubsub/protobuf/_protobuf/person.proto rename to lang/python/samples/core/pubsub/_protobuf/person.proto diff --git a/samples/python/pubsub/protobuf/_protobuf/person_pb2.py b/lang/python/samples/core/pubsub/_protobuf/person_pb2.py similarity index 100% rename from samples/python/pubsub/protobuf/_protobuf/person_pb2.py rename to lang/python/samples/core/pubsub/_protobuf/person_pb2.py diff --git a/samples/python/pubsub/binary/binary_rec/binary_rec.py b/lang/python/samples/core/pubsub/binary_rec.py similarity index 100% rename from samples/python/pubsub/binary/binary_rec/binary_rec.py rename to lang/python/samples/core/pubsub/binary_rec.py diff --git a/samples/python/pubsub/binary/binary_rec_cb/binary_rec_cb.py b/lang/python/samples/core/pubsub/binary_rec_cb.py similarity index 100% rename from samples/python/pubsub/binary/binary_rec_cb/binary_rec_cb.py rename to lang/python/samples/core/pubsub/binary_rec_cb.py diff --git a/samples/python/pubsub/binary/binary_snd/binary_snd.py b/lang/python/samples/core/pubsub/binary_snd.py similarity index 100% rename from samples/python/pubsub/binary/binary_snd/binary_snd.py rename to lang/python/samples/core/pubsub/binary_snd.py diff --git a/samples/python/pubsub/protobuf/person_rec/person_rec.py b/lang/python/samples/core/pubsub/protobuf_rec.py similarity index 100% rename from samples/python/pubsub/protobuf/person_rec/person_rec.py rename to lang/python/samples/core/pubsub/protobuf_rec.py diff --git a/samples/python/pubsub/protobuf/person_rec_cb/person_rec_cb.py b/lang/python/samples/core/pubsub/protobuf_rec_cb.py similarity index 100% rename from samples/python/pubsub/protobuf/person_rec_cb/person_rec_cb.py rename to lang/python/samples/core/pubsub/protobuf_rec_cb.py diff --git a/samples/python/pubsub/protobuf/person_snd/person_snd.py b/lang/python/samples/core/pubsub/protobuf_snd.py similarity index 100% rename from samples/python/pubsub/protobuf/person_snd/person_snd.py rename to lang/python/samples/core/pubsub/protobuf_snd.py diff --git a/samples/python/pubsub/string/minimal_rec/minimal_rec.py b/lang/python/samples/core/pubsub/string_rec.py similarity index 100% rename from samples/python/pubsub/string/minimal_rec/minimal_rec.py rename to lang/python/samples/core/pubsub/string_rec.py diff --git a/samples/python/pubsub/string/minimal_rec_cb/minimal_rec_cb.py b/lang/python/samples/core/pubsub/string_rec_cb.py similarity index 100% rename from samples/python/pubsub/string/minimal_rec_cb/minimal_rec_cb.py rename to lang/python/samples/core/pubsub/string_rec_cb.py diff --git a/samples/python/pubsub/string/minimal_snd/minimal_snd.py b/lang/python/samples/core/pubsub/string_snd.py similarity index 100% rename from samples/python/pubsub/string/minimal_snd/minimal_snd.py rename to lang/python/samples/core/pubsub/string_snd.py diff --git a/samples/python/services/minimal_service/minimal_service_client.py b/lang/python/samples/core/service/minimal_service_client.py similarity index 100% rename from samples/python/services/minimal_service/minimal_service_client.py rename to lang/python/samples/core/service/minimal_service_client.py diff --git a/samples/python/services/minimal_service/minimal_service_server.py b/lang/python/samples/core/service/minimal_service_server.py similarity index 100% rename from samples/python/services/minimal_service/minimal_service_server.py rename to lang/python/samples/core/service/minimal_service_server.py diff --git a/samples/python/measurement/ecalhdf5_rw/ecalhdf5_rw.py b/lang/python/samples/measurement/low_level_rw.py similarity index 100% rename from samples/python/measurement/ecalhdf5_rw/ecalhdf5_rw.py rename to lang/python/samples/measurement/low_level_rw.py diff --git a/samples/python/measurement/ecalhdf5_protobuf_rw/ecalhdf5_protobuf_rw.py b/lang/python/samples/measurement/low_level_rw_protobuf.py similarity index 100% rename from samples/python/measurement/ecalhdf5_protobuf_rw/ecalhdf5_protobuf_rw.py rename to lang/python/samples/measurement/low_level_rw_protobuf.py diff --git a/samples/python/measurement/measurement_read/measurement_read.py b/lang/python/samples/measurement/measurement_read.py similarity index 100% rename from samples/python/measurement/measurement_read/measurement_read.py rename to lang/python/samples/measurement/measurement_read.py diff --git a/pyproject.toml b/pyproject.toml index 7e8b30cd61..9c3a9aa5c0 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -44,7 +44,8 @@ sdist.only-include = [ "/README.md", "/app/app_pb/", "/app/apps/", # TODO: Remove this directory - "/app/rec/rec_addon_*/", # TODO: Remove this directory + "/app/rec/rec_addon_core/", # TODO: Remove this directory + "/app/rec/rec_addon_dummy/", # TODO: Remove this directory "/cmake/", "/contrib/", "/cpack/", diff --git a/samples/CMakeLists.txt b/samples/CMakeLists.txt index eb2ce18369..467d5c1087 100644 --- a/samples/CMakeLists.txt +++ b/samples/CMakeLists.txt @@ -56,41 +56,4 @@ add_subdirectory(cpp/services/rec_client_service_cli) if(HAS_QT) add_subdirectory(cpp/services/rec_client_service_gui) add_subdirectory(cpp/services/rec_server_service_gui) -endif(HAS_QT) - -# -------------------------------------------------------- -# python samples -# -------------------------------------------------------- -if(BUILD_PY_BINDING) - if(WIN32) - # benchmarks - add_subdirectory(python/benchmarks/latency_rec) - add_subdirectory(python/benchmarks/latency_rec_cb) - add_subdirectory(python/benchmarks/latency_snd) - - # measurement - if(HAS_HDF5) - add_subdirectory(python/measurement/ecalhdf5_rw) - add_subdirectory(python/measurement/ecalhdf5_protobuf_rw) - add_subdirectory(python/measurement/measurement_read) - endif(HAS_HDF5) - - # monitoring - add_subdirectory(python/monitoring/monitoring) - add_subdirectory(python/monitoring/monitoring_json) - - # pubsub - add_subdirectory(python/pubsub/protobuf/person_rec) - add_subdirectory(python/pubsub/protobuf/person_rec_cb) - add_subdirectory(python/pubsub/protobuf/person_snd) - add_subdirectory(python/pubsub/string/minimal_rec) - add_subdirectory(python/pubsub/string/minimal_rec_cb) - add_subdirectory(python/pubsub/string/minimal_snd) - add_subdirectory(python/pubsub/binary/binary_rec) - add_subdirectory(python/pubsub/binary/binary_rec_cb) - add_subdirectory(python/pubsub/binary/binary_snd) - - # services - add_subdirectory(python/services/minimal_service) - endif(WIN32) -endif(BUILD_PY_BINDING) +endif(HAS_QT) \ No newline at end of file diff --git a/samples/python/benchmarks/latency_rec/CMakeLists.txt b/samples/python/benchmarks/latency_rec/CMakeLists.txt deleted file mode 100644 index 1ab9d57878..0000000000 --- a/samples/python/benchmarks/latency_rec/CMakeLists.txt +++ /dev/null @@ -1,32 +0,0 @@ -# ========================= eCAL LICENSE ================================= -# -# Copyright (C) 2016 - 2019 Continental Corporation -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -# ========================= eCAL LICENSE ================================= - -project(latency_rec) - -find_package(eCAL REQUIRED) - -set(PROJECT_GROUP latency) - -if(ECAL_INCLUDE_PY_SAMPLES) - if(WIN32) - - include_external_msproject(${PROJECT_NAME}_py ${CMAKE_CURRENT_SOURCE_DIR}/${PROJECT_NAME}.pyproj) - set_property(TARGET ${PROJECT_NAME}_py PROPERTY FOLDER samples/python/${PROJECT_GROUP}) - - endif() -endif() diff --git a/samples/python/benchmarks/latency_rec/latency_rec.pyproj b/samples/python/benchmarks/latency_rec/latency_rec.pyproj deleted file mode 100644 index b6766d2c51..0000000000 --- a/samples/python/benchmarks/latency_rec/latency_rec.pyproj +++ /dev/null @@ -1,35 +0,0 @@ - - - - Debug - 2.0 - . - latency_rec.py - ..\..\..\lang\python\src - . - . - latency_rec - latency_rec - {d6fc0687-be86-3f15-a401-e34fcd08fa2a} - - - true - false - - - true - false - - - - - - 10.0 - - - - - - - - \ No newline at end of file diff --git a/samples/python/benchmarks/latency_rec_cb/CMakeLists.txt b/samples/python/benchmarks/latency_rec_cb/CMakeLists.txt deleted file mode 100644 index 1479d08c93..0000000000 --- a/samples/python/benchmarks/latency_rec_cb/CMakeLists.txt +++ /dev/null @@ -1,32 +0,0 @@ -# ========================= eCAL LICENSE ================================= -# -# Copyright (C) 2016 - 2019 Continental Corporation -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -# ========================= eCAL LICENSE ================================= - -project(latency_rec_cb) - -find_package(eCAL REQUIRED) - -set(PROJECT_GROUP latency) - -if(ECAL_INCLUDE_PY_SAMPLES) - if(WIN32) - - include_external_msproject(${PROJECT_NAME}_py ${CMAKE_CURRENT_SOURCE_DIR}/${PROJECT_NAME}.pyproj) - set_property(TARGET ${PROJECT_NAME}_py PROPERTY FOLDER samples/python/${PROJECT_GROUP}) - - endif() -endif() diff --git a/samples/python/benchmarks/latency_rec_cb/latency_rec_cb.pyproj b/samples/python/benchmarks/latency_rec_cb/latency_rec_cb.pyproj deleted file mode 100644 index 8ea223db12..0000000000 --- a/samples/python/benchmarks/latency_rec_cb/latency_rec_cb.pyproj +++ /dev/null @@ -1,35 +0,0 @@ - - - - Debug - 2.0 - . - latency_rec_cb.py - ..\..\..\lang\python\src - . - . - latency_rec_cb - latency_rec_cb - {4d0f63dd-6004-3fea-b069-a8ec371a9e6b} - - - true - false - - - true - false - - - - - - 10.0 - - - - - - - - \ No newline at end of file diff --git a/samples/python/benchmarks/latency_snd/CMakeLists.txt b/samples/python/benchmarks/latency_snd/CMakeLists.txt deleted file mode 100644 index 80045a5fd8..0000000000 --- a/samples/python/benchmarks/latency_snd/CMakeLists.txt +++ /dev/null @@ -1,32 +0,0 @@ -# ========================= eCAL LICENSE ================================= -# -# Copyright (C) 2016 - 2019 Continental Corporation -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -# ========================= eCAL LICENSE ================================= - -project(latency_snd) - -find_package(eCAL REQUIRED) - -set(PROJECT_GROUP latency) - -if(ECAL_INCLUDE_PY_SAMPLES) - if(WIN32) - - include_external_msproject(${PROJECT_NAME}_py ${CMAKE_CURRENT_SOURCE_DIR}/${PROJECT_NAME}.pyproj) - set_property(TARGET ${PROJECT_NAME}_py PROPERTY FOLDER samples/python/${PROJECT_GROUP}) - - endif() -endif() diff --git a/samples/python/benchmarks/latency_snd/latency_snd.pyproj b/samples/python/benchmarks/latency_snd/latency_snd.pyproj deleted file mode 100644 index f5966f88d3..0000000000 --- a/samples/python/benchmarks/latency_snd/latency_snd.pyproj +++ /dev/null @@ -1,35 +0,0 @@ - - - - Debug - 2.0 - . - latency_snd.py - ..\..\..\lang\python\src - . - . - latency_snd - latency_snd - {c0ae785d-6480-3dc3-b9d3-7999f556ec4e} - - - true - false - - - true - false - - - - - - 10.0 - - - - - - - - \ No newline at end of file diff --git a/samples/python/measurement/ecalhdf5_protobuf_rw/CMakeLists.txt b/samples/python/measurement/ecalhdf5_protobuf_rw/CMakeLists.txt deleted file mode 100644 index 0ce5295257..0000000000 --- a/samples/python/measurement/ecalhdf5_protobuf_rw/CMakeLists.txt +++ /dev/null @@ -1,32 +0,0 @@ -# ========================= eCAL LICENSE ================================= -# -# Copyright (C) 2016 - 2019 Continental Corporation -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -# ========================= eCAL LICENSE ================================= - -project(ecalhdf5_protobuf_rw) - -find_package(eCAL REQUIRED) - -set(PROJECT_GROUP ecalhdf5_protobuf_rw) - -if(ECAL_INCLUDE_PY_SAMPLES) - if(WIN32) - - include_external_msproject(${PROJECT_NAME}_py ${CMAKE_CURRENT_SOURCE_DIR}/${PROJECT_NAME}.pyproj) - set_property(TARGET ${PROJECT_NAME}_py PROPERTY FOLDER samples/python/${PROJECT_GROUP}) - - endif() -endif() diff --git a/samples/python/measurement/ecalhdf5_protobuf_rw/ecalhdf5_protobuf_rw.pyproj b/samples/python/measurement/ecalhdf5_protobuf_rw/ecalhdf5_protobuf_rw.pyproj deleted file mode 100644 index 09c1b8c868..0000000000 --- a/samples/python/measurement/ecalhdf5_protobuf_rw/ecalhdf5_protobuf_rw.pyproj +++ /dev/null @@ -1,35 +0,0 @@ - - - - Debug - 2.0 - . - ecalhdf5_protobuf_rw.py - ..\..\..\lang\python\src - . - . - ecalhdf5_protobuf_rw - measurement_read - {3b37f456-c807-3a24-9ba7-d4757cf4ca23} - - - true - false - - - true - false - - - - - - 10.0 - - - - - - - - \ No newline at end of file diff --git a/samples/python/measurement/ecalhdf5_rw/CMakeLists.txt b/samples/python/measurement/ecalhdf5_rw/CMakeLists.txt deleted file mode 100644 index 41aa93715a..0000000000 --- a/samples/python/measurement/ecalhdf5_rw/CMakeLists.txt +++ /dev/null @@ -1,32 +0,0 @@ -# ========================= eCAL LICENSE ================================= -# -# Copyright (C) 2016 - 2019 Continental Corporation -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -# ========================= eCAL LICENSE ================================= - -project(ecalhdf5_rw) - -find_package(eCAL REQUIRED) - -set(PROJECT_GROUP ecalhdf5) - -if(ECAL_INCLUDE_PY_SAMPLES) - if(WIN32) - - include_external_msproject(${PROJECT_NAME}_py ${CMAKE_CURRENT_SOURCE_DIR}/${PROJECT_NAME}.pyproj) - set_property(TARGET ${PROJECT_NAME}_py PROPERTY FOLDER samples/python/${PROJECT_GROUP}) - - endif() -endif() diff --git a/samples/python/measurement/ecalhdf5_rw/ecalhdf5_rw.pyproj b/samples/python/measurement/ecalhdf5_rw/ecalhdf5_rw.pyproj deleted file mode 100644 index 0172d7b518..0000000000 --- a/samples/python/measurement/ecalhdf5_rw/ecalhdf5_rw.pyproj +++ /dev/null @@ -1,35 +0,0 @@ - - - - Debug - 2.0 - . - ecalhdf5_rw.py - ..\..\..\lang\python\src - . - . - ecalhdf5_rw - ecalhdf5_rw - {ff2de1ed-4c2e-39b0-9370-e52b97bce0b5} - - - true - false - - - true - false - - - - - - 10.0 - - - - - - - - \ No newline at end of file diff --git a/samples/python/measurement/measurement_read/CMakeLists.txt b/samples/python/measurement/measurement_read/CMakeLists.txt deleted file mode 100644 index 765d7f380a..0000000000 --- a/samples/python/measurement/measurement_read/CMakeLists.txt +++ /dev/null @@ -1,32 +0,0 @@ -# ========================= eCAL LICENSE ================================= -# -# Copyright (C) 2016 - 2019 Continental Corporation -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -# ========================= eCAL LICENSE ================================= - -project(measurement_read) - -find_package(eCAL REQUIRED) - -set(PROJECT_GROUP measurement) - -if(ECAL_INCLUDE_PY_SAMPLES) - if(WIN32) - - include_external_msproject(${PROJECT_NAME}_py ${CMAKE_CURRENT_SOURCE_DIR}/${PROJECT_NAME}.pyproj) - set_property(TARGET ${PROJECT_NAME}_py PROPERTY FOLDER samples/python/${PROJECT_GROUP}) - - endif() -endif() diff --git a/samples/python/measurement/measurement_read/measurement_read.pyproj b/samples/python/measurement/measurement_read/measurement_read.pyproj deleted file mode 100644 index 80957f3eca..0000000000 --- a/samples/python/measurement/measurement_read/measurement_read.pyproj +++ /dev/null @@ -1,35 +0,0 @@ - - - - Debug - 2.0 - . - measurement_read.py - ..\..\..\lang\python\src - . - . - measurement_read - measurement_read - {2b37f456-c807-3a24-9ba7-d4757cf4ca23} - - - true - false - - - true - false - - - - - - 10.0 - - - - - - - - \ No newline at end of file diff --git a/samples/python/monitoring/monitoring/CMakeLists.txt b/samples/python/monitoring/monitoring/CMakeLists.txt deleted file mode 100644 index 0a48a5afc1..0000000000 --- a/samples/python/monitoring/monitoring/CMakeLists.txt +++ /dev/null @@ -1,32 +0,0 @@ -# ========================= eCAL LICENSE ================================= -# -# Copyright (C) 2016 - 2019 Continental Corporation -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -# ========================= eCAL LICENSE ================================= - -project(monitoring) - -find_package(eCAL REQUIRED) - -set(PROJECT_GROUP monitoring) - -if(ECAL_INCLUDE_PY_SAMPLES) - if(WIN32) - - include_external_msproject(${PROJECT_NAME}_py ${CMAKE_CURRENT_SOURCE_DIR}/${PROJECT_NAME}.pyproj) - set_property(TARGET ${PROJECT_NAME}_py PROPERTY FOLDER samples/python/${PROJECT_GROUP}) - - endif() -endif() diff --git a/samples/python/monitoring/monitoring/monitoring.pyproj b/samples/python/monitoring/monitoring/monitoring.pyproj deleted file mode 100644 index 68b84ce2e3..0000000000 --- a/samples/python/monitoring/monitoring/monitoring.pyproj +++ /dev/null @@ -1,35 +0,0 @@ - - - - Debug - 2.0 - . - monitoring.py - ..\..\..\lang\python\src - . - . - monitoring - monitoring - {001d5f80-2090-3459-959b-58a5111532c6} - - - true - false - - - true - false - - - - - - 10.0 - - - - - - - - \ No newline at end of file diff --git a/samples/python/monitoring/monitoring_json/CMakeLists.txt b/samples/python/monitoring/monitoring_json/CMakeLists.txt deleted file mode 100644 index fefede7555..0000000000 --- a/samples/python/monitoring/monitoring_json/CMakeLists.txt +++ /dev/null @@ -1,32 +0,0 @@ -# ========================= eCAL LICENSE ================================= -# -# Copyright (C) 2016 - 2024 Continental Corporation -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -# ========================= eCAL LICENSE ================================= - -project(monitoring_json) - -find_package(eCAL REQUIRED) - -set(PROJECT_GROUP monitoring) - -if(ECAL_INCLUDE_PY_SAMPLES) - if(WIN32) - - include_external_msproject(${PROJECT_NAME}_py ${CMAKE_CURRENT_SOURCE_DIR}/${PROJECT_NAME}.pyproj) - set_property(TARGET ${PROJECT_NAME}_py PROPERTY FOLDER samples/python/${PROJECT_GROUP}) - - endif() -endif() diff --git a/samples/python/monitoring/monitoring_json/monitoring_json.pyproj b/samples/python/monitoring/monitoring_json/monitoring_json.pyproj deleted file mode 100644 index 805f906f0e..0000000000 --- a/samples/python/monitoring/monitoring_json/monitoring_json.pyproj +++ /dev/null @@ -1,35 +0,0 @@ - - - - Debug - 2.0 - . - monitoring_json.py - ..\..\..\lang\python\src - . - . - monitoring_json - monitoring_json - {001d5f80-2090-3459-959b-58a5111532c6} - - - true - false - - - true - false - - - - - - 10.0 - - - - - - - - \ No newline at end of file diff --git a/samples/python/pubsub/binary/binary_rec/CMakeLists.txt b/samples/python/pubsub/binary/binary_rec/CMakeLists.txt deleted file mode 100644 index 181e6cbaa3..0000000000 --- a/samples/python/pubsub/binary/binary_rec/CMakeLists.txt +++ /dev/null @@ -1,32 +0,0 @@ -# ========================= eCAL LICENSE ================================= -# -# Copyright (C) 2016 - 2019 Continental Corporation -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -# ========================= eCAL LICENSE ================================= - -project(binary_rec) - -find_package(eCAL REQUIRED) - -set(PROJECT_GROUP binary) - -if(ECAL_INCLUDE_PY_SAMPLES) - if(WIN32) - - include_external_msproject(${PROJECT_NAME}_py ${CMAKE_CURRENT_SOURCE_DIR}/${PROJECT_NAME}.pyproj) - set_property(TARGET ${PROJECT_NAME}_py PROPERTY FOLDER samples/python/${PROJECT_GROUP}) - - endif() -endif() \ No newline at end of file diff --git a/samples/python/pubsub/binary/binary_rec/binary_rec.pyproj b/samples/python/pubsub/binary/binary_rec/binary_rec.pyproj deleted file mode 100644 index 31855265cf..0000000000 --- a/samples/python/pubsub/binary/binary_rec/binary_rec.pyproj +++ /dev/null @@ -1,35 +0,0 @@ - - - - Debug - 2.0 - . - binary_rec.py - ..\..\..\lang\python\src - . - . - binary_rec - binary_rec - {093990a3-9395-3bb2-b625-473f1bba2ce6} - - - true - false - - - true - false - - - - - - 10.0 - - - - - - - - \ No newline at end of file diff --git a/samples/python/pubsub/binary/binary_rec_cb/CMakeLists.txt b/samples/python/pubsub/binary/binary_rec_cb/CMakeLists.txt deleted file mode 100644 index 2887d4a544..0000000000 --- a/samples/python/pubsub/binary/binary_rec_cb/CMakeLists.txt +++ /dev/null @@ -1,32 +0,0 @@ -# ========================= eCAL LICENSE ================================= -# -# Copyright (C) 2016 - 2019 Continental Corporation -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -# ========================= eCAL LICENSE ================================= - -project(binary_rec_cb) - -find_package(eCAL REQUIRED) - -set(PROJECT_GROUP binary) - -if(ECAL_INCLUDE_PY_SAMPLES) - if(WIN32) - - include_external_msproject(${PROJECT_NAME}_py ${CMAKE_CURRENT_SOURCE_DIR}/${PROJECT_NAME}.pyproj) - set_property(TARGET ${PROJECT_NAME}_py PROPERTY FOLDER samples/python/${PROJECT_GROUP}) - - endif() -endif() diff --git a/samples/python/pubsub/binary/binary_rec_cb/binary_rec_cb.pyproj b/samples/python/pubsub/binary/binary_rec_cb/binary_rec_cb.pyproj deleted file mode 100644 index 5478851607..0000000000 --- a/samples/python/pubsub/binary/binary_rec_cb/binary_rec_cb.pyproj +++ /dev/null @@ -1,35 +0,0 @@ - - - - Debug - 2.0 - . - binary_rec_cb.py - ..\..\..\lang\python\src - . - . - binary_rec_cb - binary_rec_cb - {a38cc1fc-76f7-3172-81ac-b754dc0f9d60} - - - true - false - - - true - false - - - - - - 10.0 - - - - - - - - \ No newline at end of file diff --git a/samples/python/pubsub/binary/binary_snd/CMakeLists.txt b/samples/python/pubsub/binary/binary_snd/CMakeLists.txt deleted file mode 100644 index bdc0dec522..0000000000 --- a/samples/python/pubsub/binary/binary_snd/CMakeLists.txt +++ /dev/null @@ -1,32 +0,0 @@ -# ========================= eCAL LICENSE ================================= -# -# Copyright (C) 2016 - 2019 Continental Corporation -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -# ========================= eCAL LICENSE ================================= - -project(binary_snd) - -find_package(eCAL REQUIRED) - -set(PROJECT_GROUP binary) - -if(ECAL_INCLUDE_PY_SAMPLES) - if(WIN32) - - include_external_msproject(${PROJECT_NAME}_py ${CMAKE_CURRENT_SOURCE_DIR}/${PROJECT_NAME}.pyproj) - set_property(TARGET ${PROJECT_NAME}_py PROPERTY FOLDER samples/python/${PROJECT_GROUP}) - - endif() -endif() \ No newline at end of file diff --git a/samples/python/pubsub/binary/binary_snd/binary_snd.pyproj b/samples/python/pubsub/binary/binary_snd/binary_snd.pyproj deleted file mode 100644 index c7223cb68c..0000000000 --- a/samples/python/pubsub/binary/binary_snd/binary_snd.pyproj +++ /dev/null @@ -1,35 +0,0 @@ - - - - Debug - 2.0 - . - binary_snd.py - ..\..\..\lang\python\src - . - . - binary_snd - binary_snd - {5ebed1e0-8867-3120-bbfe-6d6db73e8077} - - - true - false - - - true - false - - - - - - 10.0 - - - - - - - - \ No newline at end of file diff --git a/samples/python/pubsub/protobuf/person_rec/CMakeLists.txt b/samples/python/pubsub/protobuf/person_rec/CMakeLists.txt deleted file mode 100644 index 7e23630f42..0000000000 --- a/samples/python/pubsub/protobuf/person_rec/CMakeLists.txt +++ /dev/null @@ -1,32 +0,0 @@ -# ========================= eCAL LICENSE ================================= -# -# Copyright (C) 2016 - 2019 Continental Corporation -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -# ========================= eCAL LICENSE ================================= - -project(person_rec) - -find_package(eCAL REQUIRED) - -set(PROJECT_GROUP person) - -if(ECAL_INCLUDE_PY_SAMPLES) - if(WIN32) - - include_external_msproject(${PROJECT_NAME}_py ${CMAKE_CURRENT_SOURCE_DIR}/${PROJECT_NAME}.pyproj) - set_property(TARGET ${PROJECT_NAME}_py PROPERTY FOLDER samples/python/${PROJECT_GROUP}) - - endif() -endif() diff --git a/samples/python/pubsub/protobuf/person_rec/person_rec.pyproj b/samples/python/pubsub/protobuf/person_rec/person_rec.pyproj deleted file mode 100644 index 1fd30ef4f6..0000000000 --- a/samples/python/pubsub/protobuf/person_rec/person_rec.pyproj +++ /dev/null @@ -1,35 +0,0 @@ - - - - Debug - 2.0 - . - person_rec.py - ..\..\..\lang\python\src - . - . - person_rec - person_rec - {299dfe00-c6ff-3496-baa9-f0b2dd2172b4} - - - true - false - - - true - false - - - - - - 10.0 - - - - - - - - \ No newline at end of file diff --git a/samples/python/pubsub/protobuf/person_rec_cb/CMakeLists.txt b/samples/python/pubsub/protobuf/person_rec_cb/CMakeLists.txt deleted file mode 100644 index 559cf2d6ef..0000000000 --- a/samples/python/pubsub/protobuf/person_rec_cb/CMakeLists.txt +++ /dev/null @@ -1,32 +0,0 @@ -# ========================= eCAL LICENSE ================================= -# -# Copyright (C) 2016 - 2019 Continental Corporation -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -# ========================= eCAL LICENSE ================================= - -project(person_rec_cb) - -find_package(eCAL REQUIRED) - -set(PROJECT_GROUP person) - -if(ECAL_INCLUDE_PY_SAMPLES) - if(WIN32) - - include_external_msproject(${PROJECT_NAME}_py ${CMAKE_CURRENT_SOURCE_DIR}/${PROJECT_NAME}.pyproj) - set_property(TARGET ${PROJECT_NAME}_py PROPERTY FOLDER samples/python/${PROJECT_GROUP}) - - endif() -endif() diff --git a/samples/python/pubsub/protobuf/person_rec_cb/person_rec_cb.pyproj b/samples/python/pubsub/protobuf/person_rec_cb/person_rec_cb.pyproj deleted file mode 100644 index 2d57e3f030..0000000000 --- a/samples/python/pubsub/protobuf/person_rec_cb/person_rec_cb.pyproj +++ /dev/null @@ -1,35 +0,0 @@ - - - - Debug - 2.0 - . - person_rec_cb.py - ..\..\..\lang\python\src - . - . - person_rec_cb - person_rec_cb - {4adc1f65-2c6b-3bb4-94dc-59a3ede188ac} - - - true - false - - - true - false - - - - - - 10.0 - - - - - - - - \ No newline at end of file diff --git a/samples/python/pubsub/protobuf/person_snd/CMakeLists.txt b/samples/python/pubsub/protobuf/person_snd/CMakeLists.txt deleted file mode 100644 index d14be7ec50..0000000000 --- a/samples/python/pubsub/protobuf/person_snd/CMakeLists.txt +++ /dev/null @@ -1,32 +0,0 @@ -# ========================= eCAL LICENSE ================================= -# -# Copyright (C) 2016 - 2019 Continental Corporation -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -# ========================= eCAL LICENSE ================================= - -project(person_snd) - -find_package(eCAL REQUIRED) - -set(PROJECT_GROUP person) - -if(ECAL_INCLUDE_PY_SAMPLES) - if(WIN32) - - include_external_msproject(${PROJECT_NAME}_py ${CMAKE_CURRENT_SOURCE_DIR}/${PROJECT_NAME}.pyproj) - set_property(TARGET ${PROJECT_NAME}_py PROPERTY FOLDER samples/python/${PROJECT_GROUP}) - - endif() -endif() diff --git a/samples/python/pubsub/protobuf/person_snd/person_snd.pyproj b/samples/python/pubsub/protobuf/person_snd/person_snd.pyproj deleted file mode 100644 index dd37c571bb..0000000000 --- a/samples/python/pubsub/protobuf/person_snd/person_snd.pyproj +++ /dev/null @@ -1,35 +0,0 @@ - - - - Debug - 2.0 - . - person_snd.py - ..\..\..\lang\python\src - . - . - person_snd - person_snd - {f304b7ca-4d61-3f73-b77f-821c6f806695} - - - true - false - - - true - false - - - - - - 10.0 - - - - - - - - \ No newline at end of file diff --git a/samples/python/pubsub/string/minimal_rec/CMakeLists.txt b/samples/python/pubsub/string/minimal_rec/CMakeLists.txt deleted file mode 100644 index 97a010e846..0000000000 --- a/samples/python/pubsub/string/minimal_rec/CMakeLists.txt +++ /dev/null @@ -1,32 +0,0 @@ -# ========================= eCAL LICENSE ================================= -# -# Copyright (C) 2016 - 2019 Continental Corporation -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -# ========================= eCAL LICENSE ================================= - -project(minimal_rec) - -find_package(eCAL REQUIRED) - -set(PROJECT_GROUP minimal) - -if(ECAL_INCLUDE_PY_SAMPLES) - if(WIN32) - - include_external_msproject(${PROJECT_NAME}_py ${CMAKE_CURRENT_SOURCE_DIR}/${PROJECT_NAME}.pyproj) - set_property(TARGET ${PROJECT_NAME}_py PROPERTY FOLDER samples/python/${PROJECT_GROUP}) - - endif() -endif() diff --git a/samples/python/pubsub/string/minimal_rec/minimal_rec.pyproj b/samples/python/pubsub/string/minimal_rec/minimal_rec.pyproj deleted file mode 100644 index 363113470b..0000000000 --- a/samples/python/pubsub/string/minimal_rec/minimal_rec.pyproj +++ /dev/null @@ -1,35 +0,0 @@ - - - - Debug - 2.0 - . - minimal_rec.py - ..\..\..\lang\python\src - . - . - minimal_rec - minimal_rec - {093990a3-9395-3bb2-b625-473f1bba2ce6} - - - true - false - - - true - false - - - - - - 10.0 - - - - - - - - \ No newline at end of file diff --git a/samples/python/pubsub/string/minimal_rec_cb/CMakeLists.txt b/samples/python/pubsub/string/minimal_rec_cb/CMakeLists.txt deleted file mode 100644 index cd4b45d493..0000000000 --- a/samples/python/pubsub/string/minimal_rec_cb/CMakeLists.txt +++ /dev/null @@ -1,32 +0,0 @@ -# ========================= eCAL LICENSE ================================= -# -# Copyright (C) 2016 - 2019 Continental Corporation -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -# ========================= eCAL LICENSE ================================= - -project(minimal_rec_cb) - -find_package(eCAL REQUIRED) - -set(PROJECT_GROUP minimal) - -if(ECAL_INCLUDE_PY_SAMPLES) - if(WIN32) - - include_external_msproject(${PROJECT_NAME}_py ${CMAKE_CURRENT_SOURCE_DIR}/${PROJECT_NAME}.pyproj) - set_property(TARGET ${PROJECT_NAME}_py PROPERTY FOLDER samples/python/${PROJECT_GROUP}) - - endif() -endif() diff --git a/samples/python/pubsub/string/minimal_rec_cb/minimal_rec_cb.pyproj b/samples/python/pubsub/string/minimal_rec_cb/minimal_rec_cb.pyproj deleted file mode 100644 index 3a8d55c743..0000000000 --- a/samples/python/pubsub/string/minimal_rec_cb/minimal_rec_cb.pyproj +++ /dev/null @@ -1,35 +0,0 @@ - - - - Debug - 2.0 - . - minimal_rec_cb.py - ..\..\..\lang\python\src - . - . - minimal_rec_cb - minimal_rec_cb - {a38cc1fc-76f7-3172-81ac-b754dc0f9d60} - - - true - false - - - true - false - - - - - - 10.0 - - - - - - - - \ No newline at end of file diff --git a/samples/python/pubsub/string/minimal_snd/CMakeLists.txt b/samples/python/pubsub/string/minimal_snd/CMakeLists.txt deleted file mode 100644 index 7af61804b5..0000000000 --- a/samples/python/pubsub/string/minimal_snd/CMakeLists.txt +++ /dev/null @@ -1,32 +0,0 @@ -# ========================= eCAL LICENSE ================================= -# -# Copyright (C) 2016 - 2019 Continental Corporation -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -# ========================= eCAL LICENSE ================================= - -project(minimal_snd) - -find_package(eCAL REQUIRED) - -set(PROJECT_GROUP minimal) - -if(ECAL_INCLUDE_PY_SAMPLES) - if(WIN32) - - include_external_msproject(${PROJECT_NAME}_py ${CMAKE_CURRENT_SOURCE_DIR}/${PROJECT_NAME}.pyproj) - set_property(TARGET ${PROJECT_NAME}_py PROPERTY FOLDER samples/python/${PROJECT_GROUP}) - - endif() -endif() diff --git a/samples/python/pubsub/string/minimal_snd/minimal_snd.pyproj b/samples/python/pubsub/string/minimal_snd/minimal_snd.pyproj deleted file mode 100644 index 6ac1f6e7aa..0000000000 --- a/samples/python/pubsub/string/minimal_snd/minimal_snd.pyproj +++ /dev/null @@ -1,35 +0,0 @@ - - - - Debug - 2.0 - . - minimal_snd.py - ..\..\..\lang\python\src - . - . - minimal_snd - minimal_snd - {5ebed1e0-8867-3120-bbfe-6d6db73e8077} - - - true - false - - - true - false - - - - - - 10.0 - - - - - - - - \ No newline at end of file diff --git a/samples/python/services/minimal_service/CMakeLists.txt b/samples/python/services/minimal_service/CMakeLists.txt deleted file mode 100644 index b396970888..0000000000 --- a/samples/python/services/minimal_service/CMakeLists.txt +++ /dev/null @@ -1,32 +0,0 @@ -# ========================= eCAL LICENSE ================================= -# -# Copyright (C) 2016 - 2019 Continental Corporation -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -# ========================= eCAL LICENSE ================================= - -project(minimal_service) - -find_package(eCAL REQUIRED) - -set(PROJECT_GROUP service) - -if(ECAL_INCLUDE_PY_SAMPLES) - if(WIN32) - - include_external_msproject(${PROJECT_NAME}_py ${CMAKE_CURRENT_SOURCE_DIR}/${PROJECT_NAME}.pyproj) - set_property(TARGET ${PROJECT_NAME}_py PROPERTY FOLDER samples/python/${PROJECT_GROUP}) - - endif() -endif() diff --git a/samples/python/services/minimal_service/minimal_service.pyproj b/samples/python/services/minimal_service/minimal_service.pyproj deleted file mode 100644 index 06d0018e3c..0000000000 --- a/samples/python/services/minimal_service/minimal_service.pyproj +++ /dev/null @@ -1,36 +0,0 @@ - - - - Debug - 2.0 - . - minimal_service.py - ..\..\..\lang\python\src - . - . - minimal_service - minimal_service - {97a07ce9-60dd-3a70-a2b0-1ccf564743a7} - - - true - false - - - true - false - - - - - - - 10.0 - - - - - - - - \ No newline at end of file