Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 11113 for code/trunk/src


Ignore:
Timestamp:
Feb 14, 2016, 3:42:37 PM (9 years ago)
Author:
landauf
Message:

updated build-script to work with mingw-w64 and the new dependency package

Location:
code/trunk/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/SourceConfig.cmake

    r10209 r11113  
    4545  # Target Windows XP as minimum Windows version
    4646  # And try to catch all the different macro defines for that...
    47   IF(MINGW)
    48     ADD_COMPILER_FLAGS("-D_WIN32_WINNT=0x05010000")
    49     ADD_COMPILER_FLAGS("-D_WIN32_WINDOWS=0x05010000")
    50     ADD_COMPILER_FLAGS("-DWINVER=0x05010000")
    51     ADD_COMPILER_FLAGS("-DNTDDI_VERSION=0x05010000")
    52   ELSE()
    53     ADD_COMPILER_FLAGS("-D_WIN32_WINNT=0x0501")
    54     ADD_COMPILER_FLAGS("-D_WIN32_WINDOWS=0x0501")
    55     ADD_COMPILER_FLAGS("-DWINVER=0x0501")
    56     ADD_COMPILER_FLAGS("-DNTDDI_VERSION=0x05010000")
    57   ENDIF()
     47  ADD_COMPILER_FLAGS("-D_WIN32_WINNT=0x0501")
     48  ADD_COMPILER_FLAGS("-D_WIN32_WINDOWS=0x0501")
     49  ADD_COMPILER_FLAGS("-DWINVER=0x0501")
     50  ADD_COMPILER_FLAGS("-DNTDDI_VERSION=0x05010000")
    5851ENDIF(WIN32)
    5952
  • code/trunk/src/external/ois/CMakeLists.txt

    r8729 r11113  
    5252ENDIF()
    5353
    54 # MinGW doesn't come with some required Windows headers
    55 IF(MINGW)
    56   INCLUDE_DIRECTORIES(${WMI_INCLUDE_DIR})
    57 ENDIF()
    58 
    5954# Apple has problems with OIS and build units
    6055IF(APPLE)
Note: See TracChangeset for help on using the changeset viewer.