Changeset 1647
- Timestamp:
- Jul 18, 2012, 10:27:34 PM (10 years ago)
- Location:
- trunk
- Files:
-
- 18 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/configure.ac
r1643 r1647 124 124 125 125 126 dnl Are we building using MinGW? 127 LIBS_save="$LIBS" 128 LIBS="$LIBS -mwindows" 129 AC_MSG_CHECKING(for -mwindows) 130 AC_TRY_LINK([], [], 131 [AC_MSG_RESULT(yes) 132 LOL_LIBS="${LOL_LIBS} -mwindows"], 133 [AC_MSG_RESULT(no)]) 134 LIBS="$LIBS_save" 135 136 126 137 dnl Are we on the Xbox 360? 127 138 dnl Answer: NO! we don't know how to build for it anyway … … 143 154 AC_MSG_CHECKING(for -framework OpenGL) 144 155 AC_TRY_LINK([], [], 145 [ac_cv_my_have_cocoa="yes" 146 AC_MSG_RESULT(yes) 156 [AC_MSG_RESULT(yes) 147 157 GL_LIBS="${GL_LIBS} -framework OpenGL" 148 158 CXXFLAGS="${CXXFLAGS} -ObjC++"], -
trunk/games/ToukyDemo/ToukyDemo.cpp
r1645 r1647 28 28 #else 29 29 # include <cmath> 30 #endif31 32 #if USE_SDL33 # include <SDL_main.h>34 30 #endif 35 31 -
trunk/src/core.h
r1535 r1647 62 62 #endif 63 63 64 /* If using NaCl, override main with our version */64 /* If using NaCl, override main() with our version */ 65 65 #if defined __native_client__ 66 66 # define main lol_nacl_main 67 #endif 68 69 /* If using SDL and Visual Studio, let it override main() */ 70 #if defined _MSVC && defined USE_SDL 71 # include <SDL_main.h> 67 72 #endif 68 73 -
trunk/test/BtPhysTest.cpp
r1645 r1647 29 29 #endif 30 30 31 #if USE_SDL32 # include <SDL_main.h>33 #endif34 35 31 #include "core.h" 36 32 #include "loldebug.h" -
trunk/test/benchsuite.cpp
r1645 r1647 14 14 15 15 #include <cstdio> 16 17 #if USE_SDL18 # include <SDL_main.h>19 #endif20 16 21 17 #include "core.h" -
trunk/test/debug/quad.cpp
r1645 r1647 20 20 using namespace lol; 21 21 22 #if USE_SDL23 # include <SDL_main.h>24 #endif25 26 22 int main(int argc, char **argv) 27 23 { -
trunk/test/math/pi.cpp
r1645 r1647 14 14 15 15 #include <cstdio> 16 17 #if USE_SDL18 # include <SDL_main.h>19 #endif20 16 21 17 #include "core.h" -
trunk/test/math/poly.cpp
r1645 r1647 14 14 15 15 #include <cstdio> 16 17 #if USE_SDL18 # include <SDL_main.h>19 #endif20 16 21 17 #include "core.h" -
trunk/test/math/remez.cpp
r1645 r1647 11 11 #if defined HAVE_CONFIG_H 12 12 # include "config.h" 13 #endif14 15 #if USE_SDL16 # include <SDL_main.h>17 13 #endif 18 14 -
trunk/test/sandbox/sample.cpp
r1645 r1647 11 11 #if defined HAVE_CONFIG_H 12 12 # include "config.h" 13 #endif14 15 #if USE_SDL16 # include <SDL_main.h>17 13 #endif 18 14 -
trunk/test/testsuite.cpp
r1645 r1647 16 16 #include <cstdlib> 17 17 18 #if USE_SDL19 # include <SDL_main.h>20 #endif21 22 18 #include <lol/unit.h> 23 19 -
trunk/test/xolotl/xolotl.cpp
r1645 r1647 19 19 20 20 using namespace lol; 21 22 #if USE_SDL23 # include <SDL_main.h>24 #endif25 21 26 22 #include "xolotl.h" -
trunk/tools/neercs/neercs.cpp
r1645 r1647 26 26 #else 27 27 # include <cmath> 28 #endif29 30 #if USE_SDL31 # include <SDL_main.h>32 28 #endif 33 29 -
trunk/tutorial/01_triangle.cpp
r1645 r1647 18 18 using namespace std; 19 19 using namespace lol; 20 21 #if USE_SDL22 # include <SDL_main.h>23 #endif24 20 25 21 #if defined _WIN32 -
trunk/tutorial/02_cube.cpp
r1645 r1647 18 18 using namespace std; 19 19 using namespace lol; 20 21 #if USE_SDL22 # include <SDL_main.h>23 #endif24 20 25 21 #if defined _WIN32 -
trunk/tutorial/05_easymesh.cpp
r1645 r1647 17 17 using namespace std; 18 18 using namespace lol; 19 20 #if USE_SDL21 # include <SDL_main.h>22 #endif23 19 24 20 class EasyMeshTutorial : public WorldEntity -
trunk/tutorial/08_fbo.cpp
r1645 r1647 18 18 using namespace std; 19 19 using namespace lol; 20 21 #if USE_SDL22 # include <SDL_main.h>23 #endif24 20 25 21 #if defined _WIN32 -
trunk/tutorial/11_fractal.cpp
r1645 r1647 21 21 using namespace lol; 22 22 23 #if defined _WIN32 && defined USE_D3D924 # define FAR25 # define NEAR26 # include <d3d9.h>27 #endif28 29 #if USE_SDL30 # include <SDL_main.h>31 #endif32 33 23 #if defined _WIN32 34 24 # include <direct.h> 25 # if defined USE_D3D9 26 # define FAR 27 # define NEAR 28 # include <d3d9.h> 29 # endif 35 30 #endif 36 31
Note: See TracChangeset
for help on using the changeset viewer.