Skip to content

Commit

Permalink
fixed various windows build issues and added VC 9.0 solution file
Browse files Browse the repository at this point in the history
  • Loading branch information
unknown authored and unknown committed Sep 25, 2015
1 parent 46de09d commit 7769645
Show file tree
Hide file tree
Showing 4 changed files with 105 additions and 35 deletions.
40 changes: 40 additions & 0 deletions .gitignore
@@ -0,0 +1,40 @@
# Compiled Object files
*.slo
*.lo
*.o
*.obj

# Precompiled Headers
*.gch
*.pch

# Compiled Dynamic libraries
*.so
*.dylib
*.dll

# Fortran module files
*.mod

# Compiled Static libraries
*.lai
*.la
*.a
*.lib

# Executables
*.exe
*.out
*.app

# Log files
*.log

# Visual Studio specific files
Win32/
x64/
ipch/
*.suo
*.sdf
*.user
*.tlog
16 changes: 10 additions & 6 deletions windows/wjelement-VC100.vcxproj
Expand Up @@ -79,8 +79,7 @@
<MinimalRebuild>true</MinimalRebuild>
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
<PrecompiledHeader>
</PrecompiledHeader>
<PrecompiledHeader>NotUsing</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<DebugInformationFormat>EditAndContinue</DebugInformationFormat>
<DisableSpecificWarnings>4018;4244;4996;%(DisableSpecificWarnings)</DisableSpecificWarnings>
Expand All @@ -98,8 +97,7 @@
<PreprocessorDefinitions>WIN32;NDEBUG;_LIB;WJE_DISTINGUISH_INTEGER_TYPE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
<FunctionLevelLinking>true</FunctionLevelLinking>
<PrecompiledHeader>
</PrecompiledHeader>
<PrecompiledHeader>NotUsing</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
<DisableSpecificWarnings>4018;4244;4996;%(DisableSpecificWarnings)</DisableSpecificWarnings>
Expand All @@ -112,7 +110,13 @@
<ClCompile>
<PreprocessorDefinitions>WIN32;_DEBUG;_LIB;WJE_DISTINGUISH_INTEGER_TYPE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalIncludeDirectories>../include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<DisableSpecificWarnings>4018;4244;4996;%(DisableSpecificWarnings)</DisableSpecificWarnings>
<DisableSpecificWarnings>4267;4018;4244;4996;%(DisableSpecificWarnings)</DisableSpecificWarnings>
<WarningLevel>Level3</WarningLevel>
<OmitFramePointers>false</OmitFramePointers>
<Optimization>Disabled</Optimization>
<MinimalRebuild>true</MinimalRebuild>
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
</ClCompile>
<Link>
<OutputFile>$(IntDir)$(ProjectName)d.lib</OutputFile>
Expand All @@ -123,7 +127,7 @@
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<ClCompile>
<DisableSpecificWarnings>4018;4244;4996;%(DisableSpecificWarnings)</DisableSpecificWarnings>
<DisableSpecificWarnings>4267;4018;4244;4996;%(DisableSpecificWarnings)</DisableSpecificWarnings>
<AdditionalIncludeDirectories>../include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>WIN32;NDEBUG;_LIB;WJE_DISTINGUISH_INTEGER_TYPE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
</ClCompile>
Expand Down
26 changes: 26 additions & 0 deletions windows/wjelement.sln
@@ -0,0 +1,26 @@

Microsoft Visual Studio Solution File, Format Version 10.00
# Visual C++ Express 2008
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "wjelement", "wjelement.vcproj", "{978C7161-A255-4C13-8B2B-910F9A7FA557}"
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
{978C7161-A255-4C13-8B2B-910F9A7FA557}.Debug|Win32.ActiveCfg = Debug|Win32
{978C7161-A255-4C13-8B2B-910F9A7FA557}.Debug|Win32.Build.0 = Debug|Win32
{978C7161-A255-4C13-8B2B-910F9A7FA557}.Debug|x64.ActiveCfg = Debug|x64
{978C7161-A255-4C13-8B2B-910F9A7FA557}.Debug|x64.Build.0 = Debug|x64
{978C7161-A255-4C13-8B2B-910F9A7FA557}.Release|Win32.ActiveCfg = Release|Win32
{978C7161-A255-4C13-8B2B-910F9A7FA557}.Release|Win32.Build.0 = Release|Win32
{978C7161-A255-4C13-8B2B-910F9A7FA557}.Release|x64.ActiveCfg = Release|x64
{978C7161-A255-4C13-8B2B-910F9A7FA557}.Release|x64.Build.0 = Release|x64
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal
58 changes: 29 additions & 29 deletions windows/wjelement.vcproj
Expand Up @@ -21,8 +21,8 @@
<Configurations>
<Configuration
Name="Debug|Win32"
OutputDirectory="$(SolutionDir)$(PlatformName)\$(ConfigurationName)"
IntermediateDirectory="$(PlatformName)\$(ConfigurationName)"
OutputDirectory="$(ProjectDir)VC90\$(PlatformName)\$(ConfigurationName)"
IntermediateDirectory="$(ProjectDir)VC90\$(PlatformName)\$(ConfigurationName)"
ConfigurationType="4"
CharacterSet="0"
>
Expand Down Expand Up @@ -52,7 +52,7 @@
UsePrecompiledHeader="0"
WarningLevel="3"
DebugInformationFormat="4"
DisableSpecificWarnings="4996"
DisableSpecificWarnings="4996;4244;4018"
/>
<Tool
Name="VCManagedResourceCompilerTool"
Expand Down Expand Up @@ -84,12 +84,11 @@
/>
</Configuration>
<Configuration
Name="Release|Win32"
OutputDirectory="$(SolutionDir)$(PlatformName)\$(ConfigurationName)"
IntermediateDirectory="$(PlatformName)\$(ConfigurationName)"
Name="Debug|x64"
OutputDirectory="$(ProjectDir)VC90\$(PlatformName)\$(ConfigurationName)"
IntermediateDirectory="$(ProjectDir)VC90\$(PlatformName)\$(ConfigurationName)"
ConfigurationType="4"
CharacterSet="0"
WholeProgramOptimization="1"
>
<Tool
Name="VCPreBuildEventTool"
Expand All @@ -105,20 +104,20 @@
/>
<Tool
Name="VCMIDLTool"
TargetEnvironment="3"
/>
<Tool
Name="VCCLCompilerTool"
Optimization="2"
EnableIntrinsicFunctions="true"
WholeProgramOptimization="false"
Optimization="0"
AdditionalIncludeDirectories="../include"
PreprocessorDefinitions="WIN32;NDEBUG;_LIB;WJE_DISTINGUISH_INTEGER_TYPE"
RuntimeLibrary="2"
EnableFunctionLevelLinking="true"
PreprocessorDefinitions="WIN32;_DEBUG;_LIB;WJE_DISTINGUISH_INTEGER_TYPE"
MinimalRebuild="true"
BasicRuntimeChecks="3"
RuntimeLibrary="3"
UsePrecompiledHeader="0"
WarningLevel="3"
DebugInformationFormat="3"
DisableSpecificWarnings="4996"
DisableSpecificWarnings="4996;4244;4018"
/>
<Tool
Name="VCManagedResourceCompilerTool"
Expand All @@ -131,7 +130,7 @@
/>
<Tool
Name="VCLibrarianTool"
OutputFile="$(IntDir)\$(ProjectName).lib"
OutputFile="$(IntDir)\$(ProjectName)d.lib"
/>
<Tool
Name="VCALinkTool"
Expand All @@ -150,11 +149,12 @@
/>
</Configuration>
<Configuration
Name="Debug|x64"
OutputDirectory="$(SolutionDir)$(PlatformName)\$(ConfigurationName)"
IntermediateDirectory="$(PlatformName)\$(ConfigurationName)"
Name="Release|Win32"
OutputDirectory="$(ProjectDir)VC90\$(PlatformName)\$(ConfigurationName)"
IntermediateDirectory="$(ProjectDir)VC90\$(PlatformName)\$(ConfigurationName)"
ConfigurationType="4"
CharacterSet="0"
WholeProgramOptimization="1"
>
<Tool
Name="VCPreBuildEventTool"
Expand All @@ -170,20 +170,20 @@
/>
<Tool
Name="VCMIDLTool"
TargetEnvironment="3"
/>
<Tool
Name="VCCLCompilerTool"
Optimization="0"
Optimization="2"
EnableIntrinsicFunctions="true"
WholeProgramOptimization="false"
AdditionalIncludeDirectories="../include"
PreprocessorDefinitions="WIN32;_DEBUG;_LIB;WJE_DISTINGUISH_INTEGER_TYPE"
MinimalRebuild="true"
BasicRuntimeChecks="3"
RuntimeLibrary="3"
PreprocessorDefinitions="WIN32;NDEBUG;_LIB;WJE_DISTINGUISH_INTEGER_TYPE"
RuntimeLibrary="2"
EnableFunctionLevelLinking="true"
UsePrecompiledHeader="0"
WarningLevel="3"
DebugInformationFormat="3"
DisableSpecificWarnings="4996"
DisableSpecificWarnings="4996;4244;4018"
/>
<Tool
Name="VCManagedResourceCompilerTool"
Expand All @@ -196,7 +196,7 @@
/>
<Tool
Name="VCLibrarianTool"
OutputFile="$(IntDir)\$(ProjectName)d.lib"
OutputFile="$(IntDir)\$(ProjectName).lib"
/>
<Tool
Name="VCALinkTool"
Expand All @@ -216,8 +216,8 @@
</Configuration>
<Configuration
Name="Release|x64"
OutputDirectory="$(SolutionDir)$(PlatformName)\$(ConfigurationName)"
IntermediateDirectory="$(PlatformName)\$(ConfigurationName)"
OutputDirectory="$(ProjectDir)VC90\$(PlatformName)\$(ConfigurationName)"
IntermediateDirectory="$(ProjectDir)VC90\$(PlatformName)\$(ConfigurationName)"
ConfigurationType="4"
CharacterSet="0"
WholeProgramOptimization="1"
Expand Down Expand Up @@ -250,7 +250,7 @@
UsePrecompiledHeader="0"
WarningLevel="3"
DebugInformationFormat="3"
DisableSpecificWarnings="4996"
DisableSpecificWarnings="4996;4244;4018"
/>
<Tool
Name="VCManagedResourceCompilerTool"
Expand Down

0 comments on commit 7769645

Please sign in to comment.