Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 19 for code/branches


Ignore:
Timestamp:
Oct 10, 2007, 10:36:17 AM (17 years ago)
Author:
nicolasc
Message:

bump

Location:
code/branches/tutorial/Tutorial
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/branches/tutorial/Tutorial/CMakeLists.txt

    r15 r19  
    11PROJECT (Tutorial)
    22
    3 SET (MAIN_SRC main.cpp ExampleApplication.h ExampleFrameListener.h ExampleLoadingBar.h )
     3SET (MAIN_SRC main.cpp)
    44
    55ADD_EXECUTABLE (main ${MAIN_SRC})
     
    1010IF (OGRE_LIBS)
    1111  TARGET_ADD_LIBRARY (main OGRE_LIBS)
     12  TARGET_LINK_LIBARIES (main OGRE_LIBS)
    1213ENDIF (OGRE_LIBS)
    1314
     
    1718IF (OIS_LIBS)
    1819  ADD_LIBRARY (OIS_LIBS)
     20  TARGET_LINK_LIBARIES (main OIS_LIBS)
    1921ENDIF (OIS_LIBS)
    2022
    21 INCLUDE_DIRECTORIES (main . /usr/pack/ois-1.0-sd/i686-debian-linux3.1/include /usr/pack/ogre-1.4.5-sd/i686-debian-linux3.1/include)
     23INCLUDE_DIRECTORIES (. /usr/pack/ois-1.0-sd/i686-debian-linux3.1/include /usr/pack/ogre-1.4.5-sd/i686-debian-linux3.1/include)
  • code/branches/tutorial/Tutorial/main.cpp

    r10 r19  
    5858};
    5959
    60 #if OGRE_PLATFORM == OGRE_PLATFORM_WIN32
    61 #define WIN32_LEAN_AND_MEAN
    62 #include "windows.h"
     60//#if OGRE_PLATFORM == OGRE_PLATFORM_WIN32
     61//#define WIN32_LEAN_AND_MEAN
     62//#include "windows.h"
    6363
    64 INT WINAPI WinMain( HINSTANCE hInst, HINSTANCE, LPSTR strCmdLine, INT )
    65 #else
     64//INT WINAPI WinMain( HINSTANCE hInst, HINSTANCE, LPSTR strCmdLine, INT )
     65//#else
    6666int main(int argc, char **argv)
    67 #endif
     67//#endif
    6868{
    6969    // Create application object
     
    7373        app.go();
    7474    } catch( Exception& e ) {
    75 #if OGRE_PLATFORM == OGRE_PLATFORM_WIN32
    76         MessageBox( NULL, e.getFullDescription().c_str(), "An exception has occurred!", MB_OK | MB_ICONERROR | MB_TASKMODAL);
    77 #else
     75//#if OGRE_PLATFORM == OGRE_PLATFORM_WIN32
     76//        MessageBox( NULL, e.getFullDescription().c_str(), "An exception has occurred!", MB_OK | MB_ICONERROR | MB_TASKMODAL);
     77//#else
    7878        fprintf(stderr, "An exception has occurred: %s\n",
    7979                e.getFullDescription().c_str());
    80 #endif
     80//#endif
    8181    }
    8282
Note: See TracChangeset for help on using the changeset viewer.