From 8db7762374c46d90683f2245df690a1c04f69515 Mon Sep 17 00:00:00 2001 From: James Reinders Date: Sun, 17 Nov 2024 13:33:31 -0800 Subject: [PATCH] exception handling code in right place and in CMake now --- new_examples/exception/CMakeLists.txt | 3 ++- new_examples/{synchronization => exception}/cpp_exceptions.cpp | 0 2 files changed, 2 insertions(+), 1 deletion(-) rename new_examples/{synchronization => exception}/cpp_exceptions.cpp (100%) diff --git a/new_examples/exception/CMakeLists.txt b/new_examples/exception/CMakeLists.txt index 08105e42c9..5ff6d2ba85 100644 --- a/new_examples/exception/CMakeLists.txt +++ b/new_examples/exception/CMakeLists.txt @@ -1,7 +1,8 @@ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -tbb") set(CMAKE_CXX_LINKER_FLAGS "-tbb") -foreach(tpp exception_catch1.cpp +foreach(tpp cpp_exceptions.cpp + exception_catch1.cpp exception_catch2.cpp exception_catch3.cpp) string(REPLACE ".cpp" "" texe ${tpp}) diff --git a/new_examples/synchronization/cpp_exceptions.cpp b/new_examples/exception/cpp_exceptions.cpp similarity index 100% rename from new_examples/synchronization/cpp_exceptions.cpp rename to new_examples/exception/cpp_exceptions.cpp