From de54c5b749b3eefb75d420840c889533a58aa342 Mon Sep 17 00:00:00 2001 From: marha Date: Wed, 24 Jul 2013 14:25:51 +0200 Subject: 64-bit compilation now compiles and runs --- .../glsl_apps_compile/glsl_apps_compile.vcxproj | 89 ++++++++++++++- mesalib/windows/VC8/mesa/makefile | 21 +++- mesalib/windows/VC8/mesa/mesa/mesa.vcxproj | 107 +++++++++++++++++- mesalib/windows/VC8/mesa/mesavc10.sln | 14 +++ .../windows/VC8/mesa/swrast_dri/swrast_dri.vcxproj | 122 +++++++++++++++++++-- 5 files changed, 332 insertions(+), 21 deletions(-) (limited to 'mesalib/windows/VC8') diff --git a/mesalib/windows/VC8/mesa/glsl_apps_compile/glsl_apps_compile.vcxproj b/mesalib/windows/VC8/mesa/glsl_apps_compile/glsl_apps_compile.vcxproj index 4ede32f90..a2ca8bd1b 100644 --- a/mesalib/windows/VC8/mesa/glsl_apps_compile/glsl_apps_compile.vcxproj +++ b/mesalib/windows/VC8/mesa/glsl_apps_compile/glsl_apps_compile.vcxproj @@ -5,10 +5,18 @@ Debug Win32 + + Debug + x64 + Release Win32 + + Release + x64 + {98AB3D51-1820-4D14-9195-75FCA6997784} @@ -21,30 +29,53 @@ MultiByte true + + Application + MultiByte + true + Application MultiByte + + Application + MultiByte + + + + + + + <_ProjectFileVersion>10.0.30319.1 - $(SolutionDir)$(Configuration)\ - $(Configuration)\ true - $(SolutionDir)$(Configuration)\ - $(Configuration)\ + true false + false compile + compile compile + compile + $(SolutionDir)$(Platform)\$(Configuration)\ + $(SolutionDir)$(Platform)\$(Configuration)\ + $(SolutionDir)$(Platform)\$(Configuration)\ + $(SolutionDir)$(Platform)\$(Configuration)\ + $(Platform)\$(Configuration)\ + $(Platform)\$(Configuration)\ + $(Platform)\$(Configuration)\ + $(Platform)\$(Configuration)\ @@ -68,6 +99,26 @@ MachineX86 + + + Disabled + _DEBUG;WIN32;_WINDOWS;_CRT_SECURE_NO_WARNINGS;INSERVER;%(PreprocessorDefinitions) + EnableFastChecks + MultiThreadedDebugDLL + + + Level3 + ProgramDatabase + ..\..\..\..\include;..\..\..\..\src\mesa;..\..\..\..\src\glsl;..\..\..\..\src\mapi;..\..\..\..\..\include;..\..\..\..\.. + + + true + Console + false + + + + NDEBUG;WIN32;_WINDOWS;_CRT_SECURE_NO_WARNINGS;INSERVER;%(PreprocessorDefinitions) @@ -89,6 +140,26 @@ MachineX86 + + + NDEBUG;WIN32;_WINDOWS;_CRT_SECURE_NO_WARNINGS;INSERVER;%(PreprocessorDefinitions) + MultiThreadedDLL + + + Level3 + ProgramDatabase + ..\..\..\..\include;..\..\..\..\src\mesa;..\..\..\..\src\glsl;..\..\..\..\src\mapi;..\..\..\..\..\include;..\..\..\..\.. + + + true + Console + true + true + false + + + + @@ -190,17 +261,27 @@ Document ..\..\..\..\src\glsl\doflexbison.bat + ..\..\..\..\src\glsl\doflexbison.bat ..\..\..\..\src\glsl\glsl_lexer.cpp;..\..\..\..\src\glsl\glcpp\glcpp-lex.c;..\..\..\..\src\glsl\glsl_parser.cpp;..\..\..\..\src\glsl\glsl_parser.h;..\..\..\..\src\glsl\glcpp\glcpp-parse.c;..\..\..\..\src\glsl\glcpp\glcpp-parse.h + ..\..\..\..\src\glsl\glsl_lexer.cpp;..\..\..\..\src\glsl\glcpp\glcpp-lex.c;..\..\..\..\src\glsl\glsl_parser.cpp;..\..\..\..\src\glsl\glsl_parser.h;..\..\..\..\src\glsl\glcpp\glcpp-parse.c;..\..\..\..\src\glsl\glcpp\glcpp-parse.h ..\..\..\..\src\glsl\doflexbison.bat + ..\..\..\..\src\glsl\doflexbison.bat ..\..\..\..\src\glsl\glsl_lexer.cpp;..\..\..\..\src\glsl\glcpp\glcpp-lex.c;..\..\..\..\src\glsl\glsl_parser.cpp;..\..\..\..\src\glsl\glsl_parser.h;..\..\..\..\src\glsl\glcpp\glcpp-parse.c;..\..\..\..\src\glsl\glcpp\glcpp-parse.h + ..\..\..\..\src\glsl\glsl_lexer.cpp;..\..\..\..\src\glsl\glcpp\glcpp-lex.c;..\..\..\..\src\glsl\glsl_parser.cpp;..\..\..\..\src\glsl\glsl_parser.h;..\..\..\..\src\glsl\glcpp\glcpp-parse.c;..\..\..\..\src\glsl\glcpp\glcpp-parse.h ..\..\..\..\src\glsl\glsl_parser.yy;%(AdditionalInputs) + ..\..\..\..\src\glsl\glsl_parser.yy;%(AdditionalInputs) ..\..\..\..\src\glsl\glsl_parser.yy;%(AdditionalInputs) + ..\..\..\..\src\glsl\glsl_parser.yy;%(AdditionalInputs) ..\..\..\..\src\glsl\dobison.bat + ..\..\..\..\src\glsl\dobison.bat ..\..\..\..\src\glsl\glsl_parser.cpp;..\..\..\..\src\glsl\glsl_parser.h;..\..\..\..\src\glsl\glcpp\glcpp-parse.c;..\..\..\..\src\glsl\glcpp\glcpp-parse.h + ..\..\..\..\src\glsl\glsl_parser.cpp;..\..\..\..\src\glsl\glsl_parser.h;..\..\..\..\src\glsl\glcpp\glcpp-parse.c;..\..\..\..\src\glsl\glcpp\glcpp-parse.h ..\..\..\..\src\glsl\dobison.bat + ..\..\..\..\src\glsl\dobison.bat ..\..\..\..\src\glsl\glsl_parser.cpp;..\..\..\..\src\glsl\glsl_parser.h;..\..\..\..\src\glsl\glcpp\glcpp-parse.c;..\..\..\..\src\glsl\glcpp\glcpp-parse.h + ..\..\..\..\src\glsl\glsl_parser.cpp;..\..\..\..\src\glsl\glsl_parser.h;..\..\..\..\src\glsl\glcpp\glcpp-parse.c;..\..\..\..\src\glsl\glcpp\glcpp-parse.h Document diff --git a/mesalib/windows/VC8/mesa/makefile b/mesalib/windows/VC8/mesa/makefile index 9b19ad899..adef514ed 100644 --- a/mesalib/windows/VC8/mesa/makefile +++ b/mesalib/windows/VC8/mesa/makefile @@ -6,6 +6,17 @@ MHMAKESLNFILE=mesavc10.sln BUILDCMD=devenv.com $(MHMAKESLNFILE) /build endif +ifdef IS64 +DBGBUILDCMD=$(BUILDCMD) "Debug|x64" +RELBUILDCMD=$(BUILDCMD) "Release|x64" +TARGETDIR=x64 +else +DBGBUILDCMD=$(BUILDCMD) "Debug|Win32" +RELBUILDCMD=$(BUILDCMD) "Release|Win32" +TARGETDIR=Win32 +endif + + DEPS:=$(wildcard ..\..\..\src\mesa\swrast\*.c) \ $(wildcard ..\..\..\src\mesa\swrast\*.h) \ $(wildcard ..\..\..\src\mesa\swrast_setup\*.c) \ @@ -49,7 +60,7 @@ DEPS:=$(wildcard ..\..\..\src\mesa\swrast\*.c) \ ..\..\..\src\mesa\main\get_hash.h \ ..\..\..\src\mesa\main\remap_helper.h -all: Release\swrast_dri.dll Debug\swrast_dri.dll +all: $(TARGETDIR)\Release\swrast_dri.dll $(TARGETDIR)\Debug\swrast_dri.dll ..\..\..\src\mesa\main\dispatch.h: $(wildcard ..\..\..\src\mapi\glapi\gen\*.xml) ..\..\..\src\mapi\glapi\gen\gl_table.py cd ..\..\..\src\mapi\glapi\gen & python gl_table.py -f gl_and_es_API.xml -m remap_table > ..\..\..\mesa\main\dispatch.h @@ -71,11 +82,11 @@ REMAP_HELPER = ..\..\..\src\mapi\glapi\gen\remap_helper.py ..\..\..\src\mesa\main\remap_helper.h: ..\..\..\src\mapi\glapi\gen\gl_and_es_API.xml $(REMAP_HELPER) python $(REMAP_HELPER) -f $< > $@ -Debug\swrast_dri.dll: $(DEPS) - $(BUILDCMD) "Debug|Win32" +$(TARGETDIR)\Debug\swrast_dri.dll: $(DEPS) + $(DBGBUILDCMD) -Release\swrast_dri.dll: $(DEPS) - $(BUILDCMD) "Release|Win32" +$(TARGETDIR)\Release\swrast_dri.dll: $(DEPS) + $(RELBUILDCMD) clean: cleanthis diff --git a/mesalib/windows/VC8/mesa/mesa/mesa.vcxproj b/mesalib/windows/VC8/mesa/mesa/mesa.vcxproj index 44be06fda..e8a54c4ee 100644 --- a/mesalib/windows/VC8/mesa/mesa/mesa.vcxproj +++ b/mesalib/windows/VC8/mesa/mesa/mesa.vcxproj @@ -5,10 +5,18 @@ Debug Win32 + + Debug + x64 + Release Win32 + + Release + x64 + {2120C974-2717-4709-B44F-D6E6D0A56448} @@ -20,11 +28,21 @@ false MultiByte + + StaticLibrary + false + MultiByte + StaticLibrary false MultiByte + + StaticLibrary + false + MultiByte + @@ -32,20 +50,35 @@ + + + + + + + + <_ProjectFileVersion>10.0.30319.1 - $(SolutionDir)$(Configuration)\ - $(Configuration)\ - $(SolutionDir)$(Configuration)\ - $(Configuration)\ true + true false + false false + false + $(SolutionDir)$(Platform)\$(Configuration)\ + $(SolutionDir)$(Platform)\$(Configuration)\ + $(SolutionDir)$(Platform)\$(Configuration)\ + $(SolutionDir)$(Platform)\$(Configuration)\ + $(Platform)\$(Configuration)\ + $(Platform)\$(Configuration)\ + $(Platform)\$(Configuration)\ + $(Platform)\$(Configuration)\ @@ -74,6 +107,33 @@ true + + + AnySuitable + true + true + ../../../../include;../../../../src/mesa;../../../../src/glsl;../../../../src/mapi;../../../../src/mesa/main;../../../../src/mesa/shader;../../../../src/mesa/shader/slang;../../../../../include;../../../../..;%(AdditionalIncludeDirectories) + NDEBUG;WIN32;_LIB;_DLL;_GDI32_;BUILD_GL32;WIN32_THREADS;MESA_MINWARN;_CRT_SECURE_NO_DEPRECATE;INSERVER;%(PreprocessorDefinitions) + true + MultiThreadedDLL + true + + + Level3 + true + ../../../../src/mesa/main/compiler.h;%(ForcedIncludeFiles) + false + StreamingSIMDExtensions2 + + + NDEBUG;%(PreprocessorDefinitions) + 0x0409 + + + true + true + + Disabled @@ -95,6 +155,27 @@ true + + + Disabled + ../../../../include;../../../../src/mesa;../../../../src/glsl;../../../../src/mapi;../../../../src/mesa/main;../../../../src/mesa/shader;../../../../src/mesa/shader/slang;../../../../../include;../../../../..;%(AdditionalIncludeDirectories) + _DEBUG;DEBUG;WIN32;_LIB;_DLL;_GDI32_;BUILD_GL32;WIN32_THREADS;MESA_MINWARN;_CRT_SECURE_NO_DEPRECATE;INSERVER;%(PreprocessorDefinitions) + EnableFastChecks + MultiThreadedDebugDLL + true + Level3 + true + ProgramDatabase + ../../../../src/mesa/main/compiler.h;%(ForcedIncludeFiles) + + + _DEBUG;%(PreprocessorDefinitions) + 0x0409 + + + true + + {98ab3d51-1820-4d14-9195-75fca6997784} @@ -138,14 +219,22 @@ + + + + + + + + @@ -368,17 +457,27 @@ Document ..\..\..\..\src\mesa\program\doflexbison.bat + ..\..\..\..\src\mesa\program\doflexbison.bat ..\..\..\..\src\mesa\program\lex.yy.c;..\..\..\..\src\mesa\program\program_parse.tab.c;..\..\..\..\src\mesa\program\program_parse.tab.h;%(Outputs) + ..\..\..\..\src\mesa\program\lex.yy.c;..\..\..\..\src\mesa\program\program_parse.tab.c;..\..\..\..\src\mesa\program\program_parse.tab.h;%(Outputs) ..\..\..\..\src\mesa\program\doflexbison.bat + ..\..\..\..\src\mesa\program\doflexbison.bat ..\..\..\..\src\mesa\program\lex.yy.c;..\..\..\..\src\mesa\program\program_parse.tab.c;..\..\..\..\src\mesa\program\program_parse.tab.h;%(Outputs) + ..\..\..\..\src\mesa\program\lex.yy.c;..\..\..\..\src\mesa\program\program_parse.tab.c;..\..\..\..\src\mesa\program\program_parse.tab.h;%(Outputs) ..\..\..\..\src\mesa\program\program_parse.y;%(AdditionalInputs) + ..\..\..\..\src\mesa\program\program_parse.y;%(AdditionalInputs) ..\..\..\..\src\mesa\program\program_parse.y;%(AdditionalInputs) + ..\..\..\..\src\mesa\program\program_parse.y;%(AdditionalInputs) ..\..\..\..\src\mesa\program\dobison.bat + ..\..\..\..\src\mesa\program\dobison.bat ..\..\..\..\src\mesa\program\program_parse.tab.c;..\..\..\..\src\mesa\program\program_parse.tab.h;%(Outputs) + ..\..\..\..\src\mesa\program\program_parse.tab.c;..\..\..\..\src\mesa\program\program_parse.tab.h;%(Outputs) ..\..\..\..\src\mesa\program\dobison.bat + ..\..\..\..\src\mesa\program\dobison.bat ..\..\..\..\src\mesa\program\program_parse.tab.c;..\..\..\..\src\mesa\program\program_parse.tab.h;%(Outputs) + ..\..\..\..\src\mesa\program\program_parse.tab.c;..\..\..\..\src\mesa\program\program_parse.tab.h;%(Outputs) Document diff --git a/mesalib/windows/VC8/mesa/mesavc10.sln b/mesalib/windows/VC8/mesa/mesavc10.sln index 92fcf6f6d..ab63a128a 100644 --- a/mesalib/windows/VC8/mesa/mesavc10.sln +++ b/mesalib/windows/VC8/mesa/mesavc10.sln @@ -9,21 +9,35 @@ EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Win32 = Debug|Win32 + Debug|x64 = Debug|x64 Release|Win32 = Release|Win32 + Release|x64 = Release|x64 EndGlobalSection GlobalSection(ProjectConfigurationPlatforms) = postSolution {2120C974-2717-4709-B44F-D6E6D0A56448}.Debug|Win32.ActiveCfg = Debug|Win32 {2120C974-2717-4709-B44F-D6E6D0A56448}.Debug|Win32.Build.0 = Debug|Win32 + {2120C974-2717-4709-B44F-D6E6D0A56448}.Debug|x64.ActiveCfg = Debug|x64 + {2120C974-2717-4709-B44F-D6E6D0A56448}.Debug|x64.Build.0 = Debug|x64 {2120C974-2717-4709-B44F-D6E6D0A56448}.Release|Win32.ActiveCfg = Release|Win32 {2120C974-2717-4709-B44F-D6E6D0A56448}.Release|Win32.Build.0 = Release|Win32 + {2120C974-2717-4709-B44F-D6E6D0A56448}.Release|x64.ActiveCfg = Release|x64 + {2120C974-2717-4709-B44F-D6E6D0A56448}.Release|x64.Build.0 = Release|x64 {98AB3D51-1820-4D14-9195-75FCA6997784}.Debug|Win32.ActiveCfg = Debug|Win32 {98AB3D51-1820-4D14-9195-75FCA6997784}.Debug|Win32.Build.0 = Debug|Win32 + {98AB3D51-1820-4D14-9195-75FCA6997784}.Debug|x64.ActiveCfg = Debug|x64 + {98AB3D51-1820-4D14-9195-75FCA6997784}.Debug|x64.Build.0 = Debug|x64 {98AB3D51-1820-4D14-9195-75FCA6997784}.Release|Win32.ActiveCfg = Release|Win32 {98AB3D51-1820-4D14-9195-75FCA6997784}.Release|Win32.Build.0 = Release|Win32 + {98AB3D51-1820-4D14-9195-75FCA6997784}.Release|x64.ActiveCfg = Release|x64 + {98AB3D51-1820-4D14-9195-75FCA6997784}.Release|x64.Build.0 = Release|x64 {FEF62E6F-A7E0-47BE-99A0-2494717DBDB7}.Debug|Win32.ActiveCfg = Debug|Win32 {FEF62E6F-A7E0-47BE-99A0-2494717DBDB7}.Debug|Win32.Build.0 = Debug|Win32 + {FEF62E6F-A7E0-47BE-99A0-2494717DBDB7}.Debug|x64.ActiveCfg = Debug|x64 + {FEF62E6F-A7E0-47BE-99A0-2494717DBDB7}.Debug|x64.Build.0 = Debug|x64 {FEF62E6F-A7E0-47BE-99A0-2494717DBDB7}.Release|Win32.ActiveCfg = Release|Win32 {FEF62E6F-A7E0-47BE-99A0-2494717DBDB7}.Release|Win32.Build.0 = Release|Win32 + {FEF62E6F-A7E0-47BE-99A0-2494717DBDB7}.Release|x64.ActiveCfg = Release|x64 + {FEF62E6F-A7E0-47BE-99A0-2494717DBDB7}.Release|x64.Build.0 = Release|x64 EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE diff --git a/mesalib/windows/VC8/mesa/swrast_dri/swrast_dri.vcxproj b/mesalib/windows/VC8/mesa/swrast_dri/swrast_dri.vcxproj index 881942744..6ee615773 100644 --- a/mesalib/windows/VC8/mesa/swrast_dri/swrast_dri.vcxproj +++ b/mesalib/windows/VC8/mesa/swrast_dri/swrast_dri.vcxproj @@ -1,14 +1,22 @@ - + Debug Win32 + + Debug + x64 + Release Win32 + + Release + x64 + {FEF62E6F-A7E0-47BE-99A0-2494717DBDB7} @@ -20,11 +28,21 @@ false MultiByte + + DynamicLibrary + false + MultiByte + DynamicLibrary false MultiByte + + DynamicLibrary + false + MultiByte + @@ -32,19 +50,33 @@ + + + + + + + + <_ProjectFileVersion>10.0.30319.1 - $(SolutionDir)$(Configuration)\ - $(Configuration)\ false - $(SolutionDir)$(Configuration)\ - $(Configuration)\ + false false + false + $(SolutionDir)$(Platform)\$(Configuration)\ + $(SolutionDir)$(Platform)\$(Configuration)\ + $(SolutionDir)$(Platform)\$(Configuration)\ + $(SolutionDir)$(Platform)\$(Configuration)\ + $(Platform)\$(Configuration)\ + $(Platform)\$(Configuration)\ + $(Platform)\$(Configuration)\ + $(Platform)\$(Configuration)\ @@ -71,7 +103,6 @@ 0x0409 - /MACHINE:I386 %(AdditionalOptions) gdi32.lib;user32.lib;vcxsrv.lib;%(AdditionalDependencies) $(OutDir)swrast_dri.dll true @@ -83,6 +114,41 @@ + + + _DEBUG;%(PreprocessorDefinitions) + true + true + .\Debug/swrast_dri.tlb + + + Disabled + ../../../../include;../../../../src/mesa;../../../../src/glsl;../../../../src/mapi;../../../../src/mesa/main;../../../../src/mesa/shader;../../../../src/mesa/shader/slang;../../../../../include;../../../../src/mesa/drivers/dri/common;%(AdditionalIncludeDirectories) + _DEBUG;DEBUG;WIN32;_DLL;SWRAST_DRI_EXPORTS;_GDI32_;BUILD_GL32;WIN32_THREADS;MESA_MINWARN;_CRT_SECURE_NO_DEPRECATE;INSERVER;%(PreprocessorDefinitions) + EnableFastChecks + MultiThreadedDebugDLL + true + Level3 + true + ProgramDatabase + Default + + + _DEBUG;%(PreprocessorDefinitions) + 0x0409 + + + gdi32.lib;user32.lib;vcxsrv.lib;%(AdditionalDependencies) + $(OutDir)swrast_dri.dll + true + $(TargetDir);..\..\..\..\..\xorg-server\obj64\servdebug;%(AdditionalLibraryDirectories) + true + $(TargetDir)swrast_dri.pdb + false + + + + NDEBUG;%(PreprocessorDefinitions) @@ -114,7 +180,6 @@ 0x0409 - /MACHINE:I386 %(AdditionalOptions) gdi32.lib;user32.lib;vcxsrv.lib;%(AdditionalDependencies) $(OutDir)swrast_dri.dll true @@ -126,6 +191,47 @@ + + + NDEBUG;%(PreprocessorDefinitions) + true + true + .\Release/swrast_dri.tlb + + + AnySuitable + true + true + ../../../../include;../../../../src/mesa;../../../../src/glsl;../../../../src/mapi;../../../../src/mesa/main;../../../../src/mesa/shader;../../../../src/mesa/shader/slang;../../../../../include;../../../../src/mesa/drivers/dri/common;%(AdditionalIncludeDirectories) + NDEBUG;WIN32;_DLL;SWRAST_DRI_EXPORTS;_GDI32_;BUILD_GL32;WIN32_THREADS;MESA_MINWARN;_CRT_SECURE_NO_DEPRECATE;INSERVER;%(PreprocessorDefinitions) + true + + + MultiThreadedDLL + false + true + StreamingSIMDExtensions2 + .\Release/swrast_dri.pch + Level3 + true + Default + + + NDEBUG;%(PreprocessorDefinitions) + 0x0409 + + + gdi32.lib;user32.lib;vcxsrv.lib;%(AdditionalDependencies) + $(OutDir)swrast_dri.dll + true + $(TargetDir);..\..\..\..\..\xorg-server\obj64\servrelease;%(AdditionalLibraryDirectories) + $(TargetDir)swrast_dri.pdb + UseLinkTimeCodeGeneration + false + + + + @@ -176,4 +282,4 @@ - + \ No newline at end of file -- cgit v1.2.3