Permalink
Browse files

Added solution and project files for MSBuild 4.0 & VS2010

Config.vcxproj contains settings common to multiple projects and build
  configurations.  These settings appear in VS2010 as regular text (not
  bold), and if changed should affect only the current configuration.
  Use caution when changing settings which appear in bold - these may
  affect multiple configurations within the given project file.

Additional build configurations were added to simplify building with a
  specific CharacterSet.  Configurations with '(mbcs)' are MultiByte,
  ones with '(minimal)' are NotSet (these use the setting in config.h)
  and others are Unicode.  This can be overridden using MSBuild:

Build Release(minimal) as Unicode:
  MSBuild %sln% /p:Configuration=Release(minimal);CharacterSet=Unicode

Same effect, build Release (Unicode) with 'minimal' settings:
  MSBuild %sln% /p:Configuration=Release;ConfigMinSize=true
  • Loading branch information...
Lexikos committed Feb 7, 2010
1 parent 643d819 commit ed81ea089c223b46c883036c14454aa4386d3801
Showing with 752 additions and 0 deletions.
  1. +55 −0 AutoHotkeyx.sln
  2. +213 −0 AutoHotkeyx.vcxproj
  3. +215 −0 AutoHotkeyx.vcxproj.filters
  4. +100 −0 Config.vcxproj
  5. +97 −0 source/lib_pcre/lib_pcre.vcxproj
  6. +72 −0 source/lib_pcre/lib_pcre.vcxproj.filters
View
@@ -0,0 +1,55 @@
Microsoft Visual Studio Solution File, Format Version 11.00
# Visual C++ Express 2010
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "AutoHotkeyx", "AutoHotkeyx.vcxproj", "{76EFDEE3-81CF-4ADA-94DC-EA5509FF6FFC}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "lib_pcre", "source\lib_pcre\lib_pcre.vcxproj", "{39037993-9571-4DF2-8E39-CD2909043574}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug(mbcs)|Win32 = Debug(mbcs)|Win32
Debug|Win32 = Debug|Win32
Release(mbcs)|Win32 = Release(mbcs)|Win32
Release(minimal)|Win32 = Release(minimal)|Win32
Release|Win32 = Release|Win32
Self-contained(mbcs)|Win32 = Self-contained(mbcs)|Win32
Self-contained(minimal)|Win32 = Self-contained(minimal)|Win32
Self-contained|Win32 = Self-contained|Win32
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{76EFDEE3-81CF-4ADA-94DC-EA5509FF6FFC}.Debug(mbcs)|Win32.ActiveCfg = Debug(mbcs)|Win32
{76EFDEE3-81CF-4ADA-94DC-EA5509FF6FFC}.Debug(mbcs)|Win32.Build.0 = Debug(mbcs)|Win32
{76EFDEE3-81CF-4ADA-94DC-EA5509FF6FFC}.Debug|Win32.ActiveCfg = Debug|Win32
{76EFDEE3-81CF-4ADA-94DC-EA5509FF6FFC}.Debug|Win32.Build.0 = Debug|Win32
{76EFDEE3-81CF-4ADA-94DC-EA5509FF6FFC}.Release(mbcs)|Win32.ActiveCfg = Release(mbcs)|Win32
{76EFDEE3-81CF-4ADA-94DC-EA5509FF6FFC}.Release(mbcs)|Win32.Build.0 = Release(mbcs)|Win32
{76EFDEE3-81CF-4ADA-94DC-EA5509FF6FFC}.Release(minimal)|Win32.ActiveCfg = Release(minimal)|Win32
{76EFDEE3-81CF-4ADA-94DC-EA5509FF6FFC}.Release(minimal)|Win32.Build.0 = Release(minimal)|Win32
{76EFDEE3-81CF-4ADA-94DC-EA5509FF6FFC}.Release|Win32.ActiveCfg = Release|Win32
{76EFDEE3-81CF-4ADA-94DC-EA5509FF6FFC}.Release|Win32.Build.0 = Release|Win32
{76EFDEE3-81CF-4ADA-94DC-EA5509FF6FFC}.Self-contained(mbcs)|Win32.ActiveCfg = Self-contained(mbcs)|Win32
{76EFDEE3-81CF-4ADA-94DC-EA5509FF6FFC}.Self-contained(mbcs)|Win32.Build.0 = Self-contained(mbcs)|Win32
{76EFDEE3-81CF-4ADA-94DC-EA5509FF6FFC}.Self-contained(minimal)|Win32.ActiveCfg = Self-contained(minimal)|Win32
{76EFDEE3-81CF-4ADA-94DC-EA5509FF6FFC}.Self-contained(minimal)|Win32.Build.0 = Self-contained(minimal)|Win32
{76EFDEE3-81CF-4ADA-94DC-EA5509FF6FFC}.Self-contained|Win32.ActiveCfg = Self-contained|Win32
{76EFDEE3-81CF-4ADA-94DC-EA5509FF6FFC}.Self-contained|Win32.Build.0 = Self-contained|Win32
{39037993-9571-4DF2-8E39-CD2909043574}.Debug(mbcs)|Win32.ActiveCfg = Debug(mbcs)|Win32
{39037993-9571-4DF2-8E39-CD2909043574}.Debug(mbcs)|Win32.Build.0 = Debug(mbcs)|Win32
{39037993-9571-4DF2-8E39-CD2909043574}.Debug|Win32.ActiveCfg = Debug|Win32
{39037993-9571-4DF2-8E39-CD2909043574}.Debug|Win32.Build.0 = Debug|Win32
{39037993-9571-4DF2-8E39-CD2909043574}.Release(mbcs)|Win32.ActiveCfg = Release(mbcs)|Win32
{39037993-9571-4DF2-8E39-CD2909043574}.Release(mbcs)|Win32.Build.0 = Release(mbcs)|Win32
{39037993-9571-4DF2-8E39-CD2909043574}.Release(minimal)|Win32.ActiveCfg = Release(minimal)|Win32
{39037993-9571-4DF2-8E39-CD2909043574}.Release(minimal)|Win32.Build.0 = Release(minimal)|Win32
{39037993-9571-4DF2-8E39-CD2909043574}.Release|Win32.ActiveCfg = Release|Win32
{39037993-9571-4DF2-8E39-CD2909043574}.Release|Win32.Build.0 = Release|Win32
{39037993-9571-4DF2-8E39-CD2909043574}.Self-contained(mbcs)|Win32.ActiveCfg = Release(mbcs)|Win32
{39037993-9571-4DF2-8E39-CD2909043574}.Self-contained(mbcs)|Win32.Build.0 = Release(mbcs)|Win32
{39037993-9571-4DF2-8E39-CD2909043574}.Self-contained(minimal)|Win32.ActiveCfg = Release(minimal)|Win32
{39037993-9571-4DF2-8E39-CD2909043574}.Self-contained(minimal)|Win32.Build.0 = Release(minimal)|Win32
{39037993-9571-4DF2-8E39-CD2909043574}.Self-contained|Win32.ActiveCfg = Release|Win32
{39037993-9571-4DF2-8E39-CD2909043574}.Self-contained|Win32.Build.0 = Release|Win32
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal
View
@@ -0,0 +1,213 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<ProjectGuid>{76EFDEE3-81CF-4ADA-94DC-EA5509FF6FFC}</ProjectGuid>
<Keyword>Win32Proj</Keyword>
</PropertyGroup>
<PropertyGroup>
<TargetName>AutoHotkey</TargetName>
<ConfigurationType>Application</ConfigurationType>
</PropertyGroup>
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug|Win32">
<Configuration>Debug</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Debug(mbcs)|Win32">
<Configuration>Debug(mbcs)</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|Win32">
<Configuration>Release</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release(mbcs)|Win32">
<Configuration>Release(mbcs)</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release(minimal)|Win32">
<Configuration>Release(minimal)</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Self-contained|Win32">
<Configuration>Self-contained</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Self-contained(mbcs)|Win32">
<Configuration>Self-contained(mbcs)</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Self-contained(minimal)|Win32">
<Configuration>Self-contained(minimal)</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
</ItemGroup>
<!-- import common config -->
<Import Project="Config.vcxproj" />
<!-- platform: win32 -->
<ItemDefinitionGroup Condition="'$(Platform)'=='Win32'">
<ClCompile>
<PreprocessorDefinitions>WIN32;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<TerminalServerAware>false</TerminalServerAware>
<DataExecutionPrevention>false</DataExecutionPrevention>
<RandomizedBaseAddress>false</RandomizedBaseAddress>
</Link>
</ItemDefinitionGroup>
<!-- paths and basic settings -->
<PropertyGroup>
<IntDir>temp\$(Configuration)\</IntDir>
<OutDir>bin\Release\</OutDir>
<OutDir Condition="$(ConfigDebug)">bin\Debug\</OutDir>
<OutDir Condition="$(ConfigMinSize)">bin\Minimal\</OutDir>
<OutDir Condition="'$(CharacterSet)'=='Unicode' OR '$(CharacterSet)'=='MultiByte'">$(OutDir)$(CharacterSet)\</OutDir>
</PropertyGroup>
<ItemDefinitionGroup>
<ClCompile>
<PrecompiledHeader Condition="!$(ConfigDebug)">Use</PrecompiledHeader>
</ClCompile>
<Link>
<OutputFile>$(OutDir)$(TargetName)$(TargetExt)</OutputFile>
<TargetMachine>MachineX86</TargetMachine>
<StackReserveSize>4194304</StackReserveSize>
<AdditionalDependencies>wsock32.lib;winmm.lib;version.lib;comctl32.lib;%(AdditionalDependencies)</AdditionalDependencies>
</Link>
<Manifest>
<AdditionalManifestFiles>source\resources\AutoHotkey.exe.manifest;%(AdditionalManifestFiles)</AdditionalManifestFiles>
</Manifest>
</ItemDefinitionGroup>
<!-- self-contained: required settings -->
<PropertyGroup Condition="$(ConfigSC)">
<TargetName>AutoHotkeySC</TargetName>
<TargetExt>.bin</TargetExt>
</PropertyGroup>
<ItemDefinitionGroup Condition="$(ConfigSC)">
<ClCompile>
<PreprocessorDefinitions>AUTOHOTKEYSC;%(PreprocessorDefinitions)</PreprocessorDefinitions>
</ClCompile>
<ResourceCompile>
<PreprocessorDefinitions>AUTOHOTKEYSC;%(PreprocessorDefinitions)</PreprocessorDefinitions>
</ResourceCompile>
<Link>
<AdditionalDependencies>$(ProjectDir)source\lib\exearc_read_mt.lib;%(AdditionalDependencies)</AdditionalDependencies>
</Link>
<PostBuildEvent>
<Message>Removing CheckSum from $(TargetFileName) so Ahk2Exe doesn't complain</Message>
<Command>"$(ProjectDir)PostBuildSC.ahk" "$(TargetPath)"</Command>
</PostBuildEvent>
</ItemDefinitionGroup>
<!-- upx compression: Release -->
<PropertyGroup>
<UpxPath Condition="'$(UpxPath)'=='' AND exists('upx.exe')">upx.exe</UpxPath>
<UpxPath Condition="'$(UpxPath)'=='' AND exists('..\upx.exe')">..\upx.exe</UpxPath>
</PropertyGroup>
<ItemDefinitionGroup Condition="$(ConfigRelease)">
<PostBuildEvent>
<Command>echo upx.exe disabled or not found, skipping compression</Command>
<Command Condition="exists('$(UpxPath)')">$(UpxPath) --best --no-lzma --filter=73 --compress-icons=0 "$(TargetPath)" &amp; exit 0</Command>
</PostBuildEvent>
</ItemDefinitionGroup>
<!-- Visual C++ 2010 should place any newly created properties in these groups -->
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release(mbcs)|Win32'" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release(minimal)|Win32'" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Self-contained|Win32'" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Self-contained(mbcs)|Win32'" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Self-contained(minimal)|Win32'" />
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" />
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" />
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release(mbcs)|Win32'" />
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release(minimal)|Win32'" />
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Self-contained|Win32'" />
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Self-contained(mbcs)|Win32'" />
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Self-contained(minimal)|Win32'" />
<!-- FILES -->
<ItemGroup>
<ClCompile Include="source\application.cpp" />
<ClCompile Include="source\AutoHotkey.cpp" />
<ClCompile Include="source\clipboard.cpp" />
<ClCompile Include="source\Debugger.cpp" />
<ClCompile Include="source\globaldata.cpp" />
<ClCompile Include="source\hook.cpp" />
<ClCompile Include="source\hotkey.cpp" />
<ClCompile Include="source\keyboard_mouse.cpp" />
<ClCompile Include="source\mt19937ar-cok.cpp" />
<ClCompile Include="source\os_version.cpp" />
<ClCompile Include="source\script.cpp" />
<ClCompile Include="source\script2.cpp" />
<ClCompile Include="source\script_autoit.cpp" />
<ClCompile Include="source\script_expression.cpp" />
<ClCompile Include="source\script_gui.cpp" />
<ClCompile Include="source\script_menu.cpp" />
<ClCompile Include="source\script_object.cpp" />
<ClCompile Include="source\script_object_bif.cpp" />
<ClCompile Include="source\script_registry.cpp" />
<ClCompile Include="source\SimpleHeap.cpp" />
<ClCompile Include="source\stdafx.cpp">
<PrecompiledHeader>Create</PrecompiledHeader>
</ClCompile>
<ClCompile Include="source\StringConv.cpp" />
<ClCompile Include="source\TextIO.cpp" />
<ClCompile Include="source\util.cpp" />
<ClCompile Include="source\var.cpp" />
<ClCompile Include="source\window.cpp" />
<ClCompile Include="source\WinGroup.cpp" />
</ItemGroup>
<ItemGroup>
<ClInclude Include="source\application.h" />
<ClInclude Include="source\clipboard.h" />
<ClInclude Include="source\config.h" />
<ClInclude Include="source\debug.h" />
<ClInclude Include="source\Debugger.h" />
<ClInclude Include="source\defines.h" />
<ClInclude Include="source\lib\exearc_read.h" />
<ClInclude Include="source\globaldata.h" />
<ClInclude Include="source\hook.h" />
<ClInclude Include="source\hotkey.h" />
<ClInclude Include="source\keyboard_mouse.h" />
<ClInclude Include="source\KuString.h" />
<ClInclude Include="source\mt19937ar-cok.h" />
<ClInclude Include="source\os_version.h" />
<ClInclude Include="source\lib_pcre\pcre\pcre.h" />
<ClInclude Include="source\qmath.h" />
<ClInclude Include="source\resources\resource.h" />
<ClInclude Include="source\script.h" />
<ClInclude Include="source\script_object.h" />
<ClInclude Include="source\SimpleHeap.h" />
<ClInclude Include="source\stdafx.h" />
<ClInclude Include="source\StringConv.h" />
<ClInclude Include="source\TextIO.h" />
<ClInclude Include="source\util.h" />
<ClInclude Include="source\var.h" />
<ClInclude Include="source\window.h" />
<ClInclude Include="source\WinGroup.h" />
</ItemGroup>
<ItemGroup>
<None Include="source\resources\AutoHotkey.exe.manifest" />
<None Include="source\resources\icon_filetype.ico" />
<None Include="source\resources\icon_main.ico" />
<None Include="source\resources\icon_pause.ico" />
<None Include="source\resources\icon_pause_suspend.ico" />
<None Include="source\resources\icon_suspend.ico" />
<None Include="source\resources\icon_tray_win9x.ico" />
<None Include="source\resources\icon_tray_win9x_suspend.ico" />
<None Include="source\misc\function_order_for_linker_optimization.txt" />
</ItemGroup>
<ItemGroup>
<ResourceCompile Include="source\resources\AutoHotkey.rc" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="source\lib_pcre\lib_pcre.vcxproj">
<Project>{39037993-9571-4DF2-8E39-CD2909043574}</Project>
<ReferenceOutputAssembly>false</ReferenceOutputAssembly>
<Private>false</Private>
<CopyLocalSatelliteAssemblies>false</CopyLocalSatelliteAssemblies>
<LinkLibraryDependencies>true</LinkLibraryDependencies>
<UseLibraryDependencyInputs>false</UseLibraryDependencyInputs>
</ProjectReference>
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
</Project>
Oops, something went wrong.

0 comments on commit ed81ea0

Please sign in to comment.