Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 28, 2008, 1:12:45 AM (16 years ago)
Author:
landauf
Message:

fixed some parts of the cmake-files to work with windows

Location:
code/branches/network/src/ois
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • code/branches/network/src/ois/CMakeLists.txt

    r1219 r1445  
    3737
    3838ADD_LIBRARY( ois SHARED ${OIS_SRC_FILES} )
     39
     40IF(WIN32)
     41  LINK_DIRECTORIES(${DirectX_LIB_DIR})
     42  TARGET_LINK_LIBRARIES( ois
     43    dxguid
     44    dinput8
     45  )
     46ENDIF(WIN32)
     47
  • code/branches/network/src/ois/OISException.cpp

    r1219 r1445  
    2626
    2727//----------------------------------------------------------------------------//
    28 const char* Exception::what() const throw()
     28/*const char* Exception::what() const throw()
    2929{
    3030        return eText;
    3131}
    32 
     32*/
  • code/branches/network/src/ois/OISException.h

    r1219 r1445  
    5858                        : eType(err), eLine(line), eFile(file), eText(str) {}
    5959
    60                 ~Exception() throw() {}
    61 
    62                 virtual const char* what() const throw();
     60                virtual const char* what() const throw()
     61            { return eText; }
    6362
    6463                //! The type of exception raised
Note: See TracChangeset for help on using the changeset viewer.