#include <stdlib.h>
#include "simgrid/msg.h" /* Yeah! If you want to use msg, you need to include simgrid/msg.h */
#include "simgrid/simix.h" /* semaphores for the barrier */
-#include "xbt.h" /* calloc, printf */
#include <xbt/replay.h>
/** @addtogroup MSG_examples
/* This program is free software; you can redistribute it and/or modify it
* under the terms of the license (GNU LGPL) which comes with this package. */
+#include "xbt/log.h"
#include "simgrid/msg.h"
-#include "xbt.h"
XBT_LOG_NEW_DEFAULT_CATEGORY(msg_test_exception,
"Messages specific for this msg example");
#ifndef SG_PLATF_TYPES_H
#define SG_PLATF_TYPES_H
-#include <xbt.h>
-
#ifdef __cplusplus
namespace simgrid {
typedef surf_Resource *sg_resource_t;
// Types which are in fact dictelmt:
-typedef xbt_dictelm_t sg_storage_t;
+typedef struct s_xbt_dictelm *sg_storage_t;
typedef struct tmgr_trace *tmgr_trace_t; /**< Opaque structure defining an availability trace */
#include "simgrid_config.h"
#include "xbt/dynar.h"
-#include "xbt/hash.h"
+#include "xbt/dict.h"
#ifdef HAVE_JEDULE
#ifndef XBT_HASH_H
#define XBT_HASH_H
-#include "xbt/str.h"
+
+#include "xbt/misc.h"
SG_BEGIN_DECL()
/* This program is free software; you can redistribute it and/or modify it
* under the terms of the license (GNU LGPL) which comes with this package. */
-#include <stdlib.h>
-#include <string.h>
+#include "simgrid/jedule/jedule_platform.h"
+
#include "xbt/asserts.h"
#include "xbt/dynar.h"
+#include "xbt/str.h"
-#include "simgrid/jedule/jedule_platform.h"
+#include <stdlib.h>
+#include <string.h>
#ifdef HAVE_JEDULE
/* This program is free software; you can redistribute it and/or modify it
* under the terms of the license (GNU LGPL) which comes with this package. */
-#include <xbt.h>
#include "src/mc/mc_liveness.h"
#include "src/mc/mc_private.h"
#include <cstdio>
#include <cstdlib>
-#include <xbt.h>
-#include <simgrid/simix.h>
+#include "simgrid/simix.h"
#include "src/mc/mc_replay.h"
#include "src/mc/mc_record.h"
#include "xbt/sysdep.h"
#include "xbt/hash.h"
+#include <stdio.h> /* sprintf */
struct s_xbt_sha_ {
unsigned int hash[5];
#include <string.h>
#include <assert.h>
-#include <xbt.h>
#include <mc/mc.h>
#include "mc/datatypes.h"
add_executable (graphicator graphicator.c)
target_link_libraries(graphicator simgrid)
+set_target_properties(graphicator PROPERTIES RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin)
## Clean generated files
get_directory_property(extra_clean_files ADDITIONAL_MAKE_CLEAN_FILES)