www.pudn.com > adHocSimtest.rar > configuser.vc, change:2004-05-14,size:2144b


# 
# This file is included by all Makefile.vc's. It contains flags and settings 
# for compiling with MSVC. You are free to edit the settings in here. 
# 
 
# 
# base directories 
# 
# Edit these variables! 
# 
# Use forward slashes ('/') in the dir names, not backslashes ('\')! 
# Don't use relative directories! 
# Directory names with spaces may also cause problems, it's better to use 
# short file names (e.g. 'C:/PROGRA~1' instead of 'C:/Program files'). 
# 
OMNETPP_ROOT=C:/OMNeT++ 
 
# Version. Should ideally come from the 'Version' file... 
OMNETPP_VERSION=omnetpp-2.3 
 
# 
# Tcl/Tk version  
# 
TK_VER=8.4 
 
# 
# other directories & files based on the base dirs 
# 
OMNETPP_BIN_DIR=$(OMNETPP_ROOT)/bin 
OMNETPP_INCL_DIR=$(OMNETPP_ROOT)/include 
OMNETPP_LIB_DIR=$(OMNETPP_ROOT)/lib 
 
TK_LIB_DIR=$(OMNETPP_LIB_DIR) 
TCL_LIB=tcl$(TK_VER:.=).lib 
TK_LIB=tk$(TK_VER:.=).lib 
 
EXPAT_LIB_DIR=$(OMNETPP_LIB_DIR) 
EXPAT_LIB=expat.lib 
 
# 
# tools 
# 
 
# MSVC programs 
CXX=cl.exe 
LINK=link.exe 
AS=cl.exe 
AR=link.exe /lib 
SHLIB_LD=link.exe /dll 
RC=rc.exe 
 
# Perl: needed for makedep, experimental msg subclassing compiler (msgc), test tool (opp_test) 
PERL=$(OMNETPP_BIN_DIR)/perl.exe 
 
# dependency generator (needs Perl!) 
MAKEDEPEND=$(OMNETPP_BIN_DIR)/opp_makedep -Y --objsuffix .obj --objdirtree 
 
# OMNeT++ tools 
NEDC=$(OMNETPP_BIN_DIR)/nedc.exe 
MSGC=$(OMNETPP_BIN_DIR)/opp_msgc 
 
# 
# configuration 
# 
 
# Compiler switches 
 
CFLAGS_DEBUG=/nologo /GX /GR /FD /Zm180 /MLd /Od /Gm /GZ /ZI 
LDFLAGS_DEBUG=/nologo /subsystem:console /debug /machine:I386 /pdbtype:sept /incremental:no 
 
CFLAGS_RELEASE=/nologo /GX /GR /FD /Zm180 /ML /O2 /D "NDEBUG" 
LDFLAGS_RELEASE=/nologo /subsystem:console /machine:I386 /pdbtype:sept /incremental:no 
 
#CFLAGS=$(CFLAGS_DEBUG) 
#LDFLAGS=$(LDFLAGS_DEBUG) 
CFLAGS=$(CFLAGS_RELEASE) 
LDFLAGS=$(LDFLAGS_RELEASE) 
 
# LIB_SUFFIX is either .lib or .dll 
LIB_SUFFIX=.lib 
 
 
# 
# Linker switches necessary to build an app with PVM or Tcl/Tk. 
# 
TK_LIBS=$(TCL_LIB) $(TK_LIB) /libpath:"$(TK_LIB_DIR)" 
PVM_LIBS= 
MPI_LIBS= 
XML_LIBS=$(EXPAT_LIB) /libpath:"$(EXPAT_LIB_DIR)" 
SYS_LIBS=