Get rid of Boost.Signals dependency
authorDmitriy Morozov <dmitriy@mrzv.org>
Sat, 23 Nov 2019 21:29:50 -0800
changeset 294 5810d70ec967
parent 293 bc7bd0ac9af6
child 295 0beafc10719a
Get rid of Boost.Signals dependency
CMakeLists.txt
examples/ar-vineyard/CMakeLists.txt
examples/ar-vineyard/ar-vineyard.h
--- a/CMakeLists.txt	Mon Nov 27 10:26:59 2017 -0800
+++ b/CMakeLists.txt	Sat Nov 23 21:29:50 2019 -0800
@@ -10,7 +10,7 @@
 option                      (use_synaps         "Build examples that use SYNAPS"        OFF)
 
 # Find everything that's always required
-find_package                (Boost REQUIRED COMPONENTS program_options python serialization signals)
+find_package                (Boost REQUIRED COMPONENTS program_options python serialization)
 find_package                (Doxygen)
 if                          (use_dsrpdb)
     find_library            (dsrpdb_LIBRARY             NAMES dsrpdb)
--- a/examples/ar-vineyard/CMakeLists.txt	Mon Nov 27 10:26:59 2017 -0800
+++ b/examples/ar-vineyard/CMakeLists.txt	Sat Nov 23 21:29:50 2019 -0800
@@ -5,6 +5,5 @@
 foreach 					(t ${targets})
 	add_executable			(${t} ${t}.cpp ${external_sources})
 	target_link_libraries	(${t}   ${libraries} ${cgal_library} ${CGAL_3RD_PARTY_LIBRARIES} 
-                                    ${Boost_SIGNALS_LIBRARY} 
                                     ${Boost_PROGRAM_OPTIONS_LIBRARY})
 endforeach 					(t)
--- a/examples/ar-vineyard/ar-vineyard.h	Mon Nov 27 10:26:59 2017 -0800
+++ b/examples/ar-vineyard/ar-vineyard.h	Sat Nov 23 21:29:50 2019 -0800
@@ -6,7 +6,7 @@
 #ifndef __AR_VINEYARD_H__
 #define __AR_VINEYARD_H__
 
-#include <boost/signals.hpp>
+#include <boost/signals2.hpp>
 #include <boost/bind.hpp>
 #include <list>
 #include <vector>
@@ -46,7 +46,7 @@
                                                 ThresholdTrajectoryExtractor, Simulator>		ThresholdSort;
 		/// @}
 
-        typedef                     boost::signal<void (Simulator*)>                            NewMaxSignal;
+        typedef                     boost::signals2::signal<void (Simulator*)>                  NewMaxSignal;
     
     public:
 									ARConeSimplex3D(const ARSimplex3D& s, bool coned = false);