Added a few files for the windows debug compile, which now uses _d libraries.

This commit is contained in:
Harry Moffat 2009-12-30 23:07:15 +00:00
parent 0ddc9d4186
commit c24a59deff
12 changed files with 42 additions and 9 deletions

View file

@ -71,6 +71,7 @@
LinkIncremental="1"
AdditionalLibraryDirectories=""$(OutDir)""
IgnoreDefaultLibraryNames=""
GenerateDebugInformation="true"
RandomizedBaseAddress="1"
DataExecutionPrevention="0"
/>

View file

@ -0,0 +1,3 @@
cd ..\..\..\Cantera\matlab
%PYTHON_CMD% setup_winmatlab_d.py build

View file

@ -27,7 +27,8 @@
>
<Tool
Name="VCPreBuildEventTool"
CommandLine="cmd /c buildmlab.cmd"
Description="running a python script to create the matlab build environment"
CommandLine="cmd /c buildmlab_d.cmd"
/>
<Tool
Name="VCCustomBuildTool"

View file

@ -1,3 +1,7 @@
cd ..\..\..\Cantera\matlab
"%MATLAB_CMD%" -nodisplay -nosplash -nojvm -r setup
echo 'ok' > status
more

View file

@ -27,8 +27,8 @@
>
<Tool
Name="VCPreBuildEventTool"
Description="run runpython.cmd"
CommandLine="cmd /c runpython.cmd"
Description="run runpython_d.cmd"
CommandLine="cmd /c runpython_d.cmd"
/>
<Tool
Name="VCCustomBuildTool"

View file

@ -0,0 +1,8 @@
cd ..\..\..\Cantera\python
%PYTHON_CMD% winsetup.py build
copy ..\..\build\lib\i686-pc-win32\clib_d.dll build\lib.win32-2.6\Cantera
copy ..\..\build\lib\i686-pc-win32\clib_d.exp build\lib.win32-2.6\Cantera
copy ..\..\build\lib\i686-pc-win32\clib_d.lib build\lib.win32-2.6\Cantera
%PYTHON_CMD% winsetup_d.py bdist_wininst
%PYTHON_CMD% winsetup_d.py install
echo 'ok' > status

View file

@ -4,6 +4,7 @@ if not exist build\include\cantera\kernel mkdir build\include\cantera\kernel
cd Cantera\src\oneD
echo on
copy Domain1D.h ..\..\..\build\include\cantera\kernel
copy Inlet1D.h ..\..\..\build\include\cantera\kernel
copy MultiJac.h ..\..\..\build\include\cantera\kernel
@ -12,8 +13,10 @@ copy OneDim.h ..\..\..\build\include\cantera\kernel
copy refine.h ..\..\..\build\include\cantera\kernel
copy Resid1D.h ..\..\..\build\include\cantera\kernel
copy Sim1D.h ..\..\..\build\include\cantera\kernel
copy Solid1D.h ..\..\..\build\include\cantera\kernel
copy StFlow.h ..\..\..\build\include\cantera\kernel
copy Surf1D.h ..\..\..\build\include\cantera\kernel
echo off
cd ..\..\..\win32\vc9\oneD
echo 'ok' > status
echo 'ok' > status.tmp

View file

@ -29,6 +29,7 @@
/>
<Tool
Name="VCCustomBuildTool"
Outputs="status"
/>
<Tool
Name="VCXMLDataGeneratorTool"
@ -80,6 +81,8 @@
/>
<Tool
Name="VCPostBuildEventTool"
Description="copying include files to the cantera kernel directory"
CommandLine="cmd /c docopy.cmd &gt; docopy.out &#x0D;&#x0A;"
/>
</Configuration>
<Configuration
@ -143,6 +146,8 @@
/>
<Tool
Name="VCPostBuildEventTool"
Description="copying include files to the cantera/kernel directory"
CommandLine="cmd /c docopy.cmd &gt; status&#x0D;&#x0A;"
/>
</Configuration>
<Configuration
@ -209,6 +214,8 @@
/>
<Tool
Name="VCPostBuildEventTool"
Description="copying include files to the cantera/kernel directory"
CommandLine="cmd /c docopy.cmd &gt; status&#x0D;&#x0A;"
/>
</Configuration>
</Configurations>
@ -308,6 +315,10 @@
Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx"
UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}"
>
<File
RelativePath=".\status"
>
</File>
</Filter>
</Files>
<Globals>

View file

@ -73,4 +73,4 @@ copy WaterSSTP.h ..\..\..\build\include\cantera\kernel
cd ..\..\..\win32\vc9\thermo
echo off
echo 'ok'
echo 'ok' > status.tmp

View file

@ -79,7 +79,7 @@
<Tool
Name="VCPostBuildEventTool"
Description="Copying include files to cantera/kernel directory"
CommandLine="cmd /c docopy.cmd &gt;status&#x0D;&#x0A;"
CommandLine="cmd /c docopy.cmd &gt; docopy.out &#x0D;&#x0A;"
/>
</Configuration>
<Configuration

View file

@ -1,3 +1,4 @@
echo on
cd ..\..\..\
if not exist build\include\cantera\kernel mkdir build\include\cantera\kernel
@ -19,4 +20,5 @@ copy TransportFactory.h ..\..\..\build\include\cantera\kernel
copy TransportParams.h ..\..\..\build\include\cantera\kernel
cd ..\..\..\win32\vc9\transp~1
echo 'ok' > status
echo off
echo 'ok' > status

View file

@ -1,4 +1,4 @@
# echo on
REM echo on
cd ..\..\..\
if not exist build\include\cantera\kernel mkdir build\include\cantera\kernel
@ -18,5 +18,5 @@ copy Reservoir.h ..\..\..\build\include\cantera\kernel
copy Wall.h ..\..\..\build\include\cantera\kernel
cd ..\..\..\win32\vc9\zeroD
# echo off
REM echo off
echo 'ok'