Skip to content

Commit

Permalink
Enable optimization for Release builds, speed up all builds
Browse files Browse the repository at this point in the history
  • Loading branch information
CaptainSwag101 committed Jan 15, 2018
1 parent 23facbc commit 68e71d8
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 12 deletions.
4 changes: 3 additions & 1 deletion 0CC-FamiTracker.reg
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ REGEDIT
; registered in your InitInstance automatically with a call to
; CWinApp::RegisterShellFileTypes and COleObjectFactory::UpdateRegistryAll.

HKEY_CLASSES_ROOT\.ftm = "0CC-FamiTracker Module"
HKEY_CLASSES_ROOT\.0cc = "0CC-FamiTracker Module"
HKEY_CLASSES_ROOT\0CCFamiTracker.Document\shell\open\command = 0CC-FamiTracker.EXE %1
HKEY_CLASSES_ROOT\0CCFamiTracker.Document\shell\open\ddeexec = [open("%1")]
Expand All @@ -12,5 +13,6 @@ HKEY_CLASSES_ROOT\0CCFamiTracker.Document\shell\open\ddeexec\application = 0CC-F
; (it defaults to the app name in "command")
HKEY_CLASSES_ROOT\0CCFamiTracker.Document = 0CC-FamiTracker Module

HKEY_CLASSES_ROOT\.fti = "0CC-FamiTracker Instrument"
HKEY_CLASSES_ROOT\.0ci = "0CC-FamiTracker Instrument"
HKEY_CLASSES_ROOT\0CCFamiTracker.Instrument = 0CC-FamiTracker Instrument
HKEY_CLASSES_ROOT\0CCFamiTracker.Instrument = 0CC-FamiTracker Instrument
8 changes: 0 additions & 8 deletions 0CC-FamiTracker.sln
Original file line number Diff line number Diff line change
Expand Up @@ -14,18 +14,14 @@ Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Win32 = Debug|Win32
Debug|x64 = Debug|x64
Debug|x86 = Debug|x86
Release|Win32 = Release|Win32
Release|x64 = Release|x64
Release|x86 = Release|x86
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{92FE0690-CE4F-4CCF-A52C-23265AE7429F}.Debug|Win32.ActiveCfg = Debug|Win32
{92FE0690-CE4F-4CCF-A52C-23265AE7429F}.Debug|Win32.Build.0 = Debug|Win32
{92FE0690-CE4F-4CCF-A52C-23265AE7429F}.Debug|x64.ActiveCfg = Debug|x64
{92FE0690-CE4F-4CCF-A52C-23265AE7429F}.Debug|x64.Build.0 = Debug|x64
{92FE0690-CE4F-4CCF-A52C-23265AE7429F}.Debug|x86.ActiveCfg = Debug|Win32
{92FE0690-CE4F-4CCF-A52C-23265AE7429F}.Debug|x86.Build.0 = Debug|Win32
{92FE0690-CE4F-4CCF-A52C-23265AE7429F}.Release|Win32.ActiveCfg = Release|Win32
{92FE0690-CE4F-4CCF-A52C-23265AE7429F}.Release|Win32.Build.0 = Release|Win32
{92FE0690-CE4F-4CCF-A52C-23265AE7429F}.Release|x64.ActiveCfg = Release|x64
Expand All @@ -35,14 +31,10 @@ Global
{F2AEFCB7-5232-4EC0-9418-40D777613E46}.Debug|Win32.Build.0 = Debug|Win32
{F2AEFCB7-5232-4EC0-9418-40D777613E46}.Debug|x64.ActiveCfg = Debug|x64
{F2AEFCB7-5232-4EC0-9418-40D777613E46}.Debug|x64.Build.0 = Debug|x64
{F2AEFCB7-5232-4EC0-9418-40D777613E46}.Debug|x86.ActiveCfg = Debug|Win32
{F2AEFCB7-5232-4EC0-9418-40D777613E46}.Debug|x86.Build.0 = Debug|Win32
{F2AEFCB7-5232-4EC0-9418-40D777613E46}.Release|Win32.ActiveCfg = Release|Win32
{F2AEFCB7-5232-4EC0-9418-40D777613E46}.Release|Win32.Build.0 = Release|Win32
{F2AEFCB7-5232-4EC0-9418-40D777613E46}.Release|x64.ActiveCfg = Release|x64
{F2AEFCB7-5232-4EC0-9418-40D777613E46}.Release|x64.Build.0 = Release|x64
{F2AEFCB7-5232-4EC0-9418-40D777613E46}.Release|x86.ActiveCfg = Release|Win32
{F2AEFCB7-5232-4EC0-9418-40D777613E46}.Release|x86.Build.0 = Release|Win32
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand Down
11 changes: 8 additions & 3 deletions 0CC-FamiTracker.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@
<UseOfAtl>false</UseOfAtl>
<PlatformToolset>v141_xp</PlatformToolset>
<CharacterSet>MultiByte</CharacterSet>
<WholeProgramOptimization>true</WholeProgramOptimization>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
Expand Down Expand Up @@ -128,7 +129,7 @@
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">true</LinkIncremental>
<OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Release\</OutDir>
<IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Release\</IntDir>
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" />
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</LinkIncremental>
<OutDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(Platform)\$(Configuration)\</OutDir>
<IntDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(Platform)\$(Configuration)\</IntDir>
<LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|x64'" />
Expand All @@ -144,10 +145,12 @@
<GenerateManifest>false</GenerateManifest>
<LibraryPath>$(VC_LibraryPath_x86);$(WindowsSDK_LibraryPath_x86);$(LibraryPath)</LibraryPath>
<IncludePath>$(VC_IncludePath);$(WindowsSdk_71A_IncludePath)</IncludePath>
<EnableManagedIncrementalBuild>true</EnableManagedIncrementalBuild>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<GenerateManifest>false</GenerateManifest>
<LibraryPath>$(VC_LibraryPath_x86);$(WindowsSDK_LibraryPath_x86);$(LibraryPath)</LibraryPath>
<EnableManagedIncrementalBuild>true</EnableManagedIncrementalBuild>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Template|Win32'">
<GenerateManifest>false</GenerateManifest>
Expand Down Expand Up @@ -175,12 +178,13 @@
<MinimalRebuild>false</MinimalRebuild>
<AdditionalIncludeDirectories>$(ProjectDir)libft0cc\include;$(DXSDK_DIR)\Include\;.\;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<ObjectFileName>obj/$(IntDir)/%(RelativeDir)</ObjectFileName>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<LanguageStandard>stdcpp17</LanguageStandard>
<MultiProcessorCompilation>false</MultiProcessorCompilation>
<WarningLevel>Level3</WarningLevel>
<EnforceTypeConversionRules>true</EnforceTypeConversionRules>
<FunctionLevelLinking>true</FunctionLevelLinking>
<ConformanceMode>true</ConformanceMode>
<DiagnosticsFormat>Caret</DiagnosticsFormat>
</ClCompile>
<ResourceCompile>
<PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
Expand Down Expand Up @@ -258,10 +262,10 @@
<WarningLevel>Level3</WarningLevel>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
<ObjectFileName>obj/$(IntDir)/%(RelativeDir)</ObjectFileName>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<LanguageStandard>stdcpp17</LanguageStandard>
<EnforceTypeConversionRules>true</EnforceTypeConversionRules>
<ConformanceMode>true</ConformanceMode>
<DiagnosticsFormat>Caret</DiagnosticsFormat>
</ClCompile>
<ResourceCompile>
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
Expand All @@ -282,6 +286,7 @@
</DataExecutionPrevention>
<TargetMachine>MachineX86</TargetMachine>
<GenerateDebugInformation>DebugFastLink</GenerateDebugInformation>
<LinkTimeCodeGeneration>UseLinkTimeCodeGeneration</LinkTimeCodeGeneration>
</Link>
<Manifest />
</ItemDefinitionGroup>
Expand Down

0 comments on commit 68e71d8

Please sign in to comment.