Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 3368 for code


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
Files:
4 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}
  • code/trunk/src/CMakeLists.txt

    r3330 r3368  
    2828# OIS dynamic linking requires macro definition, at least for Windows
    2929ADD_COMPILER_FLAGS("-DOIS_DYNAMIC_LIB")
    30 # Tolua binding speedup if required
    31 ADD_COMPILER_FLAGS("-DTOLUA_RELEASE" ORXONOX_RELEASE)
    3230
    3331################ OrxonoxConfig.h ################
  • code/trunk/src/tolua/CMakeLists.txt

    r3196 r3368  
    5555  VERSION
    5656    1.0.92
     57  NO_INSTALL
    5758  LINK_LIBRARIES
    5859    ${LUA_LIBRARIES}
Note: See TracChangeset for help on using the changeset viewer.