Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Aug 10, 2009, 4:44:05 PM (15 years ago)
Author:
landauf
Message:

replaced the old orxonox executable with an orxonox library. linked that library into the new orxonox executable which only contains one file (Orxonox.cc).

File:
1 edited

Legend:

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

    r3371 r5613  
    4444 #      PCH_FILE:          Precompiled header file
    4545 #      PCH_EXCLUDE:       Source files to be excluded from PCH support
     46 #      OUTPUT_NAME:       If you want a different name than the target name
    4647 #  Note:
    4748 #    This function also installs the target!
     
    7778                  PCH_NO_DEFAULT NO_INSTALL)
    7879  SET(_list_names LINK_LIBRARIES  VERSION   SOURCE_FILES  DEFINE_SYMBOL
    79                   TOLUA_FILES     PCH_FILE  PCH_EXCLUDE)
     80                  TOLUA_FILES     PCH_FILE  PCH_EXCLUDE OUTPUT_NAME)
    8081  PARSE_MACRO_ARGUMENTS("${_switches}" "${_list_names}" ${ARGN})
    8182
     
    168169  ENDIF()
    169170
     171  # OUTPUT_NAME
     172  IF(_arg_OUTPUT_NAME )
     173    SET_TARGET_PROPERTIES(${_target_name} PROPERTIES OUTPUT_NAME  ${_arg_OUTPUT_NAME})
     174  ENDIF()
     175
    170176  # Second part of precompiled header files
    171177  IF(PCH_COMPILER_SUPPORT AND PCH_ENABLE_${_target_name_upper} AND _arg_PCH_FILE)
Note: See TracChangeset for help on using the changeset viewer.