Skip to content

Commit

Permalink
Adjusted lockless example
Browse files Browse the repository at this point in the history
  • Loading branch information
shuhaowu committed Sep 1, 2024
1 parent ac05467 commit f88257c
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 11 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ if(${CMAKE_PROJECT_NAME} STREQUAL ${PROJECT_NAME})

if (ENABLE_EXAMPLES)
message(STATUS "Building example programs. Turn it off via ENABLE_EXAMPLES=OFF")
add_subdirectory(examples/lockless_example)
add_subdirectory(examples/lockless_examples)
add_subdirectory(examples/logging_example)
add_subdirectory(examples/message_passing_example)
add_subdirectory(examples/mutex_example)
Expand Down
10 changes: 0 additions & 10 deletions examples/lockless_example/CMakeLists.txt

This file was deleted.

10 changes: 10 additions & 0 deletions examples/lockless_examples/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
add_executable(rt_lockless_realtime_read_example
realtime_read.cc
)

target_link_libraries(rt_lockless_realtime_read_example
PRIVATE
cactus_rt
)

setup_cactus_rt_target_options(rt_lockless_realtime_read_example)
3 changes: 3 additions & 0 deletions examples/lockless_examples/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Lockless examples
=================

File renamed without changes.

0 comments on commit f88257c

Please sign in to comment.