?? dir.mak
字號(hào):
## Usage:# nmake /f dir.mk [<build option>]## <build option>:# all - build all executables# clean - delete all executables and obj files# veryclean - clean plus delete all stub files generated by omniidl2# ## Pre-requisite:## Make sure that you have environment variable LIB and INCLUDE setup for# using Developer studio from the command line. Usually, this is accomplished# by source the vcvars32.bat file.## Where is the top of this distribution. All executable, library and include# directories are relative to this variable.#TOP = ..\..\..########################################################################### Essential flags to use omniORB#DIR_CPPFLAGS = -I. -I$(TOP)\include##CORBA_CPPFLAGS = -D__WIN32__ -D_WIN32_WINNT=0x0400 -D__x86__ -D__NT__ \ -D__OSVERSION__=4CORBA_LIB = omniORB407_rt.lib omniDynamic407_rt.lib omnithread32_rt.lib \ ws2_32.lib mswsock.lib advapi32.lib \ -libpath:$(TOP)\lib\x86_win32CXXFLAGS = -O2 -MD -GX $(CORBA_CPPFLAGS) $(DIR_CPPFLAGS)CXXLINKOPTIONS =.SUFFIXES: .cc.cc.obj: cl /nologo /c $(CXXFLAGS) /Tp$<######################################################################### To build debug executables# Replace the above with the following:##CORBA_CPPFLAGS = -D__WIN32__ -D_WIN32_WINNT=0x0400 -D__x86__ -D__NT__ -D__OSVERSION__=4#CORBA_LIB = omniORB407_rtd.lib omniDynamic407_rtd.lib omnithread32_rtd.lib \# ws2_32.lib mswsock.lib advapi32.lib \# -libpath:$(TOP)\lib\x86_win32#CXXFLAGS = -MDd -GX -Z7 -Od $(CORBA_CPPFLAGS) $(DIR_CPPFLAGS)#CXXLINKOPTIONS = -debug -PDB:NONE all:: echo_diiclt.exeecho_diiclt.exe: echo_diiclt.obj link -nologo $(CXXLINKOPTIONS) -out:$@ $** $(CORBA_LIB) clean:: -del *.obj -del *.exeveryclean:: -del *.obj -del *.exe
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -