Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: sandbox_light/src/external/ogremath/CMakeLists.txt @ 7360

Last change on this file since 7360 was 6040, checked in by rgrieder, 15 years ago

Also synchronised sandbox_light with current trunk.

  • Property svn:eol-style set to native
File size: 1.5 KB
Line 
1 #
2 #             ORXONOX - the hottest 3D action shooter ever to exist
3 #                             > www.orxonox.net <
4 #
5 #        This program is free software; you can redistribute it and/or
6 #         modify it under the terms of the GNU General Public License
7 #        as published by the Free Software Foundation; either version 2
8 #            of the License, or (at your option) any later version.
9 #
10 #       This program is distributed in the hope that it will be useful,
11 #        but WITHOUT ANY WARRANTY; without even the implied warranty of
12 #        MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13 #                 GNU General Public License for more details.
14 #
15 #   You should have received a copy of the GNU General Public License along
16 #      with this program; if not, write to the Free Software Foundation,
17 #     Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
18 #
19
20SET_SOURCE_FILES(OGREMATH_SRC_FILES
21COMPILATION_BEGIN OgreCompilation.cc
22  OgreColourValue.cpp
23  OgreMath.cpp
24  OgreMatrix3.cpp
25  OgreMatrix4.cpp
26  OgreQuaternion.cpp
27  OgreVector2.cpp
28  OgreVector3.cpp
29  OgreVector4.cpp
30COMPILATION_END
31)
32
33IF(WIN32)
34  ADD_SOURCE_FILES(OGREMATH_SRC_FILES WIN32/OgreTimer.cpp)
35ELSEIF(APPLE)
36  ADD_SOURCE_FILES(OGREMATH_SRC_FILES OSX/OgreTimer.cpp)
37ELSEIF(UNIX)
38  ADD_SOURCE_FILES(OGREMATH_SRC_FILES GLX/OgreTimer.cpp)
39ENDIF()
40
41ORXONOX_ADD_LIBRARY(ogremath_orxonox
42  ORXONOX_EXTERNAL
43  FIND_HEADER_FILES
44  DEFINE_SYMBOL
45    "OGRE_NONCLIENT_BUILD"
46  SOURCE_FILES
47    ${OGREMATH_SRC_FILES}
48)
Note: See TracBrowser for help on using the repository browser.