Removing gui and sdl stuff from the build, to be removed altogether later on.
[fail.git] / src / scenegraph / CMakeLists.txt
blob2126135c72366663a17803a7dc0bf9c8423bbccf
2 #   Fail game engine
3 #   Copyright 2007 Antoine Chavasse <a.chavasse@gmail.com>
4
5 #   This file is part of Fail.
7 #   Fail is free software; you can redistribute it and/or modify
8 #   it under the terms of the GNU General Public License version 3
9 #   as published by the Free Software Foundation.
11 #   Fail is distributed in the hope that it will be useful,
12 #   but WITHOUT ANY WARRANTY; without even the implied warranty of
13 #   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14 #   GNU General Public License for more details.
16 #   You should have received a copy of the GNU General Public License
17 #   along with this program.  If not, see <http://www.gnu.org/licenses/>.
19 include_directories( ${PROJECT_BINARY_DIR}/math )
20 include_directories( ${PROJECT_SOURCE_DIR}/math )
22 find_package( OpenGL REQUIRED )
23 #find_package( FTGL REQUIRED )
24 #find_package( FreeType2 REQUIRED )
25 #include_directories( ${FREETYPE2_INCLUDE_DIR} )
27 FAILIT( scenegraph.fidl fail::scenegraph animation.fih geometry.fih material.fih )
29 failBuildLibrary( scenegraph
30         Camera.cpp
31         RenderPass.cpp
32         Frame.cpp
33         VertexBuffer.cpp
34         IndexBuffer.cpp
35         IndexBuffer16.cpp
36         Geometry.cpp
37         Material.cpp
38         Drawable.cpp
39         Group.cpp
40         PerspectiveProjection.cpp
41         PixelProjection.cpp
42         ViewPort.cpp
43         Scissor.cpp
44         ChildRenderPass.cpp
45 #       Font.cpp
46 #       Text.cpp
47         module_fail-scenegraph.h
50 target_link_libraries( fail-scenegraph
51         fail-core
52         fail-math
55 subdirs( shapes )