root/juggler/trunk/vc8/JCCL_Java/JCCL_Java.vcproj

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:

  1. Optimized and linked against the release runtime
  2. Debug-enabled and linked against the release runtime (the "_g"
    variant)
  3. 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="JCCL Java API"
6         ProjectGUID="{A50E05B2-E96E-4455-BD3F-011CF1D2FF79}"
7         RootNamespace="JCCL Java API"
8         Keyword="MakeFileProj"
9         >
10         <Platforms>
11                 <Platform
12                         Name="Win32"
13                 />
14         </Platforms>
15         <ToolFiles>
16         </ToolFiles>
17         <Configurations>
18                 <Configuration
19                         Name="ReleaseDLL|Win32"
20                         OutputDirectory="Release"
21                         IntermediateDirectory="Release"
22                         ConfigurationType="0"
23                         InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC70.vsprops"
24                         >
25                         <Tool
26                                 Name="VCNMakeTool"
27                                 BuildCommandLine="nmake all"
28                                 ReBuildCommandLine="nmake clean all"
29                                 CleanCommandLine="nmake clean"
30                                 Output="jccl_conifg.jar"
31                                 PreprocessorDefinitions=""
32                                 IncludeSearchPath=""
33                                 ForcedIncludes=""
34                                 AssemblySearchPath=""
35                                 ForcedUsingAssemblies=""
36                                 CompileAsManaged=""
37                         />
38                 </Configuration>
39         </Configurations>
40         <References>
41         </References>
42         <Files>
43                 <Filter
44                         Name="Source Files"
45                         Filter="cpp;c;cxx;def;odl;idl;hpj;bat;asm"
46                         >
47                 </Filter>
48                 <Filter
49                         Name="Header Files"
50                         Filter="h;hpp;hxx;hm;inl;inc"
51                         >
52                 </Filter>
53                 <Filter
54                         Name="Resource Files"
55                         Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe"
56                         >
57                 </Filter>
58         </Files>
59         <Globals>
60         </Globals>
61 </VisualStudioProject>
Note: See TracBrowser for help on using the browser.