Ignore:
Timestamp:
Feb 1, 2011, 2:20:43 PM (11 years ago)
Author:
sam
Message:

Add all the bells and whistles needed for GTK+ compilation on Win32.

File:
1 copied

Legend:

Unmodified
Added
Removed
  • trunk/win32/editor.vcxproj

    r326 r327  
    1212  </ItemGroup>
    1313  <ItemGroup>
    14     <ClInclude Include="..\deushax\debugsprite.h" />
    15     <ClInclude Include="..\deushax\game.h" />
     14    <ClInclude Include="..\deushax\gtk\glmapview.h" />
     15    <ClInclude Include="..\deushax\mapviewer.h" />
    1616    <ClInclude Include="..\src\audio.h" />
    1717    <ClInclude Include="..\src\bitfield.h" />
     
    4646  </ItemGroup>
    4747  <ItemGroup>
    48     <ClCompile Include="..\deushax\debugsprite.cpp" />
    49     <ClCompile Include="..\deushax\deushax.cpp" />
    50     <ClCompile Include="..\deushax\game.cpp" />
     48    <ClCompile Include="..\deushax\gtk\editor.cpp" />
     49    <ClCompile Include="..\deushax\gtk\glmapview.cpp" />
     50    <ClCompile Include="..\deushax\mapviewer.cpp" />
    5151    <ClCompile Include="..\src\audio.cpp" />
    5252    <ClCompile Include="..\src\debugfps.cpp" />
     
    7777  </ItemGroup>
    7878  <PropertyGroup Label="Globals">
    79     <ProjectGuid>{EF1A4E80-63FA-4EB0-B834-12B6C500F31C}</ProjectGuid>
     79    <ProjectGuid>{9C66B179-0737-4BDA-AB42-2ADE478A9008}</ProjectGuid>
    8080    <Keyword>Win32Proj</Keyword>
    8181    <RootNamespace>testmap</RootNamespace>
     
    100100  <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
    101101    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
     102    <Import Project="Contribs.props" />
    102103  </ImportGroup>
    103104  <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
    104105    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
     106    <Import Project="Contribs.props" />
    105107  </ImportGroup>
    106108  <PropertyGroup Label="UserMacros" />
     
    120122      <Optimization>Disabled</Optimization>
    121123      <PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
    122       <AdditionalIncludeDirectories>$(SolutionDir)\..\src;$(SolutionDir)\..\contrib\SDL_image-1.2.10\include;$(SolutionDir)\..\contrib\SDL_mixer-1.2.11\include;$(SolutionDir)\..\contrib\SDL-1.2.14\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
     124      <AdditionalIncludeDirectories>$(SolutionDir)\..\src;$(SolutionDir)\..\deushax;$(SdlIncludes);$(GtkIncludes);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
    123125    </ClCompile>
    124126    <Link>
    125127      <SubSystem>Console</SubSystem>
    126128      <GenerateDebugInformation>true</GenerateDebugInformation>
    127       <AdditionalDependencies>kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies);SDL.lib;SDLmain.lib;SDL_image.lib;SDL_mixer.lib;opengl32.lib</AdditionalDependencies>
    128       <AdditionalLibraryDirectories>$(SolutionDir)\..\contrib\SDL_image-1.2.10\lib;$(SolutionDir)\..\contrib\SDL_mixer-1.2.11\lib;$(SolutionDir)\..\contrib\SDL-1.2.14\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
     129      <AdditionalDependencies>kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies);$(SdlDeps);$(GtkDeps);opengl32.lib</AdditionalDependencies>
     130      <AdditionalLibraryDirectories>$(SdlLibs);$(GtkLibs);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
    129131    </Link>
    130132  </ItemDefinitionGroup>
     
    138140      <IntrinsicFunctions>true</IntrinsicFunctions>
    139141      <PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
    140       <AdditionalIncludeDirectories>$(SolutionDir)\..\src;$(SolutionDir)\..\contrib\SDL_image-1.2.10\include;$(SolutionDir)\..\contrib\SDL_mixer-1.2.11\include;$(SolutionDir)\..\contrib\SDL-1.2.14\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
     142      <AdditionalIncludeDirectories>$(SolutionDir)\..\src;$(SolutionDir)\..\deushax;$(SdlIncludes);$(GtkIncludes);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
    141143    </ClCompile>
    142144    <Link>
     
    145147      <EnableCOMDATFolding>true</EnableCOMDATFolding>
    146148      <OptimizeReferences>true</OptimizeReferences>
    147       <AdditionalDependencies>kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies);SDL.lib;SDLmain.lib;SDL_image.lib;SDL_mixer.lib;opengl32.lib</AdditionalDependencies>
    148       <AdditionalLibraryDirectories>$(SolutionDir)\..\contrib\SDL_image-1.2.10\lib;$(SolutionDir)\..\contrib\SDL_mixer-1.2.11\lib;$(SolutionDir)\..\contrib\SDL-1.2.14\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
     149      <AdditionalDependencies>kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies);$(SdlDeps);$(GtkDeps);opengl32.lib</AdditionalDependencies>
     150      <AdditionalLibraryDirectories>$(SdlLibs);$(GtkLibs);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
    149151    </Link>
    150152  </ItemDefinitionGroup>
Note: See TracChangeset for help on using the changeset viewer.