瀏覽代碼

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

tarball.
legacy
Sam Hocevar sam 12 年之前
父節點
當前提交
7dd4bec8c7
共有 13 個檔案被更改,包括 26 行新增17 行删除
  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 查看文件

@@ -42,16 +42,16 @@ perf.data*
*~
# Visual Studio cruft
*.vcxproj.user
binaries/*Debug
binaries/*Release
build/vs2010/ipch
build/vs2010/*Debug
build/vs2010/*Release
build/vs2010/*.opensdf
build/vs2010/*.sdf
build/vs2010/*.suo
build/vs2010/*.log
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/*/*/*


+ 2
- 3
Makefile.am 查看文件

@@ -5,10 +5,9 @@ SUBDIRS += monsterz
SUBDIRS += mrpigeon
SUBDIRS += orbital
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

bench:


+ 3
- 0
binaries/Makefile.am 查看文件

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

# Everything in this directory is temporary.


+ 5
- 0
build/Makefile.am 查看文件

@@ -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 查看文件

@@ -9,7 +9,7 @@
<WarningLevel>Level3</WarningLevel>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<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)'=='x64'">$(GlIncludes);$(SdlIncludes);$(D3d9Includes);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>NOMINMAX;%(PreprocessorDefinitions)</PreprocessorDefinitions>


+ 3
- 3
build/vs2010/Lol.Core.Vars.props 查看文件

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

<!-- Flex & Bison -->
<FlexDir>$(ContribDir)\flex-2.5.35</FlexDir>
@@ -89,7 +89,7 @@
<BuildMacro Include="XboxDefines"><Value>$(XboxDefines)</Value></BuildMacro>
</ItemGroup>
<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>
</Project>

+ 2
- 0
configure.ac 查看文件

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


+ 1
- 1
test/benchsuite.vcxproj 查看文件

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


+ 1
- 1
test/debug/quad.vcxproj 查看文件

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


+ 1
- 1
test/testsuite.vcxproj 查看文件

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


+ 1
- 1
tutorial/01_triangle.vcxproj 查看文件

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


+ 1
- 1
tutorial/02_cube.vcxproj 查看文件

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


+ 1
- 1
tutorial/11_fractal.vcxproj 查看文件

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


Loading…
取消
儲存