Skip to content
Snippets Groups Projects
Select Git revision
  • a58461c29e610c4fcacb940c4e37c44c933a3080
  • next default protected
  • next-test
  • classic-netcode-fixes
  • fix-dedi-pthread
  • fix-enemy-target
  • master protected
  • better-distance-math
  • movie
  • softcode-info
  • acs
  • clipmidtex
  • custom-map-names
  • nogravity-trampolines
  • 2214-pre4
  • 2214-pre3
  • just-in-case
  • fix-opengl-parameter-crash
  • 2214-pre2
  • 2214-pre1
  • delfile2
  • SRB2_release_2.2.15
  • SRB2_release_2.2.13
  • SRB2_release_2.2.12
  • SRB2_release_2.2.11
  • SRB2_release_2.2.10
  • SRB2_release_2.2.9
  • SRB2_release_2.2.8
  • SRB2_release_2.2.7
  • SRB2_release_2.2.6
  • SRB2_release_2.2.5
  • SRB2_release_2.2.4
  • SRB2_release_2.2.3
  • SRB2_release_2.2.2
  • SRB2_release_2.2.1
  • SRB2_release_2.2.0
  • SRB2_release_2.1.25
  • SRB2_release_2.1.24
  • SRB2_release_2.1.23
  • SRB2_release_2.1.22
  • SRB2_release_2.1.21
41 results

m_argv.c

Blame
  • CMakeASM_YASMInformation.cmake 1.46 KiB
    
    #=============================================================================
    # Copyright 2010 Kitware, Inc.
    #
    # Distributed under the OSI-approved BSD License (the "License");
    # see accompanying file Copyright.txt for details.
    #
    # This software is distributed WITHOUT ANY WARRANTY; without even the
    # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
    # See the License for more information.
    #=============================================================================
    # (To distribute this file outside of CMake, substitute the full
    #  License text for the above reference.)
    
    # support for the yasm assembler
    
    set(CMAKE_ASM_YASM_SOURCE_FILE_EXTENSIONS nasm yasm asm)
    
    if(NOT CMAKE_ASM_YASM_OBJECT_FORMAT)
      if(WIN32)
        if(CMAKE_C_SIZEOF_DATA_PTR EQUAL 8)
          set(CMAKE_ASM_YASM_OBJECT_FORMAT win64)
        else()
          set(CMAKE_ASM_YASM_OBJECT_FORMAT win32)
        endif()
      elseif(APPLE)
        if(CMAKE_C_SIZEOF_DATA_PTR EQUAL 8)
          set(CMAKE_ASM_YASM_OBJECT_FORMAT macho64)
        else()
          set(CMAKE_ASM_YASM_OBJECT_FORMAT macho)
        endif()
      else()
        if(CMAKE_C_SIZEOF_DATA_PTR EQUAL 8)
          set(CMAKE_ASM_YASM_OBJECT_FORMAT elf64)
        else()
          set(CMAKE_ASM_YASM_OBJECT_FORMAT elf)
        endif()
      endif()
    endif()
    
    set(CMAKE_ASM_YASM_COMPILE_OBJECT "<CMAKE_ASM_YASM_COMPILER> <FLAGS> -f ${CMAKE_ASM_YASM_OBJECT_FORMAT} -o <OBJECT> <SOURCE>")
    
    # Load the generic ASMInformation file:
    set(ASM_DIALECT "_YASM")
    include(CMakeASMInformation)
    set(ASM_DIALECT)