decouple ecos experiment class definition from instantiation aspect
See 65eb44a746 for an explanation.
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
set(EXPERIMENT_NAME ecos_kernel_test)
|
||||
set(EXPERIMENT_TYPE EcosKernelTestExperiment)
|
||||
configure_file(../instantiate-experiment.ah.in
|
||||
configure_file(../instantiate-experiment-indirect.ah.in
|
||||
${CMAKE_CURRENT_BINARY_DIR}/instantiate-${EXPERIMENT_NAME}.ah @ONLY
|
||||
)
|
||||
|
||||
@ -10,6 +10,7 @@ set(MY_PROTOS
|
||||
)
|
||||
|
||||
set(MY_CAMPAIGN_SRCS
|
||||
instantiateExperiment.cc
|
||||
experiment.hpp
|
||||
experiment.cc
|
||||
campaign.hpp
|
||||
|
||||
@ -0,0 +1,8 @@
|
||||
#include "experiment.hpp"
|
||||
#include "sal/SALInst.hpp"
|
||||
|
||||
static EcosKernelTestExperiment experiment;
|
||||
void instantiateEcosKernelTestExperiment()
|
||||
{
|
||||
fail::simulator.addFlow(&experiment);
|
||||
}
|
||||
Reference in New Issue
Block a user