Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Oct 11, 2010, 11:08:26 PM (14 years ago)
Author:
rgrieder
Message:

Architecture (32/64 bit) should be determined at compile time because the CMake variable is not reliable (nor is it well possible to do for CMake).
We should still treat this carefully: You can build universal binaries on OS X with both 32 and 64 bit support (sounds like a nightmare for hardware-near development…).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/ois_update/src/OrxonoxConfig.cmake

    r7514 r7525  
    5353ENDIF()
    5454
    55 # 32/64 bit system check
    56 IF(CMAKE_SIZEOF_VOID_P EQUAL 8)
    57   SET(ORXONOX_ARCH_64 TRUE)
    58 ELSE()
    59   SET(ORXONOX_ARCH_32 TRUE)
    60 ENDIF()
    61 
    6255# Platforms
    6356SET(ORXONOX_PLATFORM_WINDOWS ${WIN32})
Note: See TracChangeset for help on using the changeset viewer.