📄 msvc.mak
字号:
#************************************************************************
#Filename : msvc.mak
#Description: Microsoft Visual C compiler definitions
#************************************************************************
# Copyright (c) 2001 RADVISION Inc. and RADVISION Ltd.
#************************************************************************
#NOTICE:
#This document contains information that is confidential and proprietary
#to RADVISION Inc. and RADVISION Ltd.. No part of this document may be
#reproduced in any form whatsoever without written prior approval by
#RADVISION Inc. or RADVISION Ltd..
#
#RADVISION Inc. and RADVISION Ltd. reserve the right to revise this
#publication and make changes without obligation to notify any person of
#such revisions or changes.
#************************************************************************
# Assumes default include paths for the compilers are set properly
# Set supported TARGET_OS's for these compiler tools
LEGAL_COMPILER_OS:= win32
# Set legal values for COMPILER_TOOL_VERSION
LEGAL_COMPILER_TOOL_VERSION:= 6
# Set up rvbuildconfig.h definitions for COMPILER_TOOL and COMPILER_TOOL_VERSION
# to map to rvtooldefs.h
COMPILER_TOOL_LINE:= "RV_TOOL_TYPE_MSVC"
ifeq ($(COMPILER_TOOL_VERSION), 6)
COMPILER_TOOL_VERSION_LINE:= "RV_TOOL_MSVC_6"
endif
# Add required info to master lists
# MAKE_LIST - List any OS dependent makefiles (inclduing this one)
# INCLUDE_DIRS - List any OS dependent include directories in search order
# LIBS_LIST - List any OS dependent libraries needed to link executables
MAKE_LIST +=
# Compiler setup - MS Visual C Compiler Defaults
CC := cl.exe
CFLAGS += /nologo /W4 /DWIN32 /D_LIB
INCLUDE_FLAG := /I
C_DEBUGFLAG := /MTd /Od /Z7 /D_DEBUG
C_OPTFLAG := /MT /O2 /DNDEBUG
COMPILE_ONLY_FLAG := /c
OBJ_EXTENSION := .obj
CC_OBJ_OUTPUT = /Fo"$@"
AR := lib
ARFLAGS := /nologo
LIB_EXTENSION := .lib
LIB_PREFIX :=
LIB_OUTPUT = /out:"$@"
LINK := cl.exe
LIBS_FLAG :=
LIBS_USE_FULLNAME := yes
LIBS_DIRFLAG:= /LIBPATH:
LDFLAGS += /nologo /link /subsystem:console /incremental:no
LD_DEBUGFLAG := /debug /PDB:NONE
DEPEND_EXTENSION:= .d
# Define full .d file generation command since they vary so much. The
# target will be the .d file and the first dependency will be the .c file.
MAKEDEPEND = set -e; $(CC) /E $(CFLAGS) $< | \
grep "^\#line" | grep -i ".h" | \
sed 's*"*""*;s/\#line.*""/"/;s*\\\\*/*g;s*^*$*.obj $@: *;s*"**g' | \
sort -u > $@; \
[ -s $@ ] || rm -f $@
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -