Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 8323


Ignore:
Timestamp:
Apr 25, 2011, 2:52:25 AM (13 years ago)
Author:
rgrieder
Message:

Enable non standard compliant floating point optimisations like a * 1.0 == a, etc.

Location:
code/branches/kicklib2/cmake
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/branches/kicklib2/cmake/CompilerConfigGCC.cmake

    r8284 r8323  
    6969ENDIF()
    7070
     71# Enable non standard floating point optimisations
     72ADD_COMPILER_FLAGS("-ffast-math" CACHE)
     73
    7174# Use SSE if possible
    7275# Commented because this might not work for cross compiling
  • code/branches/kicklib2/cmake/CompilerConfigMSVC.cmake

    r8298 r8323  
    6666
    6767# Enable non standard floating point optimisations
    68 # Note: It hasn't been checked yet whether we have code that might break
    69 #ADD_COMPILER_FLAGS("-fp:fast" CACHE)
     68ADD_COMPILER_FLAGS("-fp:fast" CACHE)
    7069
    7170# Use Link time code generation for Release config if ORXONOX_RELEASE is defined
Note: See TracChangeset for help on using the changeset viewer.