Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 7123 for code/branches


Ignore:
Timestamp:
Jun 7, 2010, 11:29:56 PM (14 years ago)
Author:
rgrieder
Message:

Added NO_VERSION switch for targets.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/presentation3/cmake/TargetUtilities.cmake

    r5963 r7123  
    4040 #                         specified with PCH_FILE
    4141 #      NO_INSTALL:        Do not install the target at all
     42 #      NO_VERSION:        Prevents adding any version to a target
    4243 #
    4344 #    Lists:
     
    8283  SET(_switches   FIND_HEADER_FILES  EXCLUDE_FROM_ALL  ORXONOX_EXTERNAL
    8384                  NO_DLL_INTERFACE   NO_SOURCE_GROUPS  ${_additional_switches}
    84                   PCH_NO_DEFAULT     NO_INSTALL        MODULE)
     85                  PCH_NO_DEFAULT     NO_INSTALL        MODULE NO_VERSION)
    8586  SET(_list_names LINK_LIBRARIES  VERSION   SOURCE_FILES  DEFINE_SYMBOL
    8687                  TOLUA_FILES     PCH_FILE  PCH_EXCLUDE OUTPUT_NAME)
     
    230231  IF(_arg_VERSION)
    231232    SET_TARGET_PROPERTIES(${_target_name} PROPERTIES VERSION ${_arg_VERSION})
    232   ELSEIF(NOT _arg_ORXONOX_EXTERNAL)
     233  ELSEIF(NOT _arg_ORXONOX_EXTERNAL AND NOT _arg_NO_VERSION)
    233234    SET_TARGET_PROPERTIES(${_target_name} PROPERTIES VERSION ${ORXONOX_VERSION})
    234235  ENDIF()
Note: See TracChangeset for help on using the changeset viewer.