-
Notifications
You must be signed in to change notification settings - Fork 147
Expand file tree
/
Copy pathCMakeLists.txt
More file actions
22 lines (18 loc) · 1003 Bytes
/
CMakeLists.txt
File metadata and controls
22 lines (18 loc) · 1003 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Copyright (c) 2024 Contributors to the Eclipse Foundation
#
# See the NOTICE file(s) distributed with this work for additional
# information regarding copyright ownership.
#
# This program and the accompanying materials are made available under the
# terms of the Apache Software License 2.0 which is available at
# https://www.apache.org/licenses/LICENSE-2.0, or the MIT license
# which is available at https://opensource.org/licenses/MIT.
#
# SPDX-License-Identifier: Apache-2.0 OR MIT
cmake_minimum_required(VERSION 3.22)
project(example_cxx_event_based_communication LANGUAGES CXX)
find_package(iceoryx2-cxx 0.8.999 REQUIRED)
add_executable(example_cxx_event_based_communication_publisher src/publisher.cpp)
target_link_libraries(example_cxx_event_based_communication_publisher iceoryx2-cxx::static-lib-cxx)
add_executable(example_cxx_event_based_communication_subscriber src/subscriber.cpp)
target_link_libraries(example_cxx_event_based_communication_subscriber iceoryx2-cxx::static-lib-cxx)