Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 10268 for code/trunk/src


Ignore:
Timestamp:
Feb 12, 2015, 11:28:26 PM (9 years ago)
Author:
landauf
Message:

program icon now works also with MinGW. but I had to exclude the PCH-file for the resource file

Location:
code/trunk/src
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/CMakeLists.txt

    r10267 r10268  
    5959  LIST(APPEND ORXONOX_MAIN_FILES OrxonoxMac.mm)
    6060# Add the icon for win32 builds
    61 # TODO: does this work for mingw too?
    62 ELSEIF(WIN32 AND MSVC)
     61ELSEIF(WIN32)
    6362  LIST(APPEND ORXONOX_MAIN_FILES ${CMAKE_SOURCE_DIR}/contrib/winresource.rc)
    6463ENDIF()
  • code/trunk/src/libraries/core/CMakeLists.txt

    r10267 r10268  
    6969
    7070#Add the icon (for the renderwindow)
    71 IF(WIN32 AND MSVC)
     71IF(WIN32)
    7272  List(APPEND CORE_SRC_FILES ${CMAKE_SOURCE_DIR}/contrib/winresource.rc)
    7373ENDIF()
  • code/trunk/src/libraries/core/GraphicsManager.cc

    r10267 r10268  
    318318
    319319        //Add program icon
    320 #if defined(ORXONOX_PLATFORM_WINDOWS) && defined(_MSC_VER)
     320#if defined(ORXONOX_PLATFORM_WINDOWS)
    321321        HWND hwnd;
    322322        this->renderWindow_->getCustomAttribute("WINDOW", (void*)&hwnd);
Note: See TracChangeset for help on using the changeset viewer.