Skip to content

Commit

Permalink
Manager class
Browse files Browse the repository at this point in the history
  • Loading branch information
timschwartz committed Feb 2, 2019
1 parent b9f4bef commit 49b6532
Show file tree
Hide file tree
Showing 17 changed files with 3,544 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ Makefile.in
/install-sh
/missing
/stamp-h1
/config.log
/config.status

# https://www.gnu.org/software/libtool/

Expand All @@ -40,3 +42,13 @@ m4/ltsugar.m4
m4/ltversion.m4
m4/lt~obsolete.m4
autom4te.cache

/ecs-cpp.pc
/Doxyfile
Makefile
.libs
.deps
*.o
*.la
*.lo
libtool
Empty file added AUTHORS
Empty file.
674 changes: 674 additions & 0 deletions COPYING

Large diffs are not rendered by default.

Empty file added ChangeLog
Empty file.
2,352 changes: 2,352 additions & 0 deletions Doxyfile.in

Large diffs are not rendered by default.

370 changes: 370 additions & 0 deletions INSTALL

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions Makefile.am
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
pkgconfig_DATA = ecs-cpp.pc
ACLOCAL_AMFLAGS = -I m4
SUBDIRS = src
Empty file added NEWS
Empty file.
1 change: 1 addition & 0 deletions README
7 changes: 7 additions & 0 deletions bootstrap
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/bin/sh

libtoolize \
&& aclocal \
&& autoheader \
&& automake --add-missing -c \
&& autoconf
63 changes: 63 additions & 0 deletions config.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
/* config.h. Generated from config.h.in by configure. */
/* config.h.in. Generated from configure.ac by autoheader. */

/* Define to 1 if you have the <dlfcn.h> header file. */
#define HAVE_DLFCN_H 1

/* Define to 1 if you have the <inttypes.h> header file. */
#define HAVE_INTTYPES_H 1

/* Define to 1 if you have the <memory.h> header file. */
#define HAVE_MEMORY_H 1

/* Define to 1 if you have the <stdint.h> header file. */
#define HAVE_STDINT_H 1

/* Define to 1 if you have the <stdlib.h> header file. */
#define HAVE_STDLIB_H 1

/* Define to 1 if you have the <strings.h> header file. */
#define HAVE_STRINGS_H 1

/* Define to 1 if you have the <string.h> header file. */
#define HAVE_STRING_H 1

/* Define to 1 if you have the <sys/stat.h> header file. */
#define HAVE_SYS_STAT_H 1

/* Define to 1 if you have the <sys/types.h> header file. */
#define HAVE_SYS_TYPES_H 1

/* Define to 1 if you have the <unistd.h> header file. */
#define HAVE_UNISTD_H 1

/* Define to the sub-directory in which libtool stores uninstalled libraries.
*/
#define LT_OBJDIR ".libs/"

/* Name of package */
#define PACKAGE "libecs-cpp"

/* Define to the address where bug reports for this package should be sent. */
#define PACKAGE_BUGREPORT "[email protected]"

/* Define to the full name of this package. */
#define PACKAGE_NAME "libecs-cpp"

/* Define to the full name and version of this package. */
#define PACKAGE_STRING "libecs-cpp 0.0.1"

/* Define to the one symbol short name of this package. */
#define PACKAGE_TARNAME "libecs-cpp"

/* Define to the home page for this package. */
#define PACKAGE_URL ""

/* Define to the version of this package. */
#define PACKAGE_VERSION "0.0.1"

/* Define to 1 if you have the ANSI C header files. */
#define STDC_HEADERS 1

/* Version number of package */
#define VERSION "0.0.1"
20 changes: 20 additions & 0 deletions configure.ac
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
AC_PREREQ([2.69])
AC_INIT([libecs-cpp], [0.0.1], [[email protected]])
LT_INIT
AC_CONFIG_SRCDIR([src/Manager.cpp])
AC_CONFIG_HEADERS([config.h])

PKG_PROG_PKG_CONFIG
PKG_INSTALLDIR

AC_CONFIG_MACRO_DIR([m4])

AC_PROG_CXX
AM_INIT_AUTOMAKE([subdir-objects])

PKG_CHECK_MODULES([UUID], uuid)

AC_CONFIG_FILES([Doxyfile])
AC_CONFIG_FILES([ecs-cpp.pc])
AC_OUTPUT(Makefile src/Makefile)

11 changes: 11 additions & 0 deletions ecs-cpp.pc.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
prefix=@prefix@
exec_prefix=@exec_prefix@
libdir=@libdir@
includedir=@includedir@

Name: @PACKAGE_NAME@
Description: Entity Component System library in C++
Version: @PACKAGE_VERSION@
Libs: -L${libdir} -lecs-cpp
Cflags: -I${includedir}
Requires: uuid
10 changes: 10 additions & 0 deletions include/libecs-cpp/Manager.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#pragma once

namespace ecs
{
class Manager
{
public:
Manager();
};
}
3 changes: 3 additions & 0 deletions include/libecs-cpp/ecs.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#pragma once

#include <libecs-cpp/Manager.hpp>
10 changes: 10 additions & 0 deletions src/Makefile.am
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
ACLOCAL_AMFLAGS = -I m4
lib_LTLIBRARIES = libecs-cpp.la
pkginclude_HEADERS = \
../include/libecs-cpp/ecs.hpp \
../include/libecs-cpp/Manager.hpp

libecs_cpp_la_CXXFLAGS = -std=c++17 -I../include $(UUID_CFLAGS)
libecs_cpp_la_LIBADD = -lpthread $(UUID_LIBS)
libecs_cpp_la_SOURCES = Manager.cpp
libecs_cpp_la_LDFLAGS = -no-undefined
8 changes: 8 additions & 0 deletions src/Manager.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#include <libecs-cpp/ecs.hpp>

namespace ecs
{
Manager::Manager()
{
}
}

0 comments on commit 49b6532

Please sign in to comment.