|
Revision 20345, 1.3 kB
(checked in by patrick, 1 year ago)
|
Change the preprocessor symbols that we use for identifying debug and
optimized builds. Instead of using _DEBUG and _OPT, we now look for
JUGGLER_DEBUG and JUGGLER_OPT or module-specific identifiers such as
GADGET_DEBUG and GADGET_OPT. Using _DEBUG was a bad idea because it is
used by Visual C++ to identify when the debug runtime is to be linked.
This caused us a lot of problems over the years.
On Windows, we now support three types of builds:
- Optimized and linked against the release runtime
- Debug-enabled and linked against the release runtime (the "_g"
variant)
- Debug-enabled and linked against the debug runtime (the "_d"
variant)
Automatic linking takes care of choosing the correct .lib file as long
as _DEBUG is not defined explicitly. Instead, it should only be defined
implicitly as a result of using /MDd when compiling. User-level code
on any platform should define JUGGLER_DEBUG or the module-specific
…_DEBUG symbol to indicate that debugging capabilities are desired.
|
- Property svn:eol-style set to
native
- Property svn:keywords set to
Author Date Id Revision
|
| Line | |
|---|
| 1 |
<?xml version="1.0" encoding="Windows-1252"?> |
|---|
| 2 |
<VisualStudioProject |
|---|
| 3 |
ProjectType="Visual C++" |
|---|
| 4 |
Version="8.00" |
|---|
| 5 |
Name="VRJConfig" |
|---|
| 6 |
ProjectGUID="{67DD23CD-584C-46E0-AF9E-2DFCAF2A99D5}" |
|---|
| 7 |
Keyword="MakeFileProj" |
|---|
| 8 |
> |
|---|
| 9 |
<Platforms> |
|---|
| 10 |
<Platform |
|---|
| 11 |
Name="Win32" |
|---|
| 12 |
/> |
|---|
| 13 |
</Platforms> |
|---|
| 14 |
<ToolFiles> |
|---|
| 15 |
</ToolFiles> |
|---|
| 16 |
<Configurations> |
|---|
| 17 |
<Configuration |
|---|
| 18 |
Name="ReleaseDLL|Win32" |
|---|
| 19 |
OutputDirectory="Release" |
|---|
| 20 |
IntermediateDirectory="Release" |
|---|
| 21 |
ConfigurationType="0" |
|---|
| 22 |
InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC70.vsprops" |
|---|
| 23 |
> |
|---|
| 24 |
<Tool |
|---|
| 25 |
Name="VCNMakeTool" |
|---|
| 26 |
BuildCommandLine="nmake all" |
|---|
| 27 |
ReBuildCommandLine="nmake clean all" |
|---|
| 28 |
CleanCommandLine="nmake clean" |
|---|
| 29 |
Output="VRJConfig.jar" |
|---|
| 30 |
PreprocessorDefinitions="" |
|---|
| 31 |
IncludeSearchPath="" |
|---|
| 32 |
ForcedIncludes="" |
|---|
| 33 |
AssemblySearchPath="" |
|---|
| 34 |
ForcedUsingAssemblies="" |
|---|
| 35 |
CompileAsManaged="" |
|---|
| 36 |
/> |
|---|
| 37 |
</Configuration> |
|---|
| 38 |
</Configurations> |
|---|
| 39 |
<References> |
|---|
| 40 |
</References> |
|---|
| 41 |
<Files> |
|---|
| 42 |
<Filter |
|---|
| 43 |
Name="Source Files" |
|---|
| 44 |
Filter="cpp;c;cxx;def;odl;idl;hpj;bat;asm" |
|---|
| 45 |
> |
|---|
| 46 |
</Filter> |
|---|
| 47 |
<Filter |
|---|
| 48 |
Name="Header Files" |
|---|
| 49 |
Filter="h;hpp;hxx;hm;inl;inc" |
|---|
| 50 |
> |
|---|
| 51 |
</Filter> |
|---|
| 52 |
<Filter |
|---|
| 53 |
Name="Resource Files" |
|---|
| 54 |
Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe" |
|---|
| 55 |
> |
|---|
| 56 |
</Filter> |
|---|
| 57 |
</Files> |
|---|
| 58 |
<Globals> |
|---|
| 59 |
</Globals> |
|---|
| 60 |
</VisualStudioProject> |
|---|