Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 3368 for code/trunk/cmake


Ignore:
Timestamp:
Jul 30, 2009, 1:50:39 PM (15 years ago)
Author:
rgrieder
Message:

Added NO_INSTALL argument for ORXONOX_ADD_EXECUTABLE/LIBRARY and moved "-DTOLUA_RELEASE" from the global definitions to the tolua bind source files.

Location:
code/trunk/cmake
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/cmake/GenerateToluaBindings.cmake

    r3244 r3368  
    5252    SET_SOURCE_FILES_PROPERTIES(${_tolua_cxxfile} PROPERTIES COMPILE_FLAGS "-w")
    5353  ENDIF()
     54  # Tolua binding speedup if required
     55  IF(ORXONOX_RELEASE)
     56    SET_SOURCE_FILES_PROPERTIES(${_tolua_cxxfile} PROPERTIES COMPILE_FLAGS "-DTOLUA_RELEASE")
     57  ENDIF()
    5458
    5559  # Create temporary package file and implicit dependencies
  • code/trunk/cmake/TargetUtilities.cmake

    r3330 r3368  
    173173  ENDIF()
    174174
    175   IF(NOT _arg_STATIC)
     175  IF(NOT _arg_STATIC AND NOT _arg_NO_INSTALL)
    176176    INSTALL(TARGETS ${_target_name}
    177177      RUNTIME DESTINATION ${ORXONOX_RUNTIME_INSTALL_PATH}
Note: See TracChangeset for help on using the changeset viewer.