Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/weapon/visual_studio/vc8/orxonox.vsprops @ 2103

Last change on this file since 2103 was 1897, checked in by rgrieder, 16 years ago

Added init directory that contains all the files required to run orxonox.
This namely includes plugins.cfg and orxonox.ini in order to set the media path and the plugins correctly.
The solution is not perfect, but a lot better than having all those files in bin/.
We could for instance create an addition special folder for tardis to get rid of plugins.cfg-init, etc.

Also created init/common for files like *.tcl or def_keybindings.ini

Changes in msvc files:
files from init/common and init/SolutionName/ConfigurationName are automatically copied to the output directory if not yet existing.

File size: 979 bytes
Line 
1<?xml version="1.0" encoding="Windows-1252"?>
2<VisualStudioPropertySheet
3        ProjectType="Visual C++"
4        Version="8.00"
5        Name="orxonox"
6        InheritedPropertySheets=".\directories.vsprops"
7        >
8        <Tool
9                Name="VCCLCompilerTool"
10                AdditionalOptions="/MP2"
11                PreprocessorDefinitions="ORXONOX_NO_EXPORTS;NETWORK_STATIC_BUILD;LUA_BUILD_AS_DLL"
12                UsePrecompiledHeader="2"
13                PrecompiledHeaderThrough="OrxonoxStableHeaders.h"
14        />
15        <Tool
16                Name="VCLinkerTool"
17                AdditionalDependencies="OgreMain$(CS).lib tcl85t.lib enet$(CS).lib zlib$(CS).lib CEGUIBase$(CS).lib"
18                OutputFile="$(OutDir)$(ProjectName)$(CS).exe"
19                IgnoreDefaultLibraryNames=""
20        />
21        <Tool
22                Name="VCPostBuildEventTool"
23                Description="Copying files from init folder..."
24                CommandLine="for %%a in ($(RootDir)\init\$(SolutionName)\$(ConfigurationName)\*) do replace %%a $(OutDir). /A &gt;nul&#x0D;&#x0A;for %%a in ($(RootDir)\init\common\*) do replace %%a $(OutDir). /A &gt;nul"
25        />
26</VisualStudioPropertySheet>
Note: See TracBrowser for help on using the repository browser.