[Orxonox-commit 1842] r6559 - in code/branches/skybox2/src/modules: . designtools

scheusso at orxonox.net scheusso at orxonox.net
Thu Mar 18 14:18:46 CET 2010


Author: scheusso
Date: 2010-03-18 14:18:45 +0100 (Thu, 18 Mar 2010)
New Revision: 6559

Added:
   code/branches/skybox2/src/modules/designtools/
   code/branches/skybox2/src/modules/designtools/CMakeLists.txt
   code/branches/skybox2/src/modules/designtools/DesignToolsPrereqs.h
Modified:
   code/branches/skybox2/src/modules/CMakeLists.txt
Log:
created new module designtools to put skyboxgenerator and also levelgenerator or other design tools inside


Modified: code/branches/skybox2/src/modules/CMakeLists.txt
===================================================================
--- code/branches/skybox2/src/modules/CMakeLists.txt	2010-03-18 13:10:01 UTC (rev 6558)
+++ code/branches/skybox2/src/modules/CMakeLists.txt	2010-03-18 13:18:45 UTC (rev 6559)
@@ -32,3 +32,4 @@
 ADD_SUBDIRECTORY(pong)
 ADD_SUBDIRECTORY(questsystem)
 ADD_SUBDIRECTORY(weapons)
+ADD_SUBDIRECTORY(designtools)

Added: code/branches/skybox2/src/modules/designtools/CMakeLists.txt
===================================================================
--- code/branches/skybox2/src/modules/designtools/CMakeLists.txt	                        (rev 0)
+++ code/branches/skybox2/src/modules/designtools/CMakeLists.txt	2010-03-18 13:18:45 UTC (rev 6559)
@@ -0,0 +1,13 @@
+SET_SOURCE_FILES(DESIGNTOOLS_SRC_FILES
+#src files
+)
+
+ORXONOX_ADD_LIBRARY(designtools
+  MODULE
+  FIND_HEADER_FILES
+  DEFINE_SYMBOL
+    "DESIGNTOOLS_SHARED_BUILD"
+  LINK_LIBRARIES
+    orxonox
+  SOURCE_FILES ${DESIGNTOOLS_SRC_FILES}
+)

Added: code/branches/skybox2/src/modules/designtools/DesignToolsPrereqs.h
===================================================================
--- code/branches/skybox2/src/modules/designtools/DesignToolsPrereqs.h	                        (rev 0)
+++ code/branches/skybox2/src/modules/designtools/DesignToolsPrereqs.h	2010-03-18 13:18:45 UTC (rev 6559)
@@ -0,0 +1,69 @@
+/*
+ *   ORXONOX - the hottest 3D action shooter ever to exist
+ *                    > www.orxonox.net <
+ *
+ *
+ *   License notice:
+ *
+ *   This program is free software; you can redistribute it and/or
+ *   modify it under the terms of the GNU General Public License
+ *   as published by the Free Software Foundation; either version 2
+ *   of the License, or (at your option) any later version.
+ *
+ *   This program is distributed in the hope that it will be useful,
+ *   but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ *   GNU General Public License for more details.
+ *
+ *   You should have received a copy of the GNU General Public License
+ *   along with this program; if not, write to the Free Software
+ *   Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
+ *
+ *   Author:
+ *      Oliver Scheuss
+ *   Co-authors:
+ *      ...
+ *
+ */
+
+/**
+ at file
+ at brief
+    Shared library macros, enums, constants and forward declarations for the pong module
+*/
+
+#ifndef _DesignToolsPrereqs_H__
+#define _DesignToolsPrereqs_H__
+
+#include "OrxonoxConfig.h"
+#include "OrxonoxPrereqs.h"
+
+//-----------------------------------------------------------------------
+// Shared library settings
+//-----------------------------------------------------------------------
+
+#if defined(ORXONOX_PLATFORM_WINDOWS) && !defined(ORXONOX_STATIC_BUILD)
+#  ifdef DESIGNTOOLS_SHARED_BUILD
+#    define _DesignToolsExport __declspec(dllexport)
+#  else
+#    if defined( __MINGW32__ )
+#      define _DesignToolsExport
+#    else
+#      define _DesignToolsExport __declspec(dllimport)
+#    endif
+#  endif
+#elif defined ( ORXONOX_GCC_VISIBILITY )
+#  define _DesignToolsExport  __attribute__ ((visibility("default")))
+#else
+#  define _DesignToolsExport
+#endif
+
+//-----------------------------------------------------------------------
+// Forward declarations
+//-----------------------------------------------------------------------
+
+namespace orxonox
+{
+}
+
+#endif /* _DesignToolsPrereqs_H__ */




More information about the Orxonox-commit mailing list