Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
add a public header giving access to all of our APIs in one include only
authorMartin Quinson <martin.quinson@loria.fr>
Tue, 14 Jan 2014 16:54:38 +0000 (17:54 +0100)
committerMartin Quinson <martin.quinson@loria.fr>
Tue, 14 Jan 2014 16:55:16 +0000 (17:55 +0100)
buildtools/Cmake/DefinePackages.cmake
include/simgrid.h [new file with mode: 0644]

index d5f6c7f..ca554d3 100644 (file)
@@ -540,6 +540,7 @@ set(MC_SRC
   )
 
 set(headers_to_install
+  include/simgrid.h
   include/instr/instr.h
   include/msg/datatypes.h
   include/msg/msg.h
diff --git a/include/simgrid.h b/include/simgrid.h
new file mode 100644 (file)
index 0000000..957f2c7
--- /dev/null
@@ -0,0 +1,24 @@
+/* simgrid.h - Public interface all SimGrid APIs                            */
+
+/* Copyright (c) 2014. The SimGrid Team. All rights reserved.               */
+
+/* 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. */
+
+#ifndef SIMGRID_H
+#define SIMGRID_H
+
+#include <xbt.h>
+
+#include <simgrid/datatypes.h>
+#include <simgrid/modelchecker.h>
+#include <simgrid/platf_generator.h>
+#include <simgrid/platf.h>
+#include <simgrid/simix.h>
+
+
+// SG_BEGIN_DECL()
+// nothing
+// SG_END_DECL()
+
+#endif                          /* SG_PLATF_H */