diff --git a/docs/msw/install.md b/docs/msw/install.md index 1ec18d7943..2c5f592889 100644 --- a/docs/msw/install.md +++ b/docs/msw/install.md @@ -529,8 +529,15 @@ Building Applications Using wxWidgets {#msw_build_apps} ===================================== If you use MSVS 2010 or later IDE for building your project, simply add -`wxwidgets.props` property sheet to (all) your project(s) using wxWidgets. -You don't need to do anything else. +`wxwidgets.props` property sheet to (all) your project(s) using wxWidgets +by using "View|Property Manager" menu item to open the property manager +window and then selecting "Add Existing Property Sheet..." from the context +menu in this window. + +If you've created a new empty project (i.e. chose "Empty Project" in the +"Create a new project" window shown by MSVS rather than "Windows Desktop"), +you need to change "Linker|System|SubSystem" in the project properties to +"Windows", from the default "Console". You don't need to do anything else. If you want to use CMake for building your project, please see @ref overview_cmake. diff --git a/wxwidgets.props b/wxwidgets.props index 074d6b8a30..61bc05cfbd 100644 --- a/wxwidgets.props +++ b/wxwidgets.props @@ -3,28 +3,127 @@ This is a property sheet to be included in MSVS projects of the applications using wxWidgets. Use "View|Property Manager" and choose "Add Existing Property Sheet..." from the context menu to add it from the IDE or edit your - .vcxproj file directly and add + .vcxproj file directly and add tag to it. --> - + - + + + + 100 + 110 + 120 + 140 + 141 + 142 + + 100 + 110 + 120 + 14x + 14x + 14x + + + + + + + 1 + 1 + $(MSBuildThisFileDirectory)lib\vc$(wxToolsetVerABICompat)$(wxArchSuffix)_dll$(wxCfg) + + + + + + 1 + 1 + $(MSBuildThisFileDirectory)lib\vc$(wxToolsetVerABICompat)$(wxArchSuffix)_lib$(wxCfg) + + + + + + 1 + 1 + $(MSBuildThisFileDirectory)lib\vc$(wxToolsetVersion)$(wxArchSuffix)_dll$(wxCfg) + + + + + + 1 + 1 + $(MSBuildThisFileDirectory)lib\vc$(wxToolsetVersion)$(wxArchSuffix)_lib$(wxCfg) + + + + + + 1 + $(MSBuildThisFileDirectory)lib\vc$(wxArchSuffix)_dll$(wxCfg) + + + + + + 1 + $(MSBuildThisFileDirectory)lib\vc$(wxArchSuffix)_lib$(wxCfg) + + + + + + wxMSVC_VERSION_AUTO;wxMSVC_VERSION_ABI_COMPAT + + + + wxMSVC_VERSION_AUTO + + + WXUSINGDLL + + + + + - __WXMSW__;$(wxUsingDllDefine);%(PreprocessorDefinitions) + __WXMSW__;$(wxUsingDllDefine);$(wxVersionDefine);%(PreprocessorDefinitions) $(MSBuildThisFileDirectory)include\msvc;$(MSBuildThisFileDirectory)include;%(AdditionalIncludeDirectories) __WXMSW__;$(wxUsingDllDefine);%(PreprocessorDefinitions) - $(MSBuildThisFileDirectory)lib\$(wxOutDirName)\$(wxToolkitPrefix)$(wxSuffix);$(MSBuildThisFileDirectory)include;%(AdditionalIncludeDirectories) + $(wxLibOrDllDir)\$(wxToolkitPrefix)$(wxSuffix);$(MSBuildThisFileDirectory)include;%(AdditionalIncludeDirectories) - $(MSBuildThisFileDirectory)lib\$(wxOutDirName);%(AdditionalLibraryDirectories) + $(wxLibOrDllDir);%(AdditionalLibraryDirectories)