From 96cf494de2698bb505861ada5a267ef2ad03f054 Mon Sep 17 00:00:00 2001 From: Martin Quinson Date: Tue, 14 Jan 2014 17:54:38 +0100 Subject: [PATCH] add a public header giving access to all of our APIs in one include only --- buildtools/Cmake/DefinePackages.cmake | 1 + include/simgrid.h | 24 ++++++++++++++++++++++++ 2 files changed, 25 insertions(+) create mode 100644 include/simgrid.h diff --git a/buildtools/Cmake/DefinePackages.cmake b/buildtools/Cmake/DefinePackages.cmake index d5f6c7feb8..ca554d3314 100644 --- a/buildtools/Cmake/DefinePackages.cmake +++ b/buildtools/Cmake/DefinePackages.cmake @@ -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 index 0000000000..957f2c7273 --- /dev/null +++ b/include/simgrid.h @@ -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 + +#include +#include +#include +#include +#include + + +// SG_BEGIN_DECL() +// nothing +// SG_END_DECL() + +#endif /* SG_PLATF_H */ -- 2.20.1