initial, prototype modifications to permit compilation of local libraries as static libs. required a "fix" to libs/pbd/debug.cc to even get the program up and running, and still does not work due to issues with boost::shared_ptr::enable_shared_from_this. controlled by configure-time --internal-{static,shared}-libs, set to shared by default (as has been the case for years)

This commit is contained in:
Paul Davis 2013-03-20 17:18:55 -04:00
parent 4caecfa310
commit 16ce39c230
6 changed files with 104 additions and 76 deletions

View file

@ -30,7 +30,12 @@
using namespace std;
static uint64_t _debug_bit = 1;
static std::map<const char*,uint64_t> _debug_bit_map;
typedef std::map<const char*,uint64_t> DebugMap;
namespace PBD {
DebugMap _debug_bit_map;
}
uint64_t PBD::DEBUG::Stateful = PBD::new_debug_bit ("stateful");
uint64_t PBD::DEBUG::Properties = PBD::new_debug_bit ("properties");