summaryrefslogtreecommitdiffhomepage
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
parent591f44cf59f30073e33855f474dce5f65c50731a (diff)
chore: core: update example file extensions.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
-rw-r--r--example/hash_crc32_example/CMakeLists.txt2
-rw-r--r--example/hash_crc32_example/example.cpp (renamed from example/hash_crc32_example/example.cc)0
-rw-r--r--example/option_example/CMakeLists.txt6
-rw-r--r--example/option_example/example.cpp (renamed from example/option_example/example.cc)0
-rw-r--r--example/simple_allocator_op/CMakeLists.txt6
-rw-r--r--example/simple_allocator_op/example.cpp (renamed from example/simple_allocator_op/example.cc)0
-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
8 files changed, 10 insertions, 10 deletions
diff --git a/example/hash_crc32_example/CMakeLists.txt b/example/hash_crc32_example/CMakeLists.txt
index cd8d7b5..7941a33 100644
--- a/example/hash_crc32_example/CMakeLists.txt
+++ b/example/hash_crc32_example/CMakeLists.txt
@@ -8,7 +8,7 @@ project(
find_package(Boost REQUIRED COMPONENTS container)
-add_executable(HashExample example.cc)
+add_executable(HashExample example.cpp)
set_property(TARGET HashExample PROPERTY CXX_STANDARD 20)
target_include_directories(HashExample PUBLIC ../../include/)
diff --git a/example/hash_crc32_example/example.cc b/example/hash_crc32_example/example.cpp
index d2f045e..d2f045e 100644
--- a/example/hash_crc32_example/example.cc
+++ b/example/hash_crc32_example/example.cpp
diff --git a/example/option_example/CMakeLists.txt b/example/option_example/CMakeLists.txt
index a77d4c5..947c2e0 100644
--- a/example/option_example/CMakeLists.txt
+++ b/example/option_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(OptionExample example.cc)
+add_executable(OptionExample example.ccpp)
set_property(TARGET OptionExample PROPERTY CXX_STANDARD 20)
target_include_directories(OptionExample PUBLIC ../../include/)
-target_link_libraries(OptionExample PRIVATE Boost::container)
+target_link_libraries(OptionExample PRIVATE Boost)
diff --git a/example/option_example/example.cc b/example/option_example/example.cpp
index b2c3f95..b2c3f95 100644
--- a/example/option_example/example.cc
+++ b/example/option_example/example.cpp
diff --git a/example/simple_allocator_op/CMakeLists.txt b/example/simple_allocator_op/CMakeLists.txt
index fbda92b..c7b3d6d 100644
--- a/example/simple_allocator_op/CMakeLists.txt
+++ b/example/simple_allocator_op/CMakeLists.txt
@@ -6,10 +6,10 @@ project(
VERSION 1.0
LANGUAGES CXX)
-find_package(Boost REQUIRED COMPONENTS container)
+find_package(Boost REQUIRED)
-add_executable(AllocatorExample example.cc)
+add_executable(AllocatorExample example.cpp)
set_property(TARGET AllocatorExample PROPERTY CXX_STANDARD 20)
target_include_directories(AllocatorExample PUBLIC ../../include/)
-target_link_libraries(AllocatorExample PRIVATE Boost::container)
+target_link_libraries(AllocatorExample PRIVATE Boost)
diff --git a/example/simple_allocator_op/example.cc b/example/simple_allocator_op/example.cpp
index f09f60f..f09f60f 100644
--- a/example/simple_allocator_op/example.cc
+++ b/example/simple_allocator_op/example.cpp
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