explicit aspect activation
ag++ is now called with a list of currently active aspect headers
(ag++ -a aspect1.ah -a aspect2.ah ...). This resolves several problems at
once:
- Build directories may be positioned arbitrarily now, they need not be
a subdirectory of the project anymore.
- Multiple build directories can coexist within the project tree. Before
this commit, the generated instantiate-*.ah aspect headers disturbed
neighboring build trees.
- Due to this, the regression test should be runnable much more easily
now.
- The build time was reduced by an average of about 10%.
git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@1753 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
This commit is contained in:
@ -1,10 +1,6 @@
|
||||
#ifndef __BREAKPOINT_CONTROLLER_SLICE_AH__
|
||||
#define __BREAKPOINT_CONTROLLER_SLICE_AH__
|
||||
|
||||
#include "config/FailConfig.hpp"
|
||||
|
||||
#ifdef CONFIG_FAST_BREAKPOINTS
|
||||
|
||||
#include <iostream>
|
||||
#include "../Listener.hpp"
|
||||
|
||||
@ -52,6 +48,4 @@ public:
|
||||
{ addListener(rli); return resume(); }
|
||||
};
|
||||
|
||||
#endif // CONFIG_FAST_BREAKPOINTS
|
||||
|
||||
#endif // __BREAKPOINT_CONTROLLER_SLICE_AH__
|
||||
|
||||
@ -1,10 +1,6 @@
|
||||
#ifndef __BREAKPOINT_MANAGER_SLICE_AH__
|
||||
#define __BREAKPOINT_MANAGER_SLICE_AH__
|
||||
|
||||
#include "config/FailConfig.hpp"
|
||||
|
||||
#ifdef CONFIG_FAST_BREAKPOINTS
|
||||
|
||||
#include "BreakpointBuffer.hpp"
|
||||
|
||||
/**
|
||||
@ -51,6 +47,4 @@ public:
|
||||
}
|
||||
};
|
||||
|
||||
#endif // CONFIG_FAST_BREAKPOINTS
|
||||
|
||||
#endif // __BREAKPOINT_MANAGER_SLICE_AH__
|
||||
|
||||
@ -3,8 +3,6 @@
|
||||
|
||||
#include "config/FailConfig.hpp"
|
||||
|
||||
#ifdef CONFIG_FAST_BREAKPOINTS
|
||||
|
||||
#ifndef CONFIG_EVENT_BREAKPOINTS
|
||||
#error Breakpoint events are required for fast breakpoints!
|
||||
#endif
|
||||
@ -80,6 +78,4 @@ aspect FastBreakpoints {
|
||||
}
|
||||
};
|
||||
|
||||
#endif // CONFIG_FAST_BREAKPOINTS // see above
|
||||
|
||||
#endif // __FAST_BREAKPOINTS_AH__
|
||||
|
||||
Reference in New Issue
Block a user