summaryrefslogtreecommitdiffhomepage
path: root/example/smart_ptr_example
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@nekernel.org>2025-12-29 21:24:34 +0100
committerAmlal El Mahrouss <amlal@nekernel.org>2025-12-29 21:24:34 +0100
commit8c976ce60d3232471efd079adab9ec52c08ea275 (patch)
tree0097eeb19fffddcb9b258c8b9073dd74cbddde66 /example/smart_ptr_example
parent591f44cf59f30073e33855f474dce5f65c50731a (diff)
chore: core: update example file extensions.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'example/smart_ptr_example')
-rw-r--r--example/smart_ptr_example/CMakeLists.txt6
-rw-r--r--example/smart_ptr_example/example.cpp (renamed from example/smart_ptr_example/example.cc)0
2 files changed, 3 insertions, 3 deletions
diff --git a/example/smart_ptr_example/CMakeLists.txt b/example/smart_ptr_example/CMakeLists.txt
index 6584ad2..09b8bd2 100644
--- a/example/smart_ptr_example/CMakeLists.txt
+++ b/example/smart_ptr_example/CMakeLists.txt
@@ -6,10 +6,10 @@ project(
VERSION 1.0
LANGUAGES CXX)
-find_package(Boost REQUIRED COMPONENTS container)
+find_package(Boost REQUIRED)
-add_executable(SmartPtrExample example.cc)
+add_executable(SmartPtrExample example.cpp)
set_property(TARGET SmartPtrExample PROPERTY CXX_STANDARD 20)
target_include_directories(SmartPtrExample PUBLIC ../../include/)
-target_link_libraries(SmartPtrExample PRIVATE Boost::container)
+target_link_libraries(SmartPtrExample PRIVATE Boost)
diff --git a/example/smart_ptr_example/example.cc b/example/smart_ptr_example/example.cpp
index abe5aaf..abe5aaf 100644
--- a/example/smart_ptr_example/example.cc
+++ b/example/smart_ptr_example/example.cpp