############################################################################## # (c) Copyright Andreas Huber Doenni 2004-2006 # Distributed under the Boost Software License, Version 1.0. (See accompany- # ing file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) ############################################################################## subproject libs/statechart/example ; # Some platforms have either problems with the automatic detection of the # threading mode (e.g. vc-7_1 & gcc >= 3.4.0) or don't support single- # threaded mode (e.g. vc-8_0). We therefore manually turn MT off here local st-requirements = single BOOST_DISABLE_THREADS ; local custom = CUSTOMIZE_MEMORY_MANAGEMENT ; local native = BOOST_STATECHART_USE_NATIVE_RTTI ; template statechart-common-options : : $(BOOST_ROOT) ; rule statechart-st-example-build ( name : directory : cpp-sources + : requirements * ) { exe $(name) : $(directory)/$(cpp-sources).cpp