Mercurial > solar_system
comparison CMakeLists.txt @ 3:4f8b47ac2715
Aborted test of loading an MD2 model. The GLTools TriangleBatch class doesn't play nicely with MD2, as it erroneously marks vertices as duplicates of each other.
author | Eris Caffee <discordia@eldalin.com> |
---|---|
date | Sun, 28 Apr 2013 18:04:27 -0500 |
parents | c24af3462002 |
children |
comparison
equal
deleted
inserted
replaced
2:d50a1986ce7c | 3:d368a8c9be75 |
---|---|
115 # Some other options to consider: | 115 # Some other options to consider: |
116 # C++ -Weffc++ -std=c++0x | 116 # C++ -Weffc++ -std=c++0x |
117 # C -std=gnu99 -std=c99 | 117 # C -std=gnu99 -std=c99 |
118 | 118 |
119 if (CMAKE_COMPILER_IS_GNUCXX) | 119 if (CMAKE_COMPILER_IS_GNUCXX) |
120 add_definitions(-pedantic -Wall -std=c++0x) | 120 add_definitions( -Wall -std=c++0x) |
121 endif () | 121 endif () |
122 | 122 |
123 | 123 |
124 ################################################################################ | 124 ################################################################################ |
125 | 125 |
133 ################################################################################ | 133 ################################################################################ |
134 # The core project files | 134 # The core project files |
135 | 135 |
136 file (GLOB SRCS src/*.c src/*.cpp | 136 file (GLOB SRCS src/*.c src/*.cpp |
137 /home/eris/gamedev/study/OpenGL_Superbible/work/Src/GLTools/src/* | 137 /home/eris/gamedev/study/OpenGL_Superbible/work/Src/GLTools/src/* |
138 /home/eris/gamedev/projects/MD2/src/* | |
138 ) | 139 ) |
139 file (GLOB HDRS include/*.h include/*.hpp | 140 file (GLOB HDRS include/*.h include/*.hpp |
140 /home/eris/gamedev/study/OpenGL_Superbible/work/Src/GLTools/include/* | 141 /home/eris/gamedev/study/OpenGL_Superbible/work/Src/GLTools/include/* |
141 /home/eris/gamedev/study/OpenGL_Superbible/work/Src/GLTools/include/GL/* | 142 /home/eris/gamedev/study/OpenGL_Superbible/work/Src/GLTools/include/GL/* |
142 | 143 /home/eris/gamedev/projects/MD2/include/* |
143 ) | 144 ) |
144 | 145 |
145 # The directories that contain the libraries we will be linking against. | 146 # The directories that contain the libraries we will be linking against. |
146 # This must come before the ADD_EXECUTABLE directive. | 147 # This must come before the ADD_EXECUTABLE directive. |
147 link_directories ( | 148 link_directories ( |
151 # This must come before the ADD_EXECUTABLE directive. | 152 # This must come before the ADD_EXECUTABLE directive. |
152 include_directories ( | 153 include_directories ( |
153 ${CMAKE_SOURCE_DIR}/include | 154 ${CMAKE_SOURCE_DIR}/include |
154 /home/eris/gamedev/study/OpenGL_Superbible/work/Src/GLTools/include/ | 155 /home/eris/gamedev/study/OpenGL_Superbible/work/Src/GLTools/include/ |
155 /home/eris/gamedev/study/OpenGL_Superbible/work/Src/GLTools/include/GL | 156 /home/eris/gamedev/study/OpenGL_Superbible/work/Src/GLTools/include/GL |
157 /home/eris/gamedev/projects/MD2/include | |
156 ) | 158 ) |
157 | 159 |
158 # Define the executable program file we are creating. We must list all of | 160 # Define the executable program file we are creating. We must list all of |
159 # the source files. | 161 # the source files. |
160 if (WIN32) | 162 if (WIN32) |