Browse Source

build: fix the VS2010 build and add build/ and binaries/ to the dist

tarball.
legacy
Sam Hocevar sam 12 years ago
parent
commit
7dd4bec8c7
13 changed files with 26 additions and 17 deletions
  1. +4
    -4
      .gitignore
  2. +2
    -3
      Makefile.am
  3. +3
    -0
      binaries/Makefile.am
  4. +5
    -0
      build/Makefile.am
  5. +1
    -1
      build/vs2010/Lol.Core.Rules.props
  6. +3
    -3
      build/vs2010/Lol.Core.Vars.props
  7. +2
    -0
      configure.ac
  8. +1
    -1
      test/benchsuite.vcxproj
  9. +1
    -1
      test/debug/quad.vcxproj
  10. +1
    -1
      test/testsuite.vcxproj
  11. +1
    -1
      tutorial/01_triangle.vcxproj
  12. +1
    -1
      tutorial/02_cube.vcxproj
  13. +1
    -1
      tutorial/11_fractal.vcxproj

+ 4
- 4
.gitignore View File

@@ -42,16 +42,16 @@ perf.data*
*~ *~
# Visual Studio cruft # Visual Studio cruft
*.vcxproj.user *.vcxproj.user
binaries/*Debug
binaries/*Release
build/vs2010/ipch build/vs2010/ipch
build/vs2010/*Debug
build/vs2010/*Release
build/vs2010/*.opensdf build/vs2010/*.opensdf
build/vs2010/*.sdf build/vs2010/*.sdf
build/vs2010/*.suo build/vs2010/*.suo
build/vs2010/*.log build/vs2010/*.log
build/vs2010/*.XGD build/vs2010/*.XGD
# Do not exclude anything in contrib; this is currently one level
# more than our current max
# Do not exclude anything in contrib. There is no way to do this recursively
# but the nesting below is currently one level more than our current max.
!contrib/* !contrib/*
!contrib/*/* !contrib/*/*
!contrib/*/*/* !contrib/*/*/*


+ 2
- 3
Makefile.am View File

@@ -5,10 +5,9 @@ SUBDIRS += monsterz
SUBDIRS += mrpigeon SUBDIRS += mrpigeon
SUBDIRS += orbital SUBDIRS += orbital
SUBDIRS += neercs SUBDIRS += neercs
DIST_SUBDIRS = $(SUBDIRS)
DIST_SUBDIRS = $(SUBDIRS) build binaries


EXTRA_DIST = bootstrap build-linux build-mingw build-mingw64 build-ps3 \
build-nacl32 build-nacl64 build/lol-build
EXTRA_DIST = bootstrap TODO
AUTOMAKE_OPTIONS = dist-bzip2 AUTOMAKE_OPTIONS = dist-bzip2


bench: bench:


+ 3
- 0
binaries/Makefile.am View File

@@ -0,0 +1,3 @@

# Everything in this directory is temporary.


+ 5
- 0
build/Makefile.am View File

@@ -0,0 +1,5 @@

EXTRA_DIST = lol-build \
build-linux build-mingw build-mingw64 build-ps3 \
build-nacl32 build-nacl64


+ 1
- 1
build/vs2010/Lol.Core.Rules.props View File

@@ -9,7 +9,7 @@
<WarningLevel>Level3</WarningLevel> <WarningLevel>Level3</WarningLevel>
<MultiProcessorCompilation>true</MultiProcessorCompilation> <MultiProcessorCompilation>true</MultiProcessorCompilation>
<FloatingPointModel>Fast</FloatingPointModel> <FloatingPointModel>Fast</FloatingPointModel>
<AdditionalIncludeDirectories>$(SolutionDir)\..\src;$(FlexIncludes);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<AdditionalIncludeDirectories>$(SolutionDir)\..\..\src;$(FlexIncludes);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<AdditionalIncludeDirectories Condition="'$(Platform)'=='Win32'">$(GlIncludes);$(SdlIncludes);$(D3d9Includes);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> <AdditionalIncludeDirectories Condition="'$(Platform)'=='Win32'">$(GlIncludes);$(SdlIncludes);$(D3d9Includes);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<AdditionalIncludeDirectories Condition="'$(Platform)'=='x64'">$(GlIncludes);$(SdlIncludes);$(D3d9Includes);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> <AdditionalIncludeDirectories Condition="'$(Platform)'=='x64'">$(GlIncludes);$(SdlIncludes);$(D3d9Includes);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>NOMINMAX;%(PreprocessorDefinitions)</PreprocessorDefinitions> <PreprocessorDefinitions>NOMINMAX;%(PreprocessorDefinitions)</PreprocessorDefinitions>


+ 3
- 3
build/vs2010/Lol.Core.Vars.props View File

@@ -2,7 +2,7 @@
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ImportGroup Label="PropertySheets" /> <ImportGroup Label="PropertySheets" />
<PropertyGroup Label="UserMacros"> <PropertyGroup Label="UserMacros">
<ContribDir>$(SolutionDir)\..\contrib</ContribDir>
<ContribDir>$(SolutionDir)\..\..\contrib</ContribDir>


<!-- Flex & Bison --> <!-- Flex & Bison -->
<FlexDir>$(ContribDir)\flex-2.5.35</FlexDir> <FlexDir>$(ContribDir)\flex-2.5.35</FlexDir>
@@ -89,7 +89,7 @@
<BuildMacro Include="XboxDefines"><Value>$(XboxDefines)</Value></BuildMacro> <BuildMacro Include="XboxDefines"><Value>$(XboxDefines)</Value></BuildMacro>
</ItemGroup> </ItemGroup>
<PropertyGroup> <PropertyGroup>
<OutDir>$(SolutionDir)\$(Platform) $(Configuration)\</OutDir>
<IntDir>$(SolutionDir)\$(Platform) $(Configuration)\$(ProjectName)\</IntDir>
<OutDir>$(SolutionDir)..\..\binaries\$(Platform) $(Configuration)\</OutDir>
<IntDir>$(SolutionDir)..\..\binaries\$(Platform) $(Configuration)\$(ProjectName)\</IntDir>
</PropertyGroup> </PropertyGroup>
</Project> </Project>

+ 2
- 0
configure.ac View File

@@ -385,6 +385,8 @@ AC_CONFIG_FILES(
gfx/Makefile gfx/Makefile
gfx/font/Makefile gfx/font/Makefile
tools/Makefile tools/Makefile
build/Makefile
binaries/Makefile
]) ])
AC_CONFIG_FILES( AC_CONFIG_FILES(
[monsterz/Makefile [monsterz/Makefile


+ 1
- 1
test/benchsuite.vcxproj View File

@@ -34,7 +34,7 @@
<ClCompile Include="benchsuite.cpp" /> <ClCompile Include="benchsuite.cpp" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<ProjectReference Include="$(SolutionDir)\lolcore.vcxproj">
<ProjectReference Include="$(SolutionDir)\..\..\src\lolcore.vcxproj">
<Project>{9e62f2fe-3408-4eae-8238-fd84238ceeda}</Project> <Project>{9e62f2fe-3408-4eae-8238-fd84238ceeda}</Project>
</ProjectReference> </ProjectReference>
</ItemGroup> </ItemGroup>


+ 1
- 1
test/debug/quad.vcxproj View File

@@ -30,7 +30,7 @@
<ClCompile Include="quad.cpp" /> <ClCompile Include="quad.cpp" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<ProjectReference Include="$(SolutionDir)\lolcore.vcxproj">
<ProjectReference Include="$(SolutionDir)\..\..\src\lolcore.vcxproj">
<Project>{9e62f2fe-3408-4eae-8238-fd84238ceeda}</Project> <Project>{9e62f2fe-3408-4eae-8238-fd84238ceeda}</Project>
</ProjectReference> </ProjectReference>
</ItemGroup> </ItemGroup>


+ 1
- 1
test/testsuite.vcxproj View File

@@ -41,7 +41,7 @@
<ClCompile Include="unit\vector.cpp" /> <ClCompile Include="unit\vector.cpp" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<ProjectReference Include="$(SolutionDir)\lolcore.vcxproj">
<ProjectReference Include="$(SolutionDir)\..\..\src\lolcore.vcxproj">
<Project>{9e62f2fe-3408-4eae-8238-fd84238ceeda}</Project> <Project>{9e62f2fe-3408-4eae-8238-fd84238ceeda}</Project>
</ProjectReference> </ProjectReference>
</ItemGroup> </ItemGroup>


+ 1
- 1
tutorial/01_triangle.vcxproj View File

@@ -33,7 +33,7 @@
<LolFxCompile Include="01_triangle.lolfx" /> <LolFxCompile Include="01_triangle.lolfx" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<ProjectReference Include="$(SolutionDir)\lolcore.vcxproj">
<ProjectReference Include="$(SolutionDir)\..\..\src\lolcore.vcxproj">
<Project>{9e62f2fe-3408-4eae-8238-fd84238ceeda}</Project> <Project>{9e62f2fe-3408-4eae-8238-fd84238ceeda}</Project>
</ProjectReference> </ProjectReference>
</ItemGroup> </ItemGroup>


+ 1
- 1
tutorial/02_cube.vcxproj View File

@@ -33,7 +33,7 @@
<LolFxCompile Include="02_cube.lolfx" /> <LolFxCompile Include="02_cube.lolfx" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<ProjectReference Include="$(SolutionDir)\lolcore.vcxproj">
<ProjectReference Include="$(SolutionDir)\..\..\src\lolcore.vcxproj">
<Project>{9e62f2fe-3408-4eae-8238-fd84238ceeda}</Project> <Project>{9e62f2fe-3408-4eae-8238-fd84238ceeda}</Project>
</ProjectReference> </ProjectReference>
</ItemGroup> </ItemGroup>


+ 1
- 1
tutorial/11_fractal.vcxproj View File

@@ -33,7 +33,7 @@
<LolFxCompile Include="11_fractal.lolfx" /> <LolFxCompile Include="11_fractal.lolfx" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<ProjectReference Include="$(SolutionDir)\lolcore.vcxproj">
<ProjectReference Include="$(SolutionDir)\..\..\src\lolcore.vcxproj">
<Project>{9e62f2fe-3408-4eae-8238-fd84238ceeda}</Project> <Project>{9e62f2fe-3408-4eae-8238-fd84238ceeda}</Project>
</ProjectReference> </ProjectReference>
</ItemGroup> </ItemGroup>


Loading…
Cancel
Save