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
27 changes: 8 additions & 19 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,25 +1,14 @@
# Copyright (c) 2024 General Motors GTO LLC
# SPDX-FileCopyrightText: 2025 Contributors to the Eclipse Foundation
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

❤️

#
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you 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
# See the NOTICE file(s) distributed with this work for additional
# information regarding copyright ownership.
#
# http://www.apache.org/licenses/LICENSE-2.0
# This program and the accompanying materials are made available under the
# terms of the Apache License Version 2.0 which is available at
# https://www.apache.org/licenses/LICENSE-2.0
#
# SPDX-License-Identifier: Apache-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.
# SPDX-FileType: SOURCE
# SPDX-FileCopyrightText: 2024 General Motors GTO LLC
# SPDX-License-Identifier: Apache-2.0

cmake_minimum_required(VERSION 3.20)
project(samples VERSION 0.1.0 LANGUAGES CXX DESCRIPTION "C++ Examples for uProtocol")

Expand Down
37 changes: 14 additions & 23 deletions pubsub/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,25 +1,14 @@
# Copyright (c) 2024 General Motors GTO LLC
# SPDX-FileCopyrightText: 2025 Contributors to the Eclipse Foundation
#
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you 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
# See the NOTICE file(s) distributed with this work for additional
# information regarding copyright ownership.
#
# http://www.apache.org/licenses/LICENSE-2.0
# This program and the accompanying materials are made available under the
# terms of the Apache License Version 2.0 which is available at
# https://www.apache.org/licenses/LICENSE-2.0
#
# SPDX-License-Identifier: Apache-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.
# SPDX-FileType: SOURCE
# SPDX-FileCopyrightText: 2024 General Motors GTO LLC
# SPDX-License-Identifier: Apache-2.0

cmake_minimum_required(VERSION 3.20)
project(pubsub VERSION 0.1.0 LANGUAGES CXX)

Expand All @@ -30,23 +19,25 @@ find_package(up-transport-zenoh-cpp REQUIRED)
add_definitions(-DSPDLOG_FMT_EXTERNAL)

# sub
add_executable(sub src/main_sub.cpp src/UTransportDomainSockets.cpp)
add_executable(sub src/main_sub.cpp)
target_link_libraries(sub
PUBLIC
spdlog::spdlog
up-cpp::up-cpp
up-core-api::up-core-api)
up-core-api::up-core-api
up-transport-zenoh-cpp::up-transport-zenoh-cpp)
target_include_directories(sub
PRIVATE
include)

# pub
add_executable(pub src/main_pub.cpp src/UTransportDomainSockets.cpp)
add_executable(pub src/main_pub.cpp)
target_link_libraries(pub
PUBLIC
spdlog::spdlog
up-cpp::up-cpp
up-core-api::up-core-api)
up-core-api::up-core-api
up-transport-zenoh-cpp::up-transport-zenoh-cpp)
target_include_directories(pub
PRIVATE
include)
27 changes: 8 additions & 19 deletions pubsub/include/common.h
Original file line number Diff line number Diff line change
@@ -1,25 +1,14 @@
// Copyright (c) 2024 General Motors GTO LLC
// SPDX-FileCopyrightText: 2025 Contributors to the Eclipse Foundation
//
// Licensed to the Apache Software Foundation (ASF) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you 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
// See the NOTICE file(s) distributed with this work for additional
// information regarding copyright ownership.
//
// http://www.apache.org/licenses/LICENSE-2.0
// This program and the accompanying materials are made available under the
// terms of the Apache License Version 2.0 which is available at
// https://www.apache.org/licenses/LICENSE-2.0
//
// SPDX-License-Identifier: Apache-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.
// SPDX-FileType: SOURCE
// SPDX-FileCopyrightText: 2024 General Motors GTO LLC
// SPDX-License-Identifier: Apache-2.0

#ifndef PUBSUB_COMMON_H
#define PUBSUB_COMMON_H

Expand Down
208 changes: 0 additions & 208 deletions pubsub/src/UTransportDomainSockets.cpp

This file was deleted.

48 changes: 0 additions & 48 deletions pubsub/src/UTransportDomainSockets.h

This file was deleted.

Loading